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: Q: GDB - Threads


On Tue, Jun 2, 2009 at 11:34 AM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:

> I guess then OP needs to verify that GDB is loading symbols from expected
> libpthread ("set verbose on" should show that), and that gdbserver on target
> is loading expected libthread_db ("ldd gdbserver" on target should show
> that).

Oh, and one very common mistake is to strip libpthread before it is uploaded
to target. Make sure libpthread *on target* has not been stripped. In
particular, it should have some local *_version symbol.

Cheers,
-- 
Paul Pluzhnikov


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