This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: debugging multi threaded application
- From: Michael Snyder <msnyder at specifix dot com>
- To: Mudeem Siddiqui <mudeem at quartics dot com>
- Cc: gdb at sourceware dot org
- Date: Thu, 08 May 2008 11:45:56 -0700
- Subject: Re: debugging multi threaded application
- References: <87A697E50899F541B77272C331CEB7440169E37F@exchange.Q-DOMAIN>
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.