实验2环境初始化

This commit is contained in:
2024-04-14 19:15:43 +08:00
parent 3d58264759
commit be3ec804e8
4 changed files with 8 additions and 5 deletions

View File

@@ -202,7 +202,7 @@ endif
# files for grade script
targets: $(TARGETS)
all: $(TARGETS)
.DEFAULT_GOAL := targets
QEMUOPTS = -hda $(UCOREIMG)
@@ -217,7 +217,8 @@ qemu-nox: targets
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
TERMINAL := gnome-terminal
gdb: $(UCOREIMG)
$(V)$(QEMU) -S -s -parallel stdio -hda $< -serial null
debug: $(UCOREIMG)
$(V)$(QEMU) -S -s -parallel stdio $(QEMUOPTS) -serial null &
$(V)sleep 2