2013-08-11 18:34:19 -03:00
|
|
|
target remote :3333
|
2013-08-11 18:38:00 -03:00
|
|
|
|
|
|
|
# Don't let GDB get confused while stepping
|
|
|
|
define hook-step
|
|
|
|
mon cortex_m maskisr on
|
|
|
|
end
|
|
|
|
define hookpost-step
|
|
|
|
mon cortex_m maskisr off
|
|
|
|
end
|
|
|
|
|
|
|
|
mon init
|
|
|
|
mon stm32_init
|
|
|
|
# mon reset halt
|
2013-08-11 18:34:19 -03:00
|
|
|
mon poll
|
|
|
|
mon cortex_m maskisr auto
|
|
|
|
set mem inaccessible-by-default off
|
|
|
|
set print pretty
|
2013-08-11 18:38:00 -03:00
|
|
|
source Debug/PX4
|
|
|
|
|
|
|
|
echo PX4 resumed, press ctrl-c to interrupt\n
|
|
|
|
continue
|