[RFA] Fix crash on Linux 2.4 when threaded program exits
Joel Brobecker
brobecker@adacore.com
Wed Apr 1 18:58:00 GMT 2009
> > 2009-04-01 Joel Brobecker <brobecker@adacore.com>
> >
> > * linux-nat.c (linux_nat_filter_events): Do not delete the lwp if
> > this is the last one.
> Yes, this is OK.
Thanks :)
> The comments about ntpl and thread exit notifications on nptl
> are confusing to a reader considering Linux 2.6. They could do
> with a:
>
> s/In the nptl thread model/In the nptl thread model on Linux 2.4/.
>
> wait_lwp does mention this 2.4 + backported nptl artifact explicitly.
That's a good suggestion. Attached is the patch I ended checking in.
Thanks for the quick review,
--
Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thread-24.diff
Type: text/x-diff
Size: 1975 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20090401/d8ba09de/attachment.bin>
More information about the Gdb-patches
mailing list