This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Clarify shared library warning
> 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. The last time I've had this problem was a few weeks ago
when a customer of ours sent us a core file. Same system version number
(HP/UX), same shared library version number, and yet different code.
That's why I think it's important to say "wrong shared library".
I actually read "version" in the original proposal as "instance" more
than "number". Isn't that interesting?
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 am very
happy with the warning, no matter how it tries to say it.
--
Joel