[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 05/21] tests/tcg: add gdb runner variant
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PATCH v4 05/21] tests/tcg: add gdb runner variant |
Date: |
Tue, 12 Mar 2019 15:59:31 +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 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)
--
2.20.1
- [Qemu-devel] [PATCH v4 09/21] tests/tcg/arm: add ARMv6-M UNDEFINED 32-bit instruction test, (continued)
- [Qemu-devel] [PATCH v4 09/21] tests/tcg/arm: add ARMv6-M UNDEFINED 32-bit instruction test, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 02/21] tests/tcg: enable tcg tests for softmmu, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 07/21] tests/docker: add debian-xtensa-cross image, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 11/21] tests/tcg/cris: cleanup sys.c, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 06/21] tests/tcg/mips: fix hello-mips compilation, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 03/21] tests/tcg: add QEMU_OPT option for test runner, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 01/21] tests/tcg: add softmmu awareness to Makefile, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 12/21] tests/tcg: split cris tests into bare and libc directories, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 13/21] tests/tcg/cris: comment out the ccs test, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 04/21] tests/tcg: split run-test into user and system variants, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 05/21] tests/tcg: add gdb runner variant,
Alex Bennée <=
- [Qemu-devel] [PATCH v4 21/21] .travis.yml: add softmmu check-tcg tests, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 20/21] .travis.yml: separate softfloat from check-tcg, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 18/21] tests/tcg/i386: add memory test to exercise softmmu, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 15/21] tests/tcg: enable cris base user-mode tests, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 14/21] tests/tcg/cris: align mul operations, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 19/21] tests/tcg/arm: account for pauth randomness, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 16/21] tests/tcg: provide a minilib for system tests, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v4 17/21] tests/tcg/i386: add system mode Hello World test, Alex Bennée, 2019/03/12