Added qemu-gdb
target
This commit is contained in:
parent
b8cd346b0a
commit
c03c996a48
20
Makefile
20
Makefile
@ -116,7 +116,19 @@ qemu-remote:
|
|||||||
-serial stdio \
|
-serial stdio \
|
||||||
-fda "$(BUILD)/disk.img"
|
-fda "$(BUILD)/disk.img"
|
||||||
|
|
||||||
# -gdb tcp::26000 \
|
# Same as qemu, but with gdb options
|
||||||
# -S
|
.PHONY: qemu-gdb
|
||||||
# -enable-kvm \
|
qemu-gdb: $(BUILD)/disk.img
|
||||||
# -cpu host \
|
qemu-system-i386 \
|
||||||
|
-d cpu_reset \
|
||||||
|
-no-reboot \
|
||||||
|
-smp 1 -m 2048 \
|
||||||
|
-machine q35 \
|
||||||
|
-net none \
|
||||||
|
-serial stdio \
|
||||||
|
-fda "$<" \
|
||||||
|
-gdb tcp::26000 \
|
||||||
|
-S
|
||||||
|
|
||||||
|
# Do not use `-enable-kvm` or `-cpu host`,
|
||||||
|
# this confuses gdb.
|
Loading…
x
Reference in New Issue
Block a user