From: Tom de Vries Date: Wed, 8 Jan 2025 11:48:08 +0000 (+0100) Subject: [gdb/testsuite] Require supports_process_record in gdb.reverse/test_ioctl_TCSETSW.exp X-Git-Tag: binutils-2_44~234 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9e5d27a53096033a5749e2001a0eca48e4b8b472;p=thirdparty%2Fbinutils-gdb.git [gdb/testsuite] Require supports_process_record in gdb.reverse/test_ioctl_TCSETSW.exp I ran test-case gdb.reverse/test_ioctl_TCSETSW.exp on riscv64-linux, and got: ... (gdb) record full^M Process record: the current architecture doesn't support record function.^M (gdb) FAIL: gdb.reverse/test_ioctl_TCSETSW.exp: record full ... Fix this by requiring supports_process_record. Tested on riscv64-linux and x86_64-linux. --- diff --git a/gdb/testsuite/gdb.reverse/test_ioctl_TCSETSW.exp b/gdb/testsuite/gdb.reverse/test_ioctl_TCSETSW.exp index f6346bc86bf..6d54683982d 100644 --- a/gdb/testsuite/gdb.reverse/test_ioctl_TCSETSW.exp +++ b/gdb/testsuite/gdb.reverse/test_ioctl_TCSETSW.exp @@ -16,6 +16,8 @@ # Test ioctl TCSETSW record for PowerPC. # +require supports_process_record + standard_testfile .c if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {