diff options
| -rw-r--r-- | documentation/dev-manual/common-tasks.rst | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst index b228c75aab..c9fc585a05 100644 --- a/documentation/dev-manual/common-tasks.rst +++ b/documentation/dev-manual/common-tasks.rst | |||
| @@ -10177,10 +10177,9 @@ debugger. | |||
| 10177 | 10177 | ||
| 10178 | 2. *Configure the system to include gdbserver in the target filesystem:* | 10178 | 2. *Configure the system to include gdbserver in the target filesystem:* |
| 10179 | 10179 | ||
| 10180 | Make the following addition in either your ``local.conf`` file or in | 10180 | Make the following addition in your ``local.conf`` file:: |
| 10181 | an image recipe:: | ||
| 10182 | 10181 | ||
| 10183 | IMAGE_INSTALL:append = " gdbserver" | 10182 | EXTRA_IMAGE_FEATURES:append = " tools-debug" |
| 10184 | 10183 | ||
| 10185 | The change makes | 10184 | The change makes |
| 10186 | sure the ``gdbserver`` package is included. | 10185 | sure the ``gdbserver`` package is included. |
| @@ -10227,14 +10226,14 @@ debugger. | |||
| 10227 | 10226 | ||
| 10228 | $ mkdir debugfs | 10227 | $ mkdir debugfs |
| 10229 | $ cd debugfs | 10228 | $ cd debugfs |
| 10230 | $ tar xvfj build-dir/tmp-glibc/deploy/images/machine/image.rootfs.tar.bz2 | 10229 | $ tar xvfj build-dir/tmp/deploy/images/machine/image.rootfs.tar.bz2 |
| 10231 | $ tar xvfj build-dir/tmp-glibc/deploy/images/machine/image-dbg.rootfs.tar.bz2 | 10230 | $ tar xvfj build-dir/tmp/deploy/images/machine/image-dbg.rootfs.tar.bz2 |
| 10232 | 10231 | ||
| 10233 | 5. *Set up GDB:* | 10232 | 5. *Set up GDB:* |
| 10234 | 10233 | ||
| 10235 | Install the SDK (if you built one) and then source the correct | 10234 | Install the SDK (if you built one) and then source the correct |
| 10236 | environment file. Sourcing the environment file puts the SDK in your | 10235 | environment file. Sourcing the environment file puts the SDK in your |
| 10237 | ``PATH`` environment variable. | 10236 | ``PATH`` environment variable and sets ``$GDB`` to the SDK's debugger. |
| 10238 | 10237 | ||
| 10239 | If you are using the build system, Gdb is located in | 10238 | If you are using the build system, Gdb is located in |
| 10240 | `build-dir`\ ``/tmp/sysroots/``\ `host`\ ``/usr/bin/``\ `architecture`\ ``/``\ `architecture`\ ``-gdb`` | 10239 | `build-dir`\ ``/tmp/sysroots/``\ `host`\ ``/usr/bin/``\ `architecture`\ ``/``\ `architecture`\ ``-gdb`` |
