gdb doesn't show all threads, but gdbserver does

N. van Bolhuis nvbolhuis@aimvalley.nl
Tue Jan 20 20:18:00 GMT 2009


Paul Pluzhnikov wrote:
> On Mon, Jan 19, 2009 at 11:28 PM, Norbert van Bolhuis
> <nvbolhuis@aimvalley.nl> wrote:
> 
>> # cat /proc/920/status
> 
> What did you hope to find from status?
> 

proof that 7 threads are really there.

> What you really want is /proc/919/maps: this will show whether
> libthread_db.so.1 was loaded into gdb, and if so, which one.
> 
> It should be the same as the one which shows up in
> 'ldd gdbserver' output.
> 

In fact I did just that. I didn't mention it since it's there
(libthread_db.so.1 is loaded into gdb) so this is not the issue.




More information about the Gdb mailing list