diff options
-rw-r--r-- | documentation/dev-manual/common-tasks.rst | 20 |
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 | ||
10313 | To support this kind of debugging, you need do the following: | 10313 | To 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 | ||