thread debugging problem

Andrew Cagney ac131313@redhat.com
Sun Sep 14 23:48:00 GMT 2003


>> > 
>> > Trustix is small firewall/gateway dist, http://www.trustix.net/
>> > 
>> > A sample gdb session, I do not see any message about libthread_db
> 
>> though.
>> 
>> Does trustix even ship /lib/libthread_db.so.1?  If not, thread
>> debugging won't work.
> 
> 
> Yes, i have libthread_db_so.1 in /lib

But GDB isn't loading it :-(  If it was (with a current [native] GDB) 
you would see a message indicating it had been loaded.

Suggest checking that your gdb includes thread-db.o:thread_db_load, set 
a breakpoint on that and see what happens.

Andrew




More information about the Gdb mailing list