mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
gdb: Add pre/post hooks to fix stepi
This fixes the gdb stepi command to allow the M3 core to make forward progress even when interrupts are pending. M3 Core interrupts are masked/unmasked in pre and post command hooks. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@636 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
8aadaf4a2b
commit
f6de7ff54f
@ -10,6 +10,14 @@ define hookpost-step
|
||||
monitor cortex_m3 maskisr off
|
||||
end
|
||||
|
||||
define hook-stepi
|
||||
monitor cortex_m3 maskisr on
|
||||
end
|
||||
|
||||
define hookpost-stepi
|
||||
monitor cortex_m3 maskisr off
|
||||
end
|
||||
|
||||
define hook-next
|
||||
monitor cortex_m3 maskisr on
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user