Shared libraries and separate debugging files

Worley, Dale R (Dale) dworley@avaya.com
Thu Aug 25 20:12:00 GMT 2011


> From: Baurzhan Ismagulov [ibr@radix50.net]
> 
> Debian has it working OOTB. E.g., /lib/libc-2.11.2.so has its
> corresponding /usr/lib/debug/lib/libc-2.11.2.so. FWIW, one can build a
> hello, world and step into printf.

In the situation I am working within, the library files of the
execution host have been copied into a working directory of a
different host for analysis of the core file.  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.

Dale



More information about the Gdb mailing list