This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdbserver: don't pick a random thread if the current thread dies
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: palves at redhat dot com (Pedro Alves)
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 24 Aug 2015 19:08:00 +0200 (CEST)
- Subject: Re: [PATCH] gdbserver: don't pick a random thread if the current thread dies
- Authentication-results: sourceware.org; auth=none
Pedro Alves wrote:
> On 08/24/2015 04:30 PM, Pedro Alves wrote:
>
> > I guess lwpid_of would be a little better even.
>
> I went ahead a pushed this bit in, like below. Build-tested on
> the gcc110 ppc64 machine on the GCC compile farm.
>
> The fix for the crash will follow.
Thanks!
I'll go ahead and run a test on Cell once the fix is in ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com