mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
d7856b3d0a
The gdb init files would previously reset the target immediately when gdb started up. This is sometimes an unpleasant side-effect of running gdb. In order to connect to the target, use the new "connect" function. To reset the target use "mon reset". git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1236 ebee16cc-31ac-478f-84a7-5cbb03baadba
39 lines
575 B
Plaintext
39 lines
575 B
Plaintext
define connect
|
|
target remote localhost:3334
|
|
monitor cortex_m3 vector_catch all
|
|
file ./build/ahrs/AHRS.elf
|
|
end
|
|
#monitor reset halt
|
|
|
|
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
|
|
|