This is the mail archive of the gdb@sources.redhat.com 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: turn off thread support?


On Mon, Jan 12, 2004 at 06:12:36PM -0500, Daniel Jacobowitz wrote:
> Right now, neither easily.  But if you LD_PRELOAD a different
> libthread_db.so.1, then dlopen will use the one you gave it;

Good to know.  Of course, libthread_db hasn't actually been ported
to this target yet, so I have no confidence it'll work.

> I imagine that if you LD_PRELOAD a dummy library with that soname, then
> the failed dlsym() calls will cause GDB to disable thread handling.

That's an interesting idea...


r~


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