This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix debugging interface for nptl


On 7/12/07, Randolph Chung <tausq@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@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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]