[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 08/11] docs/system/gdb.rst: Add some more heading structure
From: |
Alex Bennée |
Subject: |
[PULL 08/11] docs/system/gdb.rst: Add some more heading structure |
Date: |
Tue, 6 Apr 2021 16:00:38 +0100 |
From: Peter Maydell <peter.maydell@linaro.org>
We're about to add a new section to gdb.rst. In
preparation, add some more headings so it isn't just
one huge run-on section.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210325175023.13838-2-peter.maydell@linaro.org>
Message-Id: <20210401102530.12030-9-alex.bennee@linaro.org>
diff --git a/docs/system/gdb.rst b/docs/system/gdb.rst
index 72b1e68f4e..0bb1bedf1b 100644
--- a/docs/system/gdb.rst
+++ b/docs/system/gdb.rst
@@ -45,7 +45,11 @@ Here are some useful tips in order to use gdb on system code:
3. Use ``set architecture i8086`` to dump 16 bit code. Then use
``x/10i $cs*16+$eip`` to dump the code at the PC position.
-Advanced debugging options:
+Advanced debugging options
+==========================
+
+Changing single-stepping behaviour
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The default single stepping behavior is step with the IRQs and timer
service routines off. It is set this way because when gdb executes a
@@ -88,6 +92,8 @@ three commands you can query and set the single step behavior:
sending: "qemu.sstep=0x5"
received: "OK"
+Examining physical memory
+^^^^^^^^^^^^^^^^^^^^^^^^^
Another feature that QEMU gdbstub provides is to toggle the memory GDB
works with, by default GDB will show the current process memory respecting
--
2.20.1
- [PULL 00/11] rc2 fixes (check-tcg, gitlab, gdbstub), Alex Bennée, 2021/04/06
- [PULL 02/11] tests/docker: don't set DOCKER_REGISTRY on non-x86_64, Alex Bennée, 2021/04/06
- [PULL 08/11] docs/system/gdb.rst: Add some more heading structure,
Alex Bennée <=
- [PULL 03/11] tests/tcg: add concept of container_hosts, Alex Bennée, 2021/04/06
- [PULL 05/11] tests/tcg/i386: expand .data sections for system tests, Alex Bennée, 2021/04/06
- [PULL 01/11] tests/tcg: update the defaults for x86 compilers, Alex Bennée, 2021/04/06
- [PULL 10/11] gitlab-ci.yml: Fix the filtering for the git submodules, Alex Bennée, 2021/04/06
- [PULL 06/11] tests/tcg/i386: force -fno-pie for test-i386, Alex Bennée, 2021/04/06
- [PULL 04/11] tests/tcg/configure.sh: make sure we pick up x86_64 cross compilers, Alex Bennée, 2021/04/06
- [PULL 11/11] gitlab-ci.yml: Test the dtrace backend in one of the jobs, Alex Bennée, 2021/04/06
- [PULL 09/11] docs/system/gdb.rst: Document how to debug multicore machines, Alex Bennée, 2021/04/06
- [PULL 07/11] tests/tcg: relax the next step precision of the gdb sha1 test, Alex Bennée, 2021/04/06
- Re: [PULL 00/11] rc2 fixes (check-tcg, gitlab, gdbstub), Peter Maydell, 2021/04/06