arm-none-eabi-gdb

GNU debugger for ARM Cortex embedded development targeting arm-none-eabi

brewmacoslinux
Try with needOr install directly
Source

About

GNU debugger for arm-none-eabi cross development

Commands

arm-none-eabi-gdb

Examples

Start debugging an ELF binary on a connected STM32 via OpenOCD$ arm-none-eabi-gdb firmware.elf -ex 'target remote localhost:3333' -ex 'load'
Debug with local symbols and set a breakpoint at main function$ arm-none-eabi-gdb ./build/program.elf -ex 'break main' -ex 'run'
Connect to J-Link debug probe and inspect CPU registers$ arm-none-eabi-gdb -ex 'target remote localhost:2331' -ex 'info registers'