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:
Alex Bennée 2019-02-27 15:42:18 +00:00
parent fdfda70e28
commit d0ce6257c6
1 changed files with 3 additions and 0 deletions

View File

@ -128,6 +128,9 @@ run-%: %
"$< on $(TARGET_NAME)")
endif
gdb-%: %
gdb --args $(QEMU) $(QEMU_OPTS) $<
.PHONY: run
run: $(RUN_TESTS)