From 9f2cf76e091ed66f36e88ce0718c8336730f6c38 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 22 Sep 2016 15:16:07 -0700 Subject: 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 --- .../dev-manual/dev-manual-common-tasks.xml | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'documentation/dev-manual/dev-manual-common-tasks.xml') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 3d63f80553..b20d9c32f3 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 -- cgit v1.2.3-54-g00ecf