Re: [PATCH] Fix debugging interface for nptl

"Carlos O'Donell" <[email protected]> Fri, 13 Jul 2007 16:12:49 -0400
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
On 7/12/07, Randolph Chung <[email protected]> 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  <[email protected]>
>
>         * 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.