summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2013-05-17 22:36:23 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2013-05-17 22:36:23 +0200
commiteb24b85b6a5719774d739f30e8ef85dfc90c97d4 (patch)
treed1683820c605cfa23dd8f323d8591d5366f439b4 /.gdbinit
Enumerate as USB gamepad and report dummy values.
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