Skip to content
Fabian Vogt edited this page May 23, 2020 · 4 revisions

Prerequisites

  • Firebird v0.20 or later, with the GDB stub exposed on port 3333
  • GDB with ARM support
  • Ndless 3.9.x or later installed

Procedure

  1. Start the emulation
  2. Connect GDB (arm-none-eabi-gdb -ex "target remote :3333" program.elf)
  3. Set breakpoints (optional) and continue execution with (cont)
  4. Start the program from the document browser
  5. Debug

Note that most IDEs allow using the GDB protocol to debug programs. I only tested Qt Creator with this, just select Debug -> Start Debugging -> Attach to Running Debug Server

Clone this wiki locally