From: Scott Rifenbark Date: Thu, 22 Sep 2016 22:16:07 +0000 (-0700) Subject: dev-manual: Added new GDB debug requirements section for target X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9f2cf76e091ed66f36e88ce0718c8336730f6c38;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git dev-manual: Added new GDB debug requirements section for target Fixes [YOCTO #9554] I added a new section titled "Debugging with the GNU Project Debugger (GDB) on the Target" that provides requirements for this type of debugging. (From yocto-docs rev: 5d15c6c5f2030395f9faea8a5ef3ead1b98042d8) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 3d63f805532..b20d9c32f33 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -9870,6 +9870,49 @@ +
+ Debugging with the GNU Project Debugger (GDB) on the Target + + + The previous section addressed using GDB remotely for debugging + purposes. + This section describes what you need to do in order to support + using GDB to debug on the target hardware. + + + + To support this kind of debugging, you need do the following: + + + Ensure that GDB is on the target. + You can do this by adding "gdb" to + IMAGE_INSTALL: + + IMAGE_INSTALL_append = " gdb" + + Alternatively, you can add "tools-debug" to + IMAGE_FEATURES: + + IMAGE_FEATURES = tools-debug + + + + Ensure that debug symbols are present. + You can make sure these symbols are present by installing + -dbg: + + IMAGE_INSTALL_append = " packagename-dbg" + + Alternatively, you can do the following to include all the + debug symbols: + + IMAGE_FEATURES = dbg-pkgs + + + + +
+
Debugging Parallel Make Races