This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: gdb doesnt show nptl threads


On Wed, Jun 11, 2008 at 12:19 AM, Srinivas Murthy <codevana@gmail.com> 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?

Unlikely, but one thing that could explain this is the glibc you're
using is a hand-made one installed in some place other than /lib64.
gdb will only look for libthread_db in a few specific places.

A copy of the session log from the start up until the error could help
diagnosis.


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