mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
42f8c5b580
debug files for userland programs and libraries. The "-g" debug flag is automatically applied when WITH_DEBUG_FILES is set. The debug files are now named ${prog}.debug and ${shlib}.debug for consistency with other systems and documentation. In addition they are installed under /usr/lib/debug, to simplify the process of installing them if needed after a crash. Users of bsd.{prog,lib}.mk outside of the base system place the standalone debug files in a .debug subdirectory. GDB automatically searches both of these directories for standalone debug files. Thanks to everyone who contributed changes, review, and testing during development.
8 lines
222 B
Plaintext
8 lines
222 B
Plaintext
.\" $FreeBSD$
|
|
Set to strip debug info into a separate file for each executable binary
|
|
and shared library.
|
|
The debug files will be placed in a subdirectory of
|
|
.Pa /usr/lib/debug
|
|
and are located automatically by
|
|
.Xr gdb 1 .
|