Files
qemu/tests/functional/s390x/test_reverse_debug.py
Thomas Huth f397b7652d tests/functional/s390x: Add reverse debugging test for s390x
We just have to make sure that we can set the endianness to big endian,
then we can also run this test on s390x.

Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20251128133949.181828-1-thuth@redhat.com>
2026-01-12 13:56:28 +01:00

22 lines
474 B
Python
Executable File

#!/usr/bin/env python3
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''
Reverse debugging test for s390x
'''
from reverse_debugging import ReverseDebugging
class ReverseDebuggingS390x(ReverseDebugging):
def test_revdbg(self):
self.set_machine('s390-ccw-virtio')
self.reverse_debugging(gdb_arch='s390:64-bit', shift=6,
big_endian=True, args=('-no-shutdown',))
if __name__ == '__main__':
ReverseDebugging.main()