This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Cross-platform, multithreaded debugging (x86 to ARM) with gdb and gdbserver not recognizing threads
- From: Paul Pluzhnikov <ppluzhnikov at google dot com>
- To: Jason Machacek <jmachacek at stratos dot com>
- Cc: gdb at sourceware dot org
- Date: Wed, 16 Dec 2009 20:44:27 -0800
- Subject: Re: Cross-platform, multithreaded debugging (x86 to ARM) with gdb and gdbserver not recognizing threads
- References: <597A11B8CF75534EBE76656E186BF106E0135E@stella.stratos.local>
On Wed, Dec 16, 2009 at 3:01 PM, Jason Machacek <jmachacek@stratos.com> wrote:
>?Can anyone help me figure out why I'm unable to get
> gdb/gdbserver to work properly with my target?
A couple of questions:
- Does gdbserver config.log mention libthread_db.so, and if so, which one?
- Does ldd gdbserver on target show libthread_db.so, and if so, is the
right one? (Should come from the same compilation from which libc.so.6
and libpthread.so.0 came.)
- Is libpthread.so.0 on target stripped?
Most of the "SIG32" problems come from stripped libpthread.so.0 or
libpthread/libthread_db mismatch.
Good luck!
--
Paul Pluzhnikov