Q: GDB - Threads

Daniel Jacobowitz drow@false.org
Tue Jun 2 19:34:00 GMT 2009


On Tue, Jun 02, 2009 at 11:34:40AM -0700, Paul Pluzhnikov wrote:
> On Tue, Jun 2, 2009 at 11:17 AM, Daniel Jacobowitz <drow@false.org> wrote:
> 
> > GDB never uses libthread_db on the host
> > if it is debugging a remote target.
> 
> Oops. Sorry, my mistake.
> 
> 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).

Right.  I don't remember if gdbserver's debug output helps with this
or not.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list