freebsd-dev/lib/libproc
Mark Johnston 76c6531c65 libproc: Improve .gnu_debuglink support.
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.
2016-12-06 04:18:09 +00:00
..
tests DIRDEPS_BUILD: Update dependencies. 2016-08-31 19:30:46 +00:00
_libproc.h libproc: Make proc_getpid() an accessor for struct proc_handle. 2016-12-06 04:14:20 +00:00
crc32.c libproc: Improve .gnu_debuglink support. 2016-12-06 04:18:09 +00:00
crc32.h libproc: Improve .gnu_debuglink support. 2016-12-06 04:18:09 +00:00
libproc.h libproc: Make proc_getpid() an accessor for struct proc_handle. 2016-12-06 04:14:20 +00:00
Makefile libproc: Improve .gnu_debuglink support. 2016-12-06 04:18:09 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2016-08-31 19:30:46 +00:00
Makefile.inc Remove WARNS inherited fine by ../Makefile.inc. 2016-02-26 22:14:23 +00:00
proc_bkpt.c Fix style bugs and remove trailing whitespace in libproc and librtld_db. 2016-12-06 04:13:02 +00:00
proc_create.c libproc: Make proc_getpid() an accessor for struct proc_handle. 2016-12-06 04:14:20 +00:00
proc_regs.c Fix style bugs and remove trailing whitespace in libproc and librtld_db. 2016-12-06 04:13:02 +00:00
proc_rtld.c Fix style bugs and remove trailing whitespace in libproc and librtld_db. 2016-12-06 04:13:02 +00:00
proc_sym.c libproc: Improve .gnu_debuglink support. 2016-12-06 04:18:09 +00:00
proc_util.c libproc: Make proc_getpid() an accessor for struct proc_handle. 2016-12-06 04:14:20 +00:00