]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.threads/attach-stopped.exp
Use require !use_gdb_stub
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.threads / attach-stopped.exp
index 51391acae39679c51edfb79844252a38ad04dc42..3904d4c087b9694d4d74b591cce3ef56511bb1d1 100644 (file)
@@ -18,8 +18,8 @@
 # This file was updated by Jan Kratochvil <jan.kratochvil@redhat.com>.
 
 # This test only works on Linux
-if { ![isnative] || [is_remote host] || [use_gdb_stub]
-     || ![istarget *-linux*] } {
+require !use_gdb_stub
+if { ![isnative] || [is_remote host] || ![istarget *-linux*] } {
     return
 }