File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ A simple CLI tool that starts a GDB server and automatically attaches GDB to deb
44
55## ✨ Features
66
7- - 🔌 ** Multiple backends** - Supports J-Link and ST-Link debug probes
7+ - 🔌 ** Multiple backends** - Supports J-Link, ST-Link, and QEMU
88- 🔍 ** Auto-discovery** - Automatically finds STM32CubeProgrammer installation
99- 🧹 ** Clean lifecycle** - Starts the server, attaches GDB, and cleans up when done
1010- ⚙️ ** Configurable** - JSON-based backend configuration for easy customization
@@ -25,6 +25,7 @@ gdbrunner <backend> [options] elf
2525
2626- ` jlink ` - J-Link GDB server
2727- ` stlink ` - ST-Link GDB server
28+ - ` qemu ` - QEMU ARM emulator
2829
2930### Examples
3031
@@ -40,6 +41,9 @@ gdbrunner jlink --device STM32H743VI --dryrun firmware.elf
4041
4142# 📺 Show server output for debugging connection issues
4243gdbrunner stlink --show-output firmware.elf
44+
45+ # 🖥️ Start QEMU and attach GDB
46+ gdbrunner qemu --machine mps2-an500 firmware.elf
4347```
4448
4549Run ` gdbrunner --help ` for all options.
You can’t perform that action at this time.
0 commit comments