summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2012-09-11 18:18:03 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2012-09-20 21:52:37 +0200
commit842821a118feeabd201ebcda46154cdb9b305187 (patch)
tree74ff91c47b8ca9eb93144496188f543d7079c0e7 /.gdbinit
ACM echo demo.
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit23
1 files changed, 23 insertions, 0 deletions
diff --git a/.gdbinit b/.gdbinit
new file mode 100644
index 0000000..2844d70
--- /dev/null
+++ b/.gdbinit
@@ -0,0 +1,23 @@
+define flash
+file demo.elf
+load
+end
+
+define restart
+run
+end
+
+define attach_swd
+mon swdp_scan
+attach 1
+end
+
+define attach_jtag
+mon jtag_scan
+attach 1
+end
+
+file demo.elf
+target extended-remote /dev/cu.usbmodem7FC181B1
+
+set mem inaccessible-by-default off