From d0ce6257c660d202aff160eedbc359e1e8653a30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Wed, 27 Feb 2019 15:42:18 +0000 Subject: tests/tcg: add gdb runner variant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With this you can launch a test in gdb with: cd $(BUILD)/tests make -f $(SRC)/tests/tcg/Makefile gdb-$(TEST_NAME) Signed-off-by: Alex Bennée --- tests/tcg/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/tcg') 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) -- cgit v1.2.3