summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2013-07-20 09:55:09 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2013-07-20 09:55:09 +0200
commitb0ba370bfbf6159ab90f79475ac69124553cc50f (patch)
treecc6560bfe6a07fd58ee9b5d7ebd850f7e6b8b7a7 /.gdbinit
Added multithreading test for QEMU.qemu
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..379d786
--- /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 :1234
+
+set mem inaccessible-by-default off