summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gdbinit2
-rw-r--r--Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/.gdbinit b/.gdbinit
index 4455986..4340f45 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -1,2 +1,2 @@
-file kernel.bin
+file out/fs/boot/kernel.bin
target remote localhost:1234
diff --git a/Makefile b/Makefile
index 72e3a27..4441263 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ out/obj/%.c.o: src/%.c
boot: out/fs/boot/kernel.bin
qemu-system-i386 -kernel $< $(QFLAGS) -no-shutdown
-debug: kernel.bin
+debug: out/fs/boot/kernel.bin
qemu-system-i386 -kernel $< $(QFLAGS) -s -S &
sleep 1
gdb