]> git.proxmox.com Git - mirror_qemu.git/commit
gdbstub: implement a softmmu based test
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 8 Jan 2021 22:42:41 +0000 (22:42 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 18 Jan 2021 10:04:31 +0000 (10:04 +0000)
commitc00506aa26e975918483d0d1fe17a2192d19098a
tree761a7ab40fab085ac63390e29168b2bee1112ec3
parent9559150e86518d0c7f4eb864e525b6e385fa8a4d
gdbstub: implement a softmmu based test

This adds a new tests that allows us to test softmmu only features
including watchpoints. To do achieve this we need to:

  - add _exit: labels to the boot codes
  - write a memory.py test case
  - plumb the test case into the build system
  - tweak the run_test script to:
    - re-direct output when asked
    - use socket based connection for all tests
    - add a small pause before connection

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210108224256.2321-6-alex.bennee@linaro.org>
tests/guest-debug/run-test.py
tests/tcg/aarch64/Makefile.softmmu-target
tests/tcg/aarch64/system/boot.S
tests/tcg/i386/Makefile.softmmu-target
tests/tcg/i386/system/boot.S
tests/tcg/multiarch/gdbstub/memory.py [new file with mode: 0644]
tests/tcg/multiarch/system/Makefile.softmmu-target
tests/tcg/x86_64/Makefile.softmmu-target
tests/tcg/x86_64/system/boot.S