summaryrefslogtreecommitdiff
path: root/.gdbinit
blob: 2844d70b1fe8042f2122349b99e7d39686e25268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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