]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/guest-debug: better handle gdb crashes
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 19 Apr 2022 09:10:20 +0000 (10:10 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 20 Apr 2022 15:04:20 +0000 (16:04 +0100)
commitcaccf599181e2ea5f236345de9d9957a4c23e5ec
tree899db934099a1df91ca2b9668b7ac4cfdf2501c3
parente618e1f9b4cbb3803bbe70fae30a0fa4960f384d
tests/guest-debug: better handle gdb crashes

There are a number of GDB's on various distros which fail fairly hard
when attempting to talk to a cross-arch guest. The previous attempt to
catch this was incorrect as the shell will deliver signals as 128+n.
Fix the detection and while we are it improve the logging we dump into
the test output.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reported-by: Gautam Agrawal <gautamnagrawal@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-26-alex.bennee@linaro.org>
tests/guest-debug/run-test.py