This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Shared libraries and separate debugging files
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