From adc316af6e482e6444a9bd68bafc3a57e2cafdbc Mon Sep 17 00:00:00 2001 From: Zihao Yu Date: Wed, 20 Oct 2021 12:56:40 +0800 Subject: [PATCH] cpu-tests,Makefile: support target `gdb` --- tests/cpu-tests/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/cpu-tests/Makefile b/tests/cpu-tests/Makefile index 9792737..7e482af 100644 --- a/tests/cpu-tests/Makefile +++ b/tests/cpu-tests/Makefile @@ -1,4 +1,4 @@ -.PHONY: all run clean latest $(ALL) +.PHONY: all run gdb clean latest $(ALL) RESULT = .result $(shell > $(RESULT)) @@ -27,6 +27,8 @@ run: all @cat $(RESULT) @rm $(RESULT) +gdb: all + clean: rm -rf Makefile.* build/