mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
gdb: Do not automatically reset target in gdb init file
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
This commit is contained in:
parent
a688b95eb6
commit
d7856b3d0a
@ -1,7 +1,9 @@
|
||||
target remote localhost:3334
|
||||
monitor reset halt
|
||||
monitor cortex_m3 vector_catch all
|
||||
file ./build/ahrs/AHRS.elf
|
||||
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
|
||||
|
@ -1,7 +1,9 @@
|
||||
target remote localhost:3333
|
||||
monitor reset halt
|
||||
monitor cortex_m3 vector_catch all
|
||||
file ./build/openpilot/OpenPilot.elf
|
||||
define connect
|
||||
target remote localhost:3333
|
||||
monitor cortex_m3 vector_catch all
|
||||
file ./build/openpilot/OpenPilot.elf
|
||||
end
|
||||
#monitor reset halt
|
||||
|
||||
define hook-step
|
||||
monitor cortex_m3 maskisr on
|
||||
|
Loading…
Reference in New Issue
Block a user