Skip to contentSkip to conversation

dev-manual: further gdb usage simplifications

PATCH New [email protected] 1 participant 1 message May 6, 2022 1 message not in the archive

lore
Share & tools
lore
#1 lore raw

PATCH v2 1/1 dev-manual: further gdb usage simplifications

In reply to a message not in the archive

From: Michael Opdenacker <[email protected]>

---
 documentation/dev-manual/common-tasks.rst | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)
documentation/dev-manual/common-tasks.rst +8 -12
index c9fc585a05..1da19b8d65 100644
@@ -10312,24 +10312,20 @@ 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
-   :term:`IMAGE_INSTALL`::
+-  Ensure that GDB is on the target. You can do this by making
+   the following addition to your ``local.conf`` file::
 
-      IMAGE_INSTALL:append = " gdb"
-
-   Alternatively, you can add "tools-debug" to :term:`IMAGE_FEATURES`::
-
-      IMAGE_FEATURES:append = " tools-debug"
+      EXTRA_IMAGE_FEATURES:append = " tools-debug"
 
--  Ensure that debug symbols are present. You can make sure these
-   symbols are present by installing ``-dbg``::
+-  Ensure that debug symbols are present. You can do so by adding the
+   corresponding ``-dbg`` package to :term:`IMAGE_INSTALL`::
 
-      IMAGE_INSTALL:append = "packagename-dbg"
+      IMAGE_INSTALL:append = " packagename-dbg"
 
-   Alternatively, you can do the following to include
+   Alternatively, you can add the following to ``local.conf`` to include
    all the debug symbols::
 
-      IMAGE_FEATURES:append = " dbg-pkgs"
+      EXTRA_IMAGE_FEATURES:append = " dbg-pkgs"
 
 .. note::
 
Signature · 1 line
2.25.1