This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: gdb on fc6, gdbserver on rh62, which libthread_db.so do i use on which platform?


On Fri, Dec 29, 2006 at 09:33:39AM -0800, John Utz wrote:
> gdb indicates that my application is segfaulting, and based on googling
> and finding my *own* email from 2004 and danielj's response, I know that
> I need to have matching libthread_db's on both sides of the wire.
> 
> *which* libthread_db?

That's incorrect.  You need matching _libraries_ - that's the libraries
used by your program, not the libraries used by GDB.  The gdb client
will never look at its libthread_db.

On your target, you should have the libthread_db that came with the
libpthread you're using.  On the host, you should have a complete
filesystem image of the target.  Use solib-absolute-prefix to point to
it.

I really need to write a section about this in the manual.

-- 
Daniel Jacobowitz
CodeSourcery

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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