]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Require supports_process_record in gdb.reverse/test_ioctl_TCSETSW.exp
authorTom de Vries <tdevries@suse.de>
Wed, 8 Jan 2025 11:48:08 +0000 (12:48 +0100)
committerTom de Vries <tdevries@suse.de>
Wed, 8 Jan 2025 11:48:08 +0000 (12:48 +0100)
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.

gdb/testsuite/gdb.reverse/test_ioctl_TCSETSW.exp

index f6346bc86bf581af25eee50f254c773ba968f972..6d54683982d116e5214e5d0a9157b0da92f83a06 100644 (file)
@@ -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}] } {