mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 03:13:33 +08:00
add step hooks to make stepping work correctly for non isrs
Conflicts: Debug/openocd.gdbinit Debug/px4fmu-v1-board.cfg
This commit is contained in:
committed by
Lorenz Meier
parent
f665ace38c
commit
fa8f8f2a02
+16
-2
@@ -1,7 +1,21 @@
|
||||
target remote :3333
|
||||
mon reset halt
|
||||
|
||||
# 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
|
||||
mon poll
|
||||
mon cortex_m maskisr auto
|
||||
set mem inaccessible-by-default off
|
||||
set print pretty
|
||||
source Debug/PX4
|
||||
source Debug/PX4
|
||||
|
||||
echo PX4 resumed, press ctrl-c to interrupt\n
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user