tests/tcg: relax the next step precision of the gdb sha1 test
commit1cb8d12f79a6d063455eb43ddf3f2855932b5384
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 1 Apr 2021 10:25:26 +0000 (1 11:25 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 6 Apr 2021 14:04:42 +0000 (6 15:04 +0100)
tree3208f9fea029c6baa235857022becc011e7c983d
parent631f112f42506c31b3ad4f31d8cd8386fc170519
tests/tcg: relax the next step precision of the gdb sha1 test

Depending on the version of gdb we may not execute the first line of
SHA1Init when executing the first "next" command - instead just
stepping over the preamble. As we don't actually care about the
position of the PC after the steps and want to be sure the
context->state[] has been loaded before we inspect it do a double next
at the start.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210401102530.12030-8-alex.bennee@linaro.org>
tests/tcg/multiarch/gdbstub/sha1.py