1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

gdb: add gdb init + hooks for AHRS

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@708 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
stac 2010-06-03 13:58:16 +00:00 committed by stac
parent 6577dce1d5
commit a03b948fb5

36
flight/Project/gdb/ahrs Normal file
View File

@ -0,0 +1,36 @@
target remote localhost:3333
monitor reset halt
monitor cortex_m3 vector_catch all
file ./build/ahrs/AHRS.elf
define hook-step
monitor cortex_m3 maskisr on
end
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
define hookpost-next
monitor cortex_m3 maskisr off
end
define hook-finish
monitor cortex_m3 maskisr on
end
define hookpost-finish
monitor cortex_m3 maskisr off
end