A simple sample that can be used with qemu to show debug using gdb remote serial protocol capabilities.
Building and Running¶
This application can be built and executed on QEMU as follows:
west build -b qemu_x86 samples/debug west build -t run
Open a new terminal and use gdb to connect to the running qemu as follows:
gdb build/zephyr/zephyr.elf (gdb) target remote :1234
Exit QEMU by pressing CTRL+A x.