mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
Improve QEMU debugging setup
This commit is contained in:
4
Makefile
4
Makefile
@@ -95,7 +95,7 @@ MOD_TARGETS :=
|
|||||||
PARTED ?= /sbin/parted
|
PARTED ?= /sbin/parted
|
||||||
QEMU ?= qemu-system-x86_64
|
QEMU ?= qemu-system-x86_64
|
||||||
GDBPORT ?= 27006
|
GDBPORT ?= 27006
|
||||||
CPUS ?= 2
|
CPUS ?= 1
|
||||||
OVMF ?= assets/ovmf/x64/OVMF.fd
|
OVMF ?= assets/ovmf/x64/OVMF.fd
|
||||||
|
|
||||||
QEMUOPTS := -pflash $(BUILD_D)/flash.img
|
QEMUOPTS := -pflash $(BUILD_D)/flash.img
|
||||||
@@ -211,6 +211,6 @@ qemu-window: $(BUILD_D)/fs.img $(BUILD_D)/flash.img
|
|||||||
"$(QEMU)" $(QEMUOPTS)
|
"$(QEMU)" $(QEMUOPTS)
|
||||||
|
|
||||||
qemu-gdb: $(BUILD_D)/fs.img $(BUILD_D)/boot.debug.efi $(BUILD_D)/flash.img $(BUILD_D)/kernel.elf
|
qemu-gdb: $(BUILD_D)/fs.img $(BUILD_D)/boot.debug.efi $(BUILD_D)/flash.img $(BUILD_D)/kernel.elf
|
||||||
"$(QEMU)" $(QEMUOPTS) -S -D popcorn-qemu.log -s -nographic
|
"$(QEMU)" $(QEMUOPTS) -d mmu,guest_errors,page -D popcorn.log -s -nographic
|
||||||
|
|
||||||
# vim: ft=make ts=4
|
# vim: ft=make ts=4
|
||||||
|
|||||||
Reference in New Issue
Block a user