[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [PATCH v2 04/16] tests/tcg: add gdb runner variant
From: |
Alex Bennée |
Subject: |
[Qemu-arm] [PATCH v2 04/16] tests/tcg: add gdb runner variant |
Date: |
Thu, 28 Feb 2019 20:25:25 +0000 |
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 <address@hidden>
---
tests/tcg/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/tcg/Makefile b/tests/tcg/Makefile
index 097e6374ea..47f4298e68 100644
--- a/tests/tcg/Makefile
+++ b/tests/tcg/Makefile
@@ -113,6 +113,9 @@ RUN_TESTS+=$(EXTRA_RUNS)
run-%: %
$(call run-test, $<, $(QEMU) $(QEMU_OPTS) $<, "$< on $(TARGET_NAME)")
+gdb-%: %
+ gdb --args $(QEMU) $(QEMU_OPTS) $<
+
.PHONY: run
run: $(RUN_TESTS)
--
2.20.1
- [Qemu-arm] [PATCH v2 00/16] Enabling tcg/tests for cris and system mode xtensa & arm, Alex Bennée, 2019/02/28
- [Qemu-arm] [PATCH v2 01/16] tests/tcg: add softmmu awareness to Makefile, Alex Bennée, 2019/02/28
- [Qemu-arm] [PATCH v2 02/16] tests/tcg: enable tcg tests for softmmu, Alex Bennée, 2019/02/28
- [Qemu-arm] [PATCH v2 03/16] tests/tcg: add QEMU_OPT option for test runner, Alex Bennée, 2019/02/28
- [Qemu-arm] [PATCH v2 04/16] tests/tcg: add gdb runner variant,
Alex Bennée <=
- [Qemu-arm] [PATCH v2 05/16] tests/tcg/mips: fix hello-mips compilation, Alex Bennée, 2019/02/28
- [Qemu-arm] [PATCH v2 07/16] tests/tcg/xtensa: enable system tests, Alex Bennée, 2019/02/28
- Re: [Qemu-arm] [PATCH v2 07/16] tests/tcg/xtensa: enable system tests, Max Filippov, 2019/02/28
- [Qemu-arm] [PATCH v2 08/16] tests/tcg/arm: add ARMv6-M UNDEFINED 32-bit instruction test, Alex Bennée, 2019/02/28
- [Qemu-arm] [PATCH v2 06/16] tests/docker: add debian-xtensa-cross image, Alex Bennée, 2019/02/28