This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb debugging threads help
- From: Jim Blandy <jimb at red-bean dot com>
- To: teresa dot rivas at cadenux dot com
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 17 Nov 2005 17:19:53 -0800
- Subject: Re: gdb debugging threads help
- References: <1132274170.32154.20.camel@localhost.localdomain>
On 11/17/05, Teresa Rivas <teresa.rivas@cadenux.com> wrote:
> I see there is a thread-db.o target on the gdb/Makefile file but I can't
> configure gdb so it execute this thread-db.o target which I believe add
> the gdb debbug thread support.
I haven't used gdbserver much, but I can at least tell you not to
worry about thread-db.o. That's not appropriate for cross-debugging
configurations; it's only used for native debugging. That file acts
as the interface between GDB and the libthread_db.so provided by the
operating system; when cross-debugging, it's gdbserver that needs to
link against the libthread_db.so, not GDB.