This is the mail archive of the gdb@sources.redhat.com 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]

pthread_db innitializing error


Hi:

I am fighting problems I have when trying to remotely debug multithreaded 
applications.

The host machine's solib-absolute-prefix is messed up, so when I start I set 
the solib search path to look for libraries at the right places (it was 
looking at /lib/i686 instead of just in /lib). Then after hitting a breakpoint 
I need to issue shared to load the libararies.

At this point on the target terminal I see this (the application is a 
multithreaded toy example):

[localhost ~/src/c/threads]$ ~/.local/src/gdb-5.3/gdb/gdbserver/gdbserver 
:7000 hello_world_thread
Process hello_world_thread created; pid = 2486
Remote debugging from host 192.168.66.59
gdb: error initializing thread_db library.
gdb: error initializing thread_db library.
gdb: error initializing thread_db library.

Anybody with ideas why I am getting the error?

Both host and target are IA32 RedHat 8.0s.

Thanks,
Nik


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