gdb doesnt show nptl threads

Daniel Jacobowitz drow@false.org
Wed Jun 11 12:08:00 GMT 2008


On Wed, Jun 11, 2008 at 12:19:41AM -0700, Srinivas Murthy wrote:
> Hi,
> I have the following setup:
>  gdb6.6 built using a 64b glibc w/ nptl enabled
>  64b glibc - 2.3.6 (nptl enabled)
> 
> When I use gdb on a sample multi-threaded (nptl) app, I cant get any
> thread specific gdb cmds to work.
> 
> For ex. info threads shows only one thread (the main thread).
> 
> Any idea what might be going wrong?

Sometimes this means ld.so or libpthread.so was stripped.  GDB needs
to look up a few symbols from them.

Also, try GDB 6.8.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list