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 02, 2009 at 09:41:19AM -0700, Paul Pluzhnikov wrote:
> > Both libs have been build on the same system.. (buildroot)..
> > Even started from scratch....
> > 88 -rw-r--r--  1 noel noel  82178 2009-06-02 16:23 libpthread-0.9.30.1.so
> > 16 -rw-r--r--  1 noel noel  13171 2009-06-02 16:23 libthread_db-0.9.30.1.so
> 
> The identical time stamp implies that these were both installed at the
> same time, which means they are both built for *target*.
> 
> But you need an identical libthread_db built for *host*.
> 
> This is because GDB (on host) will try to dlopen() libthread_db (which
> helps it debug *target* libpthread).

I'm not sure what you mean.  GDB never uses libthread_db on the host
if it is debugging a remote target.

-- 
Daniel Jacobowitz
CodeSourcery


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