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
b11e529d21
commit
b760753912
@ -27,7 +27,7 @@ run: os-image.bin
|
|||||||
|
|
||||||
# Open the connection to qemu and load our kernel-object file with symbols
|
# Open the connection to qemu and load our kernel-object file with symbols
|
||||||
debug: os-image.bin kernel.elf
|
debug: os-image.bin kernel.elf
|
||||||
qemu-system-i386 -s -fda os-image.bin &
|
qemu-system-i386 -s -S -fda os-image.bin &
|
||||||
${GDB} -ex "target remote localhost:1234" -ex "symbol-file kernel.elf"
|
${GDB} -ex "target remote localhost:1234" -ex "symbol-file kernel.elf"
|
||||||
|
|
||||||
# Generic rules for wildcards
|
# Generic rules for wildcards
|
||||||
|
@ -27,7 +27,7 @@ run: os-image.bin
|
|||||||
|
|
||||||
# Open the connection to qemu and load our kernel-object file with symbols
|
# Open the connection to qemu and load our kernel-object file with symbols
|
||||||
debug: os-image.bin kernel.elf
|
debug: os-image.bin kernel.elf
|
||||||
qemu-system-i386 -s -fda os-image.bin &
|
qemu-system-i386 -s -S -fda os-image.bin &
|
||||||
${GDB} -ex "target remote localhost:1234" -ex "symbol-file kernel.elf"
|
${GDB} -ex "target remote localhost:1234" -ex "symbol-file kernel.elf"
|
||||||
|
|
||||||
# Generic rules for wildcards
|
# Generic rules for wildcards
|
||||||
|
@ -27,7 +27,7 @@ run: os-image.bin
|
|||||||
|
|
||||||
# Open the connection to qemu and load our kernel-object file with symbols
|
# Open the connection to qemu and load our kernel-object file with symbols
|
||||||
debug: os-image.bin kernel.elf
|
debug: os-image.bin kernel.elf
|
||||||
qemu-system-i386 -s -fda os-image.bin &
|
qemu-system-i386 -s -S -fda os-image.bin &
|
||||||
${GDB} -ex "target remote localhost:1234" -ex "symbol-file kernel.elf"
|
${GDB} -ex "target remote localhost:1234" -ex "symbol-file kernel.elf"
|
||||||
|
|
||||||
# Generic rules for wildcards
|
# Generic rules for wildcards
|
||||||
|
@ -27,7 +27,7 @@ run: os-image.bin
|
|||||||
|
|
||||||
# Open the connection to qemu and load our kernel-object file with symbols
|
# Open the connection to qemu and load our kernel-object file with symbols
|
||||||
debug: os-image.bin kernel.elf
|
debug: os-image.bin kernel.elf
|
||||||
qemu-system-i386 -s -fda os-image.bin &
|
qemu-system-i386 -s -S -fda os-image.bin &
|
||||||
${GDB} -ex "target remote localhost:1234" -ex "symbol-file kernel.elf"
|
${GDB} -ex "target remote localhost:1234" -ex "symbol-file kernel.elf"
|
||||||
|
|
||||||
# Generic rules for wildcards
|
# Generic rules for wildcards
|
||||||
|
@ -27,7 +27,7 @@ run: os-image.bin
|
|||||||
|
|
||||||
# Open the connection to qemu and load our kernel-object file with symbols
|
# Open the connection to qemu and load our kernel-object file with symbols
|
||||||
debug: os-image.bin kernel.elf
|
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"
|
${GDB} -ex "target remote localhost:1234" -ex "symbol-file kernel.elf"
|
||||||
|
|
||||||
# Generic rules for wildcards
|
# Generic rules for wildcards
|
||||||
|
@ -27,7 +27,7 @@ run: os-image.bin
|
|||||||
|
|
||||||
# Open the connection to qemu and load our kernel-object file with symbols
|
# Open the connection to qemu and load our kernel-object file with symbols
|
||||||
debug: os-image.bin kernel.elf
|
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"
|
${GDB} -ex "target remote localhost:1234" -ex "symbol-file kernel.elf"
|
||||||
|
|
||||||
# Generic rules for wildcards
|
# Generic rules for wildcards
|
||||||
|
@ -28,7 +28,7 @@ run: os-image.bin
|
|||||||
|
|
||||||
# Open the connection to qemu and load our kernel-object file with symbols
|
# Open the connection to qemu and load our kernel-object file with symbols
|
||||||
debug: os-image.bin kernel.elf
|
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"
|
${GDB} -ex "target remote localhost:1234" -ex "symbol-file kernel.elf"
|
||||||
|
|
||||||
# Generic rules for wildcards
|
# Generic rules for wildcards
|
||||||
|
@ -28,7 +28,7 @@ run: os-image.bin
|
|||||||
|
|
||||||
# Open the connection to qemu and load our kernel-object file with symbols
|
# Open the connection to qemu and load our kernel-object file with symbols
|
||||||
debug: os-image.bin kernel.elf
|
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"
|
${GDB} -ex "target remote localhost:1234" -ex "symbol-file kernel.elf"
|
||||||
|
|
||||||
# Generic rules for wildcards
|
# Generic rules for wildcards
|
||||||
|
@ -27,7 +27,7 @@ run: os-image.bin
|
|||||||
|
|
||||||
# Open the connection to qemu and load our kernel-object file with symbols
|
# Open the connection to qemu and load our kernel-object file with symbols
|
||||||
debug: os-image.bin kernel.elf
|
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"
|
${GDB} -ex "target remote localhost:1234" -ex "symbol-file kernel.elf"
|
||||||
|
|
||||||
# Generic rules for wildcards
|
# Generic rules for wildcards
|
||||||
|
Loading…
Reference in New Issue
Block a user