76c6531c65
As of r278658 libproc looks for debug files under /usr/lib/debug and will use them if available. This change fleshes out that support a bit further: - Check for a .gnu_debuglink section and use the file name specified there if one is present. - Validate external debug files with the CRC in the .gnu_debuglink section so as to avoid using stale or corrupt debug files. - Search for debug files in the directory containing the referencing object or in the .debug subdirectory, as GDB does. |
||
---|---|---|
.. | ||
tests | ||
_libproc.h | ||
crc32.c | ||
crc32.h | ||
libproc.h | ||
Makefile | ||
Makefile.depend | ||
Makefile.inc | ||
proc_bkpt.c | ||
proc_create.c | ||
proc_regs.c | ||
proc_rtld.c | ||
proc_sym.c | ||
proc_util.c |