9.8. GDB and JTAG — RTEMS User Manual 5.4-rc2 (21st August 2026) documentation

# 9.8. GDB and JTAG

GDB with JTAG provides a low level way to runs tests on hardware with limited resources. The RTEMS Tester runs and controls an instance of GDB per test and GDB connects via the GDB remote protocol to a GDB server that interfaces to the JTAG port of a target.

Fig. 9.4 RTEMS Tester using GDB and JTAG

The Figure RTEMS Tester using GDB and JTAG shows the structure of RTEMS Testing using GDB and JTAG. The executables are built and the `rtems-test` command is run from the top of the build directory. The RTEMS Tester executes the BSP architecture’s GDB and expects the user to provide a `gdb-script` to connect t the JTAG GDB server.