summaryrefslogtreecommitdiff
path: root/tests/tcg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/Makefile')
-rw-r--r--tests/tcg/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tcg/Makefile b/tests/tcg/Makefile
index d26a36df61..8dfd1a76b9 100644
--- a/tests/tcg/Makefile
+++ b/tests/tcg/Makefile
@@ -128,6 +128,9 @@ run-%: %
"$< on $(TARGET_NAME)")
endif
+gdb-%: %
+ gdb --args $(QEMU) $(QEMU_OPTS) $<
+
.PHONY: run
run: $(RUN_TESTS)