summaryrefslogtreecommitdiff
path: root/.gdbinit
blob: 379d78633bfa762bb8be4e20a19fea61af88baa0 (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 :1234

set mem inaccessible-by-default off