summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2016-08-19 01:54:24 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2016-08-19 01:54:24 +0200
commit16289c720a0f63d636faaaf4d4432496a8aa4231 (patch)
tree6d71538883d173e5185aae25234be0a3d23eab77 /.gdbinit
parent2eb61cda770ca48068daeeee83917f023d8a6110 (diff)
Ported bootloader from arcin.
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit9
1 files changed, 7 insertions, 2 deletions
diff --git a/.gdbinit b/.gdbinit
index 99eae86..4699cc9 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -1,5 +1,10 @@
define flash
-file demo.elf
+file main.elf
+load
+end
+
+define flash_bootloader
+file bootloader.elf
load
end
@@ -17,6 +22,6 @@ mon jtag_scan
attach 1
end
-file demo.elf
+file main.elf
set mem inaccessible-by-default off