[pushed] [gdb/testsuite] Require supports_process_record in gdb.reverse/test_ioctl_TCSETSW.exp
Tom de Vries
tdevries@suse.de
Wed Jan 8 11:48:35 GMT 2025
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 | 2 ++
1 file changed, 2 insertions(+)
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}] } {
base-commit: 19ca41656eef546957d707aa086ab196f0890c51
--
2.43.0
More information about the Gdb-patches
mailing list