2010-08-08 04:14:52 +00:00
|
|
|
define connect
|
|
|
|
target remote localhost:3333
|
|
|
|
monitor cortex_m3 vector_catch all
|
|
|
|
file ./build/openpilot/OpenPilot.elf
|
|
|
|
end
|
|
|
|
#monitor reset halt
|
2010-05-14 04:32:17 +00:00
|
|
|
|
|
|
|
define hook-step
|
|
|
|
monitor cortex_m3 maskisr on
|
|
|
|
end
|
|
|
|
define hookpost-step
|
|
|
|
monitor cortex_m3 maskisr off
|
|
|
|
end
|
|
|
|
|
2010-05-18 04:50:36 +00:00
|
|
|
define hook-stepi
|
|
|
|
monitor cortex_m3 maskisr on
|
|
|
|
end
|
|
|
|
|
|
|
|
define hookpost-stepi
|
|
|
|
monitor cortex_m3 maskisr off
|
|
|
|
end
|
|
|
|
|
2010-05-14 04:32:17 +00:00
|
|
|
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
|
|
|
|
|