This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] PR threads/20743: Don't attempt to suspend or resume exited threads.
- From: Pedro Alves <palves at redhat dot com>
- To: John Baldwin <jhb at FreeBSD dot org>, gdb-patches at sourceware dot org
- Date: Tue, 18 Apr 2017 12:33:34 +0100
- Subject: Re: [PATCH v2] PR threads/20743: Don't attempt to suspend or resume exited threads.
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=palves at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com EE9A280F90
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com EE9A280F90
- References: <20170404173258.6512-1-jhb@FreeBSD.org>
On 04/04/2017 06:32 PM, John Baldwin wrote:
> When resuming a native FreeBSD process, ignore exited threads when
> suspending/resuming individual threads prior to continuing the process.
>
> gdb/ChangeLog:
>
> PR threads/20743
> * fbsd-nat.c (resume_one_thread_cb): Remove.
> (resume_all_threads_cb): Remove.
> (fbsd_resume): Use ALL_NON_EXITED_THREADS instead of
> iterate_over_threads.
LGTM. OK for master and 8.0.
Thanks,
Pedro Alves