Hi Joey,

> Let me make sure I understand because your bug report is not very
> clear. These symlinks your referring to need to be in /usr/lib/debug
> so that gdb will find the debugging symbols to match the shared
> library?
Yes.

> Can you give a real-life example please?
The libxerces1 package where this files exists:

/usr/lib/libxerces1.so.1.7 -> libxerces1.so.1.7.0
/usr/lib/libxerces1.so.1.7.0 (SONAME libxerces1.so.1.7)

GDB try to load /usr/lib/debug/usr/lib/libxerces1.so.1.7 as specified
by SONAME. The symlink is required to get the /usr/lib/debug variant
of file to get loaded. The fallback is to /usr/lib/libxerces1.so.1.7
which does not contain the symbolic information.

-- 
Raphael Bossek

Attachment: pgpwbmVq6Zg5J.pgp
Description: PGP signature

Reply via email to