tests/tcg: ensure system-mode gdb tests start stopped
commitdad1036f43b55c68eb76e73ef771b252ec764b14
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 10 Aug 2023 15:36:38 +0000 (10 16:36 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 10 Aug 2023 18:04:34 +0000 (10 11:04 -0700)
tree899b4e8da28779a12f7a9dec5eeed78ac3b42d3a
parent6a2c23ddeb5bc8883c227ce1a3ff22e9978291af
tests/tcg: ensure system-mode gdb tests start stopped

Without -S we run into potential races with tests starting before the
gdbstub attaches. We don't need to worry about user-mode as enabling
the gdbstub implies we wait for the initial connection.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230810153640.1879717-7-alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tests/guest-debug/run-test.py