From c99a319d3405d4ac76881cae288c29624fa34a44 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Mon, 25 May 2020 11:08:59 -0400 Subject: script to debug with qemu and gdb --- qemu-debug.gdb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 qemu-debug.gdb (limited to 'qemu-debug.gdb') 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 -- cgit v1.2.3