]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r244236,r244408,r244915,r247054,r251512:
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 5 Jul 2013 19:35:51 +0000 (19:35 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 5 Jul 2013 19:35:51 +0000 (19:35 +0000)
commita91a58e14428c8d2ad6cf8b04720b3b3597e80a3
tree8cbf5cf9fcb54ef67d71eadb97aa5dc7226277d9
parentd882ed7dbeb868391ff8ed4d2ea4f2a56d5c48b3
MFC r244236,r244408,r244915,r247054,r251512:

  Add a new knob WITH_DEBUG_FILES to control the building of standalone
  debug files for userland programs and libraries.  The "-g" debug flag
  is automatically applied when WITH_DEBUG_FILES is set.

  The debug files are 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.

git-svn-id: svn://svn.freebsd.org/base/stable/9@252827 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
20 files changed:
Makefile.inc1
etc/Makefile
etc/mtree/BSD.debug.dist [new file with mode: 0644]
etc/mtree/Makefile
gnu/usr.bin/gdb/Makefile.inc
gnu/usr.bin/gdb/arch/amd64/config.h
gnu/usr.bin/gdb/arch/arm/config.h
gnu/usr.bin/gdb/arch/i386/config.h
gnu/usr.bin/gdb/arch/ia64/config.h
gnu/usr.bin/gdb/arch/mips/config.h
gnu/usr.bin/gdb/arch/powerpc/config.h
gnu/usr.bin/gdb/arch/powerpc64/config.h
gnu/usr.bin/gdb/arch/sparc64/config.h
gnu/usr.bin/gdb/gdb/Makefile
share/mk/bsd.crunchgen.mk
share/mk/bsd.lib.mk
share/mk/bsd.own.mk
share/mk/bsd.prog.mk
share/mk/sys.mk
tools/build/options/WITH_DEBUG_FILES [new file with mode: 0644]