aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/prelink.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-14 10:11:33 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:56 -0700
commit78a1c061b2ad49c687ca1ecc4e87acadfad37e1f (patch)
treed05c49fb81f2a2ff0adb818a93f80f211868be27 /gdb/testsuite/gdb.base/prelink.exp
parentba16d4d85f053d8a533b0c40218f4d681f6eebd5 (diff)
downloadgdb-78a1c061b2ad49c687ca1ecc4e87acadfad37e1f.zip
gdb-78a1c061b2ad49c687ca1ecc4e87acadfad37e1f.tar.gz
gdb-78a1c061b2ad49c687ca1ecc4e87acadfad37e1f.tar.bz2
Use require !skip_shlib_tests
This changes some tests to use "require !skip_shlib_tests". This patch cleans up a few spots that were missed in the earlier patch.
Diffstat (limited to 'gdb/testsuite/gdb.base/prelink.exp')
-rw-r--r--gdb/testsuite/gdb.base/prelink.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/prelink.exp b/gdb/testsuite/gdb.base/prelink.exp
index 9c5b777b..1e40aec 100644
--- a/gdb/testsuite/gdb.base/prelink.exp
+++ b/gdb/testsuite/gdb.base/prelink.exp
@@ -19,8 +19,8 @@
# This file was written by Alexandre Oliva <aoliva@redhat.com>
-require isnative
-if { [is_remote host] || [skip_shlib_tests]} {
+require isnative !skip_shlib_tests
+if { [is_remote host] } {
return
}