From 91e54aa5be9930441c85c0585494f8ac8f514681 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 10 Aug 2013 15:51:00 +1000 Subject: add .gdbinit as Debug/dot.gdbinit very useful for JTAG debugging --- Debug/dot.gdbinit | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Debug/dot.gdbinit (limited to 'Debug/dot.gdbinit') 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 -- cgit v1.2.3