mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
Added -S flag to qemu so that qemu waits till gdb loads
This commit is contained in:
parent
7aff64740e
commit
b11e529d21
@ -27,7 +27,7 @@ run: os-image.bin
|
||||
|
||||
# Open the connection to qemu and load our kernel-object file with symbols
|
||||
debug: os-image.bin kernel.elf
|
||||
qemu-system-i386 -s -fda os-image.bin -d guest_errors,int &
|
||||
qemu-system-i386 -s -S -fda os-image.bin -d guest_errors,int &
|
||||
${GDB} -ex "target remote localhost:1234" -ex "symbol-file kernel.elf"
|
||||
|
||||
# Generic rules for wildcards
|
||||
|
Loading…
Reference in New Issue
Block a user