summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2022-05-04 20:21:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-10 12:52:34 +0100
commit739058fc54a7bb11a4e6cb76439cb0ff639ec54e (patch)
treed7fb7bae7b8b0a6d02240a884dfa1de869aabd64
parent4d111eb73710250c57cbbbd552602eb1d0eab73f (diff)
downloadpoky-739058fc54a7bb11a4e6cb76439cb0ff639ec54e.tar.gz
dev-manual: further gdb usage simplifications
(From yocto-docs rev: 701d9af89c0de25b84f110ed9f4b627ea339195b) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/dev-manual/common-tasks.rst20
1 files changed, 8 insertions, 12 deletions
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst
index c9fc585a05..1da19b8d65 100644
--- a/documentation/dev-manual/common-tasks.rst
+++ b/documentation/dev-manual/common-tasks.rst
@@ -10312,24 +10312,20 @@ debug on the target hardware.
10312 10312
10313To support this kind of debugging, you need do the following: 10313To support this kind of debugging, you need do the following:
10314 10314
10315- Ensure that GDB is on the target. You can do this by adding "gdb" to 10315- Ensure that GDB is on the target. You can do this by making
10316 :term:`IMAGE_INSTALL`:: 10316 the following addition to your ``local.conf`` file::
10317 10317
10318 IMAGE_INSTALL:append = " gdb" 10318 EXTRA_IMAGE_FEATURES:append = " tools-debug"
10319
10320 Alternatively, you can add "tools-debug" to :term:`IMAGE_FEATURES`::
10321
10322 IMAGE_FEATURES:append = " tools-debug"
10323 10319
10324- Ensure that debug symbols are present. You can make sure these 10320- Ensure that debug symbols are present. You can do so by adding the
10325 symbols are present by installing ``-dbg``:: 10321 corresponding ``-dbg`` package to :term:`IMAGE_INSTALL`::
10326 10322
10327 IMAGE_INSTALL:append = "packagename-dbg" 10323 IMAGE_INSTALL:append = " packagename-dbg"
10328 10324
10329 Alternatively, you can do the following to include 10325 Alternatively, you can add the following to ``local.conf`` to include
10330 all the debug symbols:: 10326 all the debug symbols::
10331 10327
10332 IMAGE_FEATURES:append = " dbg-pkgs" 10328 EXTRA_IMAGE_FEATURES:append = " dbg-pkgs"
10333 10329
10334.. note:: 10330.. note::
10335 10331