This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
debugging multi threaded application
- From: "Mudeem Siddiqui" <mudeem at quartics dot com>
- To: <gdb at sourceware dot org>
- Date: Wed, 7 May 2008 18:16:15 -0700
- Subject: debugging multi threaded application
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.
Thanks
Mudeem