[PATCH 0/2] GNU/Linux: Stop using libthread_db/td_ta_thr_iter

Pedro Alves palves@redhat.com
Fri Feb 20 21:46:00 GMT 2015


On 02/08/2015 07:10 PM, Pedro Alves wrote:
> This one made me scratch my head for a while.  My
> all-stop-on-top-of-non-stop series was causing odd GDB hangs.  Turned
> out to be that we can't use libthread_db/td_ta_thr_iter when threads
> are running.  This series stops GDB from using it altogether, when
> debugging live programs.
>
> The second patch is the real deal.  The first patch fixes latent bugs
> that the second patch's test exposed, though after the second patch,
> the buggy function won't be used on modern system anymore...
>
> Pedro Alves (2):
>   linux-nat.c: fix a few lin_lwp_attach_lwp issues
>   GNU/Linux: Stop using libthread_db/td_ta_thr_iter

I've pushed this in now.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list