Home
last modified time | relevance | path

Searched full:gdbstub (Results 1 – 25 of 49) sorted by relevance

12

/Zephyr-latest/tests/subsys/debug/gdbstub/
Dtestcase.yaml10 - gdbstub
14 # Basic build-only test for all platforms supporting gdbstub
15 debug.gdbstub.build_only:
21 # Connect to Zephyr gdbstub and run a simple GDB script
22 debug.gdbstub.breakpoints:
37 # Make sure the gdbstub port chosen is unique for this test to avoid conflicts
41 # Connect to QEMU gdbstub backend and run the same GDB test script
43 # similar behavior as for Zephyr's gdbstub.
44 # Use non-default QEMU gdbstub port 1235 for this test to avoid conflicts
61 # Turn off Zephyr's gdbstub for this test case.
[all …]
/Zephyr-latest/doc/services/debugging/
Dgdbstub.rst13 The gdbstub feature provides an implementation of the GDB Remote
20 The GDB program acts as a client while the Zephyr gdbstub acts as a
22 :c:func:`gdb_init` starts gdbstub service and waits for a GDB
51 * If there are spare UART devices on the board, set ``zephyr,gdbstub-uart``
90 There is a test application :zephyr_file:`tests/subsys/debug/gdbstub` with one of its
91 test cases ``debug.gdbstub.breakpoints`` demonstrating how the Zephyr GDB stub can be used.
99 ./scripts/twister -p qemu_x86 -T tests/subsys/debug/gdbstub
113 :zephyr-app: tests/subsys/debug/gdbstub
141 #. Tell GDB to connect to the Zephyr gdbstub serial backend which is exposed
153 arch_gdb_init () at <ZEPHYR_BASE>/arch/x86/core/ia32/gdbstub.c:252
[all …]
Dindex.rst11 gdbstub.rst
/Zephyr-latest/soc/espressif/esp32/
DKconfig.defconfig28 if GDBSTUB
33 default 840 if GDBSTUB
35 endif # GDBSTUB config
/Zephyr-latest/include/zephyr/arch/x86/ia32/
Dgdbstub.h9 * @brief IA-32 specific gdbstub interface header
21 * @brief Number of register used by gdbstub in IA-32
28 * The exception stack frame contents used by gdbstub. The contents
55 * @brief IA-32 register used in gdbstub
/Zephyr-latest/subsys/debug/gdbstub/
DKconfig4 menuconfig GDBSTUB config
13 if GDBSTUB
45 endif # GDBSTUB
Dgdbstub_backend.h14 * exclusively by gdbstub.
21 * @brief Initialize the gdbstub backend
DCMakeLists.txt5 gdbstub.c
Dgdbstub.c11 LOG_MODULE_REGISTER(gdbstub);
24 #include <zephyr/debug/gdbstub.h>
32 * used. There are informal values used by others gdbstub
573 printk("gdbstub:%s exception=0x%x\n", __func__, exception); in gdb_send_exception()
684 printk("gdbstub:%s got '%c'(0x%x) command\n", __func__, *ptr, *ptr); in z_gdb_main_loop()
879 printk("gdbstub:%s enter\n", __func__); in gdb_init()
882 LOG_ERR("Could not initialize gdbstub backend."); in gdb_init()
889 printk("gdbstub:%s exit\n", __func__); in gdb_init()
/Zephyr-latest/scripts/coredump/gdbstubs/arch/
Drisc_v.py11 from gdbstubs.gdbstub import GdbStub
14 logger = logging.getLogger("gdbstub")
52 class GdbStub_RISC_V(GdbStub):
Darm64.py11 from gdbstubs.gdbstub import GdbStub
14 logger = logging.getLogger("gdbstub")
53 class GdbStub_ARM64(GdbStub):
Dx86.py11 from gdbstubs.gdbstub import GdbStub
14 logger = logging.getLogger("gdbstub")
63 class GdbStub_x86(GdbStub):
Dx86_64.py11 from gdbstubs.gdbstub import GdbStub
14 logger = logging.getLogger("gdbstub")
74 class GdbStub_x86_64(GdbStub):
Darm_cortex_m.py12 from gdbstubs.gdbstub import GdbStub
15 logger = logging.getLogger("gdbstub")
38 class GdbStub_ARM_CortexM(GdbStub):
Dxtensa.py13 from gdbstubs.gdbstub import GdbStub
15 logger = logging.getLogger("gdbstub")
109 class GdbStub_Xtensa(GdbStub):
/Zephyr-latest/arch/x86/core/ia32/
Dgdbstub.c11 #include <zephyr/debug/gdbstub.h>
218 printk("gdbstub:enter %s (IV_DEBUG)\n", __func__); in z_gdb_debug_isr()
224 printk("gdbstub:exit %s (IV_DEBUG)\n", __func__); in z_gdb_debug_isr()
231 printk("gdbstub:enter %s (IV_BREAKPOINT)\n", __func__); in z_gdb_break_isr()
237 printk("gdbstub:exit %s (IV_BREAKPOINT)\n", __func__); in z_gdb_break_isr()
244 printk("gdbstub:%s awaits GDB connection\n", __func__); in arch_gdb_init()
250 printk("gdbstub:%s GDB is connected\n", __func__); in arch_gdb_init()
/Zephyr-latest/scripts/coredump/
Dcoredump_gdbserver.py82 # Setup logging for "gdbstub"
83 logger = logging.getLogger("gdbstub")
119 gdbstub = gdbstubs.get_gdbstub(logf, elff)
142 gdbstub.run(conn)
/Zephyr-latest/tests/subsys/debug/gdbstub/boards/
Dqemu_cortex_a9.overlay5 zephyr,gdbstub-uart = &uart1;
Dqemu_x86.overlay5 zephyr,gdbstub-uart = &uart1;
/Zephyr-latest/tests/subsys/debug/gdbstub/pytest/
Dtest_gdbstub.py74 re.compile(r'Inferior.*will be killed'), # Zephyr gdbstub
75 re.compile(r'Inferior.*detached') # QEMU gdbstub
81 Test gdbstub feature using a GDB script. We connect to the DUT, run the
/Zephyr-latest/subsys/debug/
DCMakeLists.txt25 gdbstub
/Zephyr-latest/soc/espressif/common/include/gdbstub/
Dsoc.h13 #error "Must be included after arch/xtensa/gdbstub.h"
/Zephyr-latest/scripts/kconfig/
Dhardened.csv59 GDBSTUB,n
/Zephyr-latest/arch/arm/core/
DCMakeLists.txt17 zephyr_library_sources_ifdef(CONFIG_GDBSTUB gdbstub.c)
/Zephyr-latest/arch/x86/core/
Dia32.cmake24 zephyr_library_sources_ifdef(CONFIG_GDBSTUB ia32/gdbstub.c)

12