mirror of https://gitee.com/openkylin/qemu.git
tests/tcg: add gdb runner variant
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>
This commit is contained in:
parent
fdfda70e28
commit
d0ce6257c6
|
@ -128,6 +128,9 @@ run-%: %
|
|||
"$< on $(TARGET_NAME)")
|
||||
endif
|
||||
|
||||
gdb-%: %
|
||||
gdb --args $(QEMU) $(QEMU_OPTS) $<
|
||||
|
||||
.PHONY: run
|
||||
run: $(RUN_TESTS)
|
||||
|
||||
|
|
Loading…
Reference in New Issue