From e703e976b43138153e1b595733c8e691b3d3740e Mon Sep 17 00:00:00 2001 From: yuchen Date: Tue, 10 Mar 2015 23:05:44 +0800 Subject: [PATCH] ADD make log IN Makefile --- labcodes/lab1/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/labcodes/lab1/Makefile b/labcodes/lab1/Makefile index d7e7daf..a7feba1 100644 --- a/labcodes/lab1/Makefile +++ b/labcodes/lab1/Makefile @@ -211,7 +211,8 @@ qemu-mon: $(UCOREIMG) $(V)$(QEMU) -no-reboot -monitor stdio -hda $< -serial null qemu: $(UCOREIMG) $(V)$(QEMU) -no-reboot -parallel stdio -hda $< -serial null - +log: $(UCOREIMG) + $(V)$(QEMU) -no-reboot -d int,cpu_reset -D q.log -parallel stdio -hda $< -serial null qemu-nox: $(UCOREIMG) $(V)$(QEMU) -no-reboot -serial mon:stdio -hda $< -nographic TERMINAL :=gnome-terminal