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: pthread_t ids of threads not showed by "thread info"


On Mon, 26 Apr 2010 13:07:18 +0200, Stefano Sabatini wrote:
> On Monday 2010-04-26 11:03:57 +0200, Jan Kratochvil wrote:
> > On Mon, 26 Apr 2010 10:38:09 +0200, Stefano Sabatini wrote:
> > readelf -wi /usr/lib/debug/lib64/libpthread.so.0.debug
> > [ formatted a bit ]
> >  <1><9304>: Abbrev Number: 111 (DW_TAG_variable)
> >     <9305>   DW_AT_name        : (indirect string, offset: 0x300b): __stack_user
> >     <930f>   DW_AT_type        : <0x461b>
> >     <9313>   DW_AT_external    : 1
> >     <9314>   DW_AT_location    : 9 byte block: 3 80 b2 21 0 0 0 0 0     (DW_OP_addr: 21b280)
> >  <1><461b>: Abbrev Number: 3 (DW_TAG_typedef)
> >     <461c>   DW_AT_name        : (indirect string, offset: 0x7f8): list_t
...
> > If Debian GDB cannot find the symbols guessing Debian probably has more light
> > (smaller) debug info packages.
> 
> Can you suggest a command I can use to check this?

It was that "readelf -wi" command above, with some appropriate path to your
libpthread separate debug info file.  Search in its output for appropriate
definitions (which should be obvious without reading the DWARF documentation).


Regards,
Jan


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