diff options
author | Benji Dial <benji3.141@gmail.com> | 2020-05-25 11:08:59 -0400 |
---|---|---|
committer | Benji Dial <benji3.141@gmail.com> | 2020-05-25 11:08:59 -0400 |
commit | c99a319d3405d4ac76881cae288c29624fa34a44 (patch) | |
tree | 18beb40c378cc4dd177cdabb88137f295363dfb5 /qemu-debug.gdb | |
parent | 3ec479833bbe4c116bc149122aec582532866128 (diff) | |
download | portland-os-c99a319d3405d4ac76881cae288c29624fa34a44.tar.gz |
script to debug with qemu and gdb
Diffstat (limited to 'qemu-debug.gdb')
-rw-r--r-- | qemu-debug.gdb | 6 |
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 |