From bc92d78701c860ccd13d3da407570e5b03c96961 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sun, 22 Apr 2012 23:23:33 +0200 Subject: Updated .gdbinit for blackmagic probe. --- .gdbinit | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to '.gdbinit') 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 -- cgit v1.2.3