From 9cc019b9ea135836d0c24d0e5c93830f47cc4595 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 12 Aug 2014 16:07:47 +0300 Subject: ref-manual: Added PACKAGE_DEBUG_SPLIT_STYLE variable. Fixes [YOCTO #6621] This is a new variable that helps control how debug symbols and source files are split off when creating -dbg files for use with GDB. (From yocto-docs rev: 506b79707f6aec7c14f1f9d7e5099d20fca45c0e) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 56 ++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) (limited to 'documentation/ref-manual/ref-variables.xml') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 7ea753df71..a4dbba4a3e 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -5722,6 +5722,62 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" + PACKAGE_DEBUG_SPLIT_STYLE + + + + Determines how to split up the binary and debug information + when creating *-dbg packages to be + used with the GNU Project Debugger (GDB). + + + + With the + PACKAGE_DEBUG_SPLIT_STYLE variable, + you can control where debug information, which can include + or exclude source files, is stored: + + + ".debug": Debug symbol files are placed next + to the binary in a .debug + directory on the target. + For example, if a binary is installed into + /bin, the corresponding debug + symbol files are installed in + /bin/.debug. + Source files are placed in + /usr/src/debug. + This is the default behavior. + + + "debug-file-directory": Debug symbol files are + placed under /usr/lib/debug + on the target, and separated by the path from where + the binary is installed. + For example, if a binary is installed in + /bin, the corresponding debug + symbols are installed in + /usr/lib/debug/bin. + Source files are placed in + /usr/src/debug. + + + "debug-without-src": The same behavior as + ".debug" previously described with the exception + that no source files are installed. + . + + + + + You can find out more about debugging using GDB by reading + the + "Debugging With the GNU Project Debugger (GDB) Remotely" + section in the Yocto Project Development Manual. + + + + PACKAGE_EXCLUDE -- cgit v1.2.3-54-g00ecf