summaryrefslogtreecommitdiffhomepage
path: root/dev/Boot
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Boot')
-rw-r--r--dev/Boot/amd64-desktop.make4
-rw-r--r--dev/Boot/gdbinit3
2 files changed, 5 insertions, 2 deletions
diff --git a/dev/Boot/amd64-desktop.make b/dev/Boot/amd64-desktop.make
index 79c983e3..fb26bd2b 100644
--- a/dev/Boot/amd64-desktop.make
+++ b/dev/Boot/amd64-desktop.make
@@ -82,11 +82,11 @@ compile-amd64:
.PHONY: run-efi-amd64-ahci
run-efi-amd64-ahci:
- $(EMU) $(EMU_FLAGS) -hda $(IMG)
+ $(EMU) $(EMU_FLAGS) -hda $(IMG) -s -S
.PHONY: run-efi-amd64-ata
run-efi-amd64-ata:
- $(EMU) $(EMU_FLAGS) -device piix3-ide,id=ide -drive id=disk,file=$(IMG),format=raw,if=none -device ide-hd,drive=disk,bus=ide.0
+ $(EMU) $(EMU_FLAGS) -device piix3-ide,id=ide -drive id=disk,file=$(IMG),format=raw,if=none -device ide-hd,drive=disk,bus=ide.0 -s -S
# img_2 is the rescue disk. img is the bootable disk, as provided by the Zeta specs.
.PHONY: epm-img
diff --git a/dev/Boot/gdbinit b/dev/Boot/gdbinit
new file mode 100644
index 00000000..34f779a3
--- /dev/null
+++ b/dev/Boot/gdbinit
@@ -0,0 +1,3 @@
+set disassemble-next-line on
+b Main
+target remote : 3331