summaryrefslogtreecommitdiffstats
path: root/tests/tcg/multiarch/gdbstub/sha1.py
diff options
context:
space:
mode:
authorPeter Maydell2021-04-08 12:39:53 +0200
committerPeter Maydell2021-04-08 12:39:53 +0200
commit9692c7b0373677badcf8bb299ab8e2597244d436 (patch)
tree74c5584b8ed4a610fc5779cc293f8afb7f8ec042 /tests/tcg/multiarch/gdbstub/sha1.py
parentMerge remote-tracking branch 'remotes/nvme/tags/nvme-fixes-20210407-pull-requ... (diff)
parentgitlab-ci.yml: Test the dtrace backend in one of the jobs (diff)
downloadqemu-9692c7b0373677badcf8bb299ab8e2597244d436.tar.gz
qemu-9692c7b0373677badcf8bb299ab8e2597244d436.tar.xz
qemu-9692c7b0373677badcf8bb299ab8e2597244d436.zip
Merge remote-tracking branch 'remotes/stsquad/tags/pull-6.0-rc2-fixes-060421-1' into staging
Testing updates: - fix x86_64 cross compilers - don't use registry for non-x86 containers - add valid host types for given cross compile containers - clean up i386 code16 test with explicit -no-pie - relax sha1.py gdbstub test - add more gdbstub documentation - remove annoying warning on gitlab - test dtrace backend in gitlab # gpg: Signature made Tue 06 Apr 2021 15:55:53 BST # gpg: using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44 # gpg: Good signature from "Alex Bennée (Master Work Key) <alex.bennee@linaro.org>" [full] # Primary key fingerprint: 6685 AE99 E751 67BC AFC8 DF35 FBD0 DB09 5A9E 2A44 * remotes/stsquad/tags/pull-6.0-rc2-fixes-060421-1: gitlab-ci.yml: Test the dtrace backend in one of the jobs gitlab-ci.yml: Fix the filtering for the git submodules docs/system/gdb.rst: Document how to debug multicore machines docs/system/gdb.rst: Add some more heading structure tests/tcg: relax the next step precision of the gdb sha1 test tests/tcg/i386: force -fno-pie for test-i386 tests/tcg/i386: expand .data sections for system tests tests/tcg/configure.sh: make sure we pick up x86_64 cross compilers tests/tcg: add concept of container_hosts tests/docker: don't set DOCKER_REGISTRY on non-x86_64 tests/tcg: update the defaults for x86 compilers Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/tcg/multiarch/gdbstub/sha1.py')
-rw-r--r--tests/tcg/multiarch/gdbstub/sha1.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/tcg/multiarch/gdbstub/sha1.py b/tests/tcg/multiarch/gdbstub/sha1.py
index 2bfde49633..423b720e6d 100644
--- a/tests/tcg/multiarch/gdbstub/sha1.py
+++ b/tests/tcg/multiarch/gdbstub/sha1.py
@@ -40,7 +40,10 @@ def run_test():
check_break("SHA1Init")
- # check step and inspect values
+ # Check step and inspect values. We do a double next after the
+ # breakpoint as depending on the version of gdb we may step the
+ # preamble and not the first actual line of source.
+ gdb.execute("next")
gdb.execute("next")
val_ctx = gdb.parse_and_eval("context->state[0]")
exp_ctx = 0x67452301