[parisc-linux] Re: [PATCH] Fix debugging interface for nptl
Carlos O'Donell
carlos at systemhalted.org
Fri Jul 13 14:12:49 MDT 2007
On 7/12/07, Randolph Chung <tausq at debian.org> wrote:
> Jeff mentioned recently that with a NPTL-enabled glibc, gdb debugging of
> any threaded app fails. For example:
>
> (gdb) run
> Starting program: /home/tausq/userspace/thread_test2
> [Thread debugging using libthread_db enabled]
> Error while reading shared library symbols:
> find_new_threads_callback: cannot get thread info: generic error
>
> Two fixes, one in glibc and one in gdb, are required to fix this. The
> attached patch is the glibc portion.
>
> 2007-07-12 Randolph Chung <tausq at debian.org>
>
> * sysdeps/hppa/nptl/tls.h (DB_THREAD_SELF): Fix definition.
>
> Please apply if ok.
Randolph,
Thanks, I'll test this and check it in if everything is OK.
Cheers,
Carlos.
More information about the parisc-linux
mailing list