aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/solib-vanish.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/solib-vanish.exp')
-rw-r--r--gdb/testsuite/gdb.base/solib-vanish.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/solib-vanish.exp b/gdb/testsuite/gdb.base/solib-vanish.exp
index e2280b9..5e6b9cb 100644
--- a/gdb/testsuite/gdb.base/solib-vanish.exp
+++ b/gdb/testsuite/gdb.base/solib-vanish.exp
@@ -53,9 +53,7 @@
# 1) GDB does not segfault when stepping
# 2) The stack frame is printed
-if { [skip_shlib_tests] } {
- return 0
-}
+require !skip_shlib_tests
# Library 2
set lib2name "solib-vanish-lib2"