This is the mail archive of the libc-help@sourceware.org mailing list for the glibc 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: Version mismatch libpthread/libthread_db


On Thu, Jul 9, 2009 at 11:51 AM, Ryan Arnold<ryan.arnold@gmail.com> wrote:
> As a work around I've used the new Glibc's loader to invoke gdb
> because this sets the relative prefix directory for GDB correctly. ?In
> a cross environment you'd have to have a native (to the local machine)
> GLIBC built so you could use it's loader to invoke the cross-GDB, and
> this doesn't seem like a good work around in that case.

Doesn't it work to preload libpthread_db.so using LD_PRELOAD?

I preload the new libpthread_db.so when doing debugging with a new glibc.

Cheers,
Carlos.


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