28 lines
543 B
Plaintext
28 lines
543 B
Plaintext
target remote :3333
|
|
|
|
# print demangled symbols
|
|
set print asm-demangle on
|
|
|
|
# set backtrace limit to not have infinite backtrace loops
|
|
set backtrace limit 32
|
|
|
|
# detect unhandled exceptions, hard faults and panics
|
|
break DefaultHandler
|
|
break HardFault
|
|
break rust_begin_unwind
|
|
|
|
# situational break points: only enable for fpga_config example
|
|
# break examples/fpga_config.rs:126
|
|
|
|
# print using semihosting, slow af
|
|
monitor arm semihosting enable
|
|
|
|
# flash the program to STM32
|
|
load
|
|
|
|
# run the code immediately
|
|
continue
|
|
|
|
# situational exit gdb
|
|
# quit
|