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>
22 lines
474 B
Python
Executable File
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()
|