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]

gdbserver couldn't find thread library


I am debugging a multi-threaded program using
gdbserver. The function call to td_ta_new in
thread_db_init() (in thread_db.c) returns
TD_NOLIBTHREAD. And the program does not run properly
afterwards.

However, when I debug the same program locally using
gdb, it works fine. The gdb displays the following
message during start up.

Using host libthread_db library
"/lib/tls/libthread_db.so.1"

Since this is a UI program, running gdb locally
doesn't work. I would like to use the gdbserver. It
seems that I need to point gdbserver to the above
location for the thread library. Could someone tell me
how to do that?

Thanks,

Frank 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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