Raphael Bossek wrote: > > 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.
Hmm, I'm suprised that gdb has this problem, it seems like it might make more sense if it resulved the symlinks and then looked for the debug file matching the library they pointed to. Your patch to make it just copy the symlinks into the debug directory does look good, but I'd like to hear from Dan first and make sure that this is not a gdb bug and that we really need to do this. -- see shy jo
signature.asc
Description: Digital signature

