summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2012-04-22 23:23:33 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2012-04-22 23:23:33 +0200
commitbc92d78701c860ccd13d3da407570e5b03c96961 (patch)
treeb872b961ba570585fff5389335a2b94777a2d5b9
parent2a34130b8ff083d74b66696d22bacaffef6eef72 (diff)
Updated .gdbinit for blackmagic probe.
-rw-r--r--.gdbinit18
1 files changed, 15 insertions, 3 deletions
diff --git a/.gdbinit b/.gdbinit
index e5324f2..cde68dc 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -1,6 +1,3 @@
-target extended-remote :4242
-file suzumebachi.elf
-
define flash
file suzumebachi.elf
load
@@ -9,3 +6,18 @@ end
define restart
run
end
+
+define attach_swd
+mon swdp_scan
+attach 1
+end
+
+define attach_jtag
+mon jtag_scan
+attach 1
+end
+
+file suzumebachi.elf
+target extended-remote /dev/cu.usbmodem7FC181B1
+
+set mem inaccessible-by-default off