aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/solib-nodir.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-14 10:02:49 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:56 -0700
commit8ce7423fda0c4b148cc0a48c68ba103476f3f5b7 (patch)
treea375e761ecf34f506d0695be1087a1a049549d37 /gdb/testsuite/gdb.base/solib-nodir.exp
parent1b1f4ab760127c31d520811e2858277bb7f651e2 (diff)
downloadbinutils-8ce7423fda0c4b148cc0a48c68ba103476f3f5b7.zip
binutils-8ce7423fda0c4b148cc0a48c68ba103476f3f5b7.tar.gz
binutils-8ce7423fda0c4b148cc0a48c68ba103476f3f5b7.tar.bz2
Use require !use_gdb_stub
This changes some tests to use "require !use_gdb_stub".
Diffstat (limited to 'gdb/testsuite/gdb.base/solib-nodir.exp')
-rw-r--r--gdb/testsuite/gdb.base/solib-nodir.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/solib-nodir.exp b/gdb/testsuite/gdb.base/solib-nodir.exp
index 62075cb..a8b205a 100644
--- a/gdb/testsuite/gdb.base/solib-nodir.exp
+++ b/gdb/testsuite/gdb.base/solib-nodir.exp
@@ -23,9 +23,7 @@ if [is_remote target] {
# We need to be able to influence the target's environment and working
# directory. Can't do that if when we connect the inferior is already
# running.
-if [use_gdb_stub] {
- return
-}
+require !use_gdb_stub
set testfile "solib-nodir"
# Arbitrary file, possibly not containing main, even an empty one.