aboutsummaryrefslogtreecommitdiff
path: root/Debug
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2013-08-10 15:51:00 +1000
committerLorenz Meier <lm@inf.ethz.ch>2013-08-11 01:47:21 +0200
commit91e54aa5be9930441c85c0585494f8ac8f514681 (patch)
treea6081916cdbb371e6e71a441f341a8fdde1d4ffe /Debug
parenta0235bd5071bc8488c585588241422128b1d3361 (diff)
downloadpx4-firmware-91e54aa5be9930441c85c0585494f8ac8f514681.tar.gz
px4-firmware-91e54aa5be9930441c85c0585494f8ac8f514681.tar.bz2
px4-firmware-91e54aa5be9930441c85c0585494f8ac8f514681.zip
add .gdbinit as Debug/dot.gdbinit
very useful for JTAG debugging
Diffstat (limited to 'Debug')
-rw-r--r--Debug/dot.gdbinit13
1 files changed, 13 insertions, 0 deletions
diff --git a/Debug/dot.gdbinit b/Debug/dot.gdbinit
new file mode 100644
index 000000000..d70410bc7
--- /dev/null
+++ b/Debug/dot.gdbinit
@@ -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