This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Clarify shared library warning
> Date: Wed, 11 Oct 2006 22:52:31 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: Daniel Jacobowitz <drow@false.org>, mark.kettenis@xs4all.nl, gdb-patches@sourceware.org
>
> > This doesn't mention the problem with the library version, which to me
> > is a very important clue. I think version mismatch is a much more
> > likely problem than a library mismatch.
>
> But two libraries with the exact same version number may not necessarily
> be the same.
How about this, then:
warning: .dynamic section for "/lib/libc.so.6" is not at the expected address
(wrong library or library version mismatch?)
> In any case, I agree with Mark that an addition to the manual is
> more important than trying to cover every possible sources for this
> discrepency in a highly skilfully crafted short message.
I agree, but many users don't bother to look up the message in the
manual, so I think we should make it as clear as possible.