diff options
author | Lirong Yuan <yuanzi@google.com> | 2021-01-08 22:42:42 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2021-01-18 10:04:48 +0000 |
commit | 51c623b0de11df2d0a23f15d7484d4f940ed6142 (patch) | |
tree | 7b600b2dae3a85d9634c9f745c6efd04cfbfeeb3 /tests/tcg/multiarch/Makefile.target | |
parent | c00506aa26e975918483d0d1fe17a2192d19098a (diff) | |
download | qemu-51c623b0de11df2d0a23f15d7484d4f940ed6142.zip qemu-51c623b0de11df2d0a23f15d7484d4f940ed6142.tar.gz qemu-51c623b0de11df2d0a23f15d7484d4f940ed6142.tar.bz2 |
gdbstub: add support to Xfer:auxv:read: packet
This allows gdb to access the target’s auxiliary vector,
which can be helpful for telling system libraries important details
about the hardware, operating system, and process.
Signed-off-by: Lirong Yuan <yuanzi@google.com>
[AJB: minor tweaks to test case, update MAINTAINERS, restrict to Linux]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200730193932.3654677-1-yuanzi@google.com>
Message-Id: <20210108224256.2321-7-alex.bennee@linaro.org>
Diffstat (limited to 'tests/tcg/multiarch/Makefile.target')
-rw-r--r-- | tests/tcg/multiarch/Makefile.target | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/tcg/multiarch/Makefile.target b/tests/tcg/multiarch/Makefile.target index cb49cc9..1dd0f64 100644 --- a/tests/tcg/multiarch/Makefile.target +++ b/tests/tcg/multiarch/Makefile.target @@ -55,6 +55,15 @@ run-gdbstub-sha1: sha1 "basic gdbstub support") EXTRA_RUNS += run-gdbstub-sha1 + +run-gdbstub-qxfer-auxv-read: sha1 + $(call run-test, $@, $(GDB_SCRIPT) \ + --gdb $(HAVE_GDB_BIN) \ + --qemu $(QEMU) --qargs "$(QEMU_OPTS)" \ + --bin $< --test $(MULTIARCH_SRC)/gdbstub/test-qxfer-auxv-read.py, \ + "basic gdbstub qXfer:auxv:read support") + +EXTRA_RUNS += run-gdbstub-sha1 run-gdbstub-qxfer-auxv-read endif |