This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: (linux/threads) Interesting side-effect of "auto-solib-add 0"
On Tue, Sep 12, 2006 at 08:45:18PM -0700, Joel Brobecker wrote:
> I have been thinking about that, but there were several little factors
> that made me reconsider. The one that I didn't like the most was the
> fact that the only way I could see to detect the pthread library being
> loaded is by looking at its name. It doesn't feel very elegant to have
> to search for "/libpthread.so" or somesuch in GDB. I don't know very
> well how GNU/Linux distributions are made, but couldn't that library
> be named libpthread-1.8.0.so, for instance, making its identification
> harder?
Well, if you wanted to be that precise about it, you could do it by
SONAME. But I think matching libpthread wouldn't be that bad of a
hack.
> 2. Document the limitation (Eli also agreed with the idea)
Let's go with this for now then.
--
Daniel Jacobowitz
CodeSourcery