summaryrefslogtreecommitdiff
path: root/qemu-debug.gdb
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-debug.gdb')
-rw-r--r--qemu-debug.gdb6
1 files changed, 6 insertions, 0 deletions
diff --git a/qemu-debug.gdb b/qemu-debug.gdb
new file mode 100644
index 0000000..de29caa
--- /dev/null
+++ b/qemu-debug.gdb
@@ -0,0 +1,6 @@
+target remote | qemu-system-i386 -S -gdb stdio out/disk.img
+add-symbol-file obj/kernel.elf
+set disassembly-flavor intel
+layout reg
+break *0x30000
+cont