add .gdbinit as Debug/dot.gdbinit

very useful for JTAG debugging
This commit is contained in:
Andrew Tridgell
2013-08-10 15:51:00 +10:00
committed by Lorenz Meier
parent a0235bd507
commit 91e54aa5be
+13
View File
@@ -0,0 +1,13 @@
# copy the file to .gdbinit in your Firmware tree, and adjust the path
# below to match your system
# For example:
# target extended /dev/serial/by-id/usb-Black_Sphere_Technologies_Black_Magic_Probe_DDE5A1C4-if00
# target extended /dev/ttyACM4
monitor swdp_scan
attach 1
monitor vector_catch disable hard
set mem inaccessible-by-default off
set print pretty
source Debug/PX4