aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-08 11:41:19 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:58 -0700
commit4675859351582f017b495ff13fb2ea72a99834af (patch)
treee1ef4c4f4ac200efccb38cdf9617358187f10a82 /gdb/testsuite/lib
parente379cbb128e3e672af03bdbb97e6e4085925d1bc (diff)
downloadgdb-4675859351582f017b495ff13fb2ea72a99834af.zip
gdb-4675859351582f017b495ff13fb2ea72a99834af.tar.gz
gdb-4675859351582f017b495ff13fb2ea72a99834af.tar.bz2
Rename to allow_ifunc_tests
This changes skip_ifunc_tests to invert the sense, and renames it to allow_ifunc_tests.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/gdb.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 7143908..3a1936f 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -3972,17 +3972,17 @@ gdb_caching_proc has_int128_cxx {
return [gdb_int128_helper c++]
}
-# Return true if the IFUNC feature is unsupported.
-gdb_caching_proc skip_ifunc_tests {
+# Return true if the IFUNC feature is supported.
+gdb_caching_proc allow_ifunc_tests {
if [gdb_can_simple_compile ifunc {
extern void f_ ();
typedef void F (void);
F* g (void) { return &f_; }
void f () __attribute__ ((ifunc ("g")));
} object] {
- return 0
- } else {
return 1
+ } else {
+ return 0
}
}