projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdfda70
)
tests/tcg: add gdb runner variant
author
Alex Bennée
<alex.bennee@linaro.org>
Wed, 27 Feb 2019 15:42:18 +0000
(15:42 +0000)
committer
Alex Bennée
<alex.bennee@linaro.org>
Tue, 12 Mar 2019 17:05:21 +0000
(17:05 +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 <alex.bennee@linaro.org>
tests/tcg/Makefile
patch
|
blob
|
history
diff --git
a/tests/tcg/Makefile
b/tests/tcg/Makefile
index d26a36df61be86312318f811ac39054d3c395c74..8dfd1a76b9131ca7601068d872ae8c5fb0457f52 100644
(file)
--- 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)