This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix failure to detach if threads exit while detaching on linux
- From: Pedro Alves <palves at redhat dot com>
- To: Antoine Tremblay <antoine dot tremblay at ericsson dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 3 Jun 2016 13:05:18 +0100
- Subject: Re: [PATCH] Fix failure to detach if threads exit while detaching on linux
- Authentication-results: sourceware.org; auth=none
- References: <1464876960-23372-1-git-send-email-antoine dot tremblay at ericsson dot com> <eec651c9-0916-be62-5822-6486209423e2 at redhat dot com> <wwok8tymv64h dot fsf at ericsson dot com>
On 06/03/2016 12:55 PM, Antoine Tremblay wrote:
> I did that because I though they could not detach...
>
> Any suggestion on how to limit this to targets that can detach ?..
I have trouble thinking of a target that wouldn't be able to detach.
And then it'd have to be a target that supports pthreads, otherwise
the test won't even run.
> call detach see if it suceeds or there's a better way ?
Right. But I'd just start by assuming it works. Just make
sure that --target_board=native-gdbserver passes.
Thanks,
Pedro Alves