-
Notifications
You must be signed in to change notification settings - Fork 1
[QEMU‐Linux] Debugging on Linux (Debian‐based)
Antonio Giacomelli edited this page May 10, 2025
·
21 revisions
sudo apt install gcc-arm-none-eabi qemu-system-arm
For Debian-based you install and use:
sudo apt install gdb-multiarch # not gdb-arm-none-eabi
make qemu-debug # starts QEMU and waits for GDB
Open another terminal
# within the project directory
gdb-multiarch build/armv7m/rk0_demo.elf -ex 'target remote localhost:1234'
Debugging on pure text mode on a Gnome terminal.
Copyright (C) 2025 Antonio Giacomelli | www.kernel0.org