Shared libraries and separate debugging files

Jan Kratochvil jan.kratochvil@redhat.com
Thu Aug 25 20:31:00 GMT 2011


On Thu, 25 Aug 2011 21:20:32 +0200, Worley, Dale R (Dale) wrote:
> So /lib/libc-2.11.2.so
> has been copied into /home/foo/crash1/lib/libc-2.11.2.so, and its
> debug file is in /home/foo/crash1/usr/lib/debug/lib/libc-2.11.2.so.
> But there does not appear to be a way to configure GDP to understand
> the connection between the two files.

`set sysroot' and `set debug-file-directory' should be enough, I agree it is
not user friendly but I always used strace -o x gdb ... to easily see in `x'
where GDB tries to search for which library files.


Regards,
Jan



More information about the Gdb mailing list