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: debugging multi threaded application


On Wed, 2008-05-07 at 18:16 -0700, Mudeem Siddiqui wrote:
> Hi,
>  
> I am trying to debug a multithreaded application using gdbserver and
> gdb. I crossed compiled gdb with --enable-threads option. When I start
> the debugger on the host i don't get the print "Using host libthread_db
> library". and when I conenct the debugger to remote target I get
>  
> [New Thread 127]
> 0x00000000 in ?? ()
> 
> I am also not able to get any info using info threads. I have set
> LD_LIBRARY_PATH. I have also tried giving the path of the libthread_db
> at the host gdb
>  
> set solib-search-path ../../root/lib
> set solib-absolute-prefix ../../root/lib
> 
> Any pointers what I might be missing. 

We need to know more about your host and target machines, 
operating systems, and how gdb and gdbserver were configured.




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