reverse_debugging no longer depends on Avocado, so remove the import checks for Avocado, the per-arch endianness tweaks, and the per-arch register settings. All of these are now handled in the ReverseDebugging class, automatically. Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org> Message-ID: <20251003141820.85278-10-gustavo.romero@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
31 lines
839 B
Python
Executable file
31 lines
839 B
Python
Executable file
#!/usr/bin/env python3
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Reverse debugging test for x86_64
|
|
#
|
|
# Copyright (c) 2020 ISP RAS
|
|
# Copyright (c) 2025 Linaro Limited
|
|
#
|
|
# Author:
|
|
# Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
|
|
# Gustavo Romero <gustavo.romero@linaro.org> (Run without Avocado)
|
|
#
|
|
# This work is licensed under the terms of the GNU GPL, version 2 or
|
|
# later. See the COPYING file in the top-level directory.
|
|
|
|
from qemu_test import skipFlakyTest
|
|
from reverse_debugging import ReverseDebugging
|
|
|
|
|
|
class ReverseDebugging_X86_64(ReverseDebugging):
|
|
|
|
@skipFlakyTest("https://gitlab.com/qemu-project/qemu/-/issues/2922")
|
|
def test_x86_64_pc(self):
|
|
self.set_machine('pc')
|
|
# start with BIOS only
|
|
self.reverse_debugging(gdb_arch='x86-64')
|
|
|
|
|
|
if __name__ == '__main__':
|
|
ReverseDebugging.main()
|