Testsuite: fully migrate to use_gdb_stub convenience func
[binutils-gdb.git] / gdb / testsuite / gdb.base / solib-nodir.exp
index 42314c828083811799fcab7cda13901688de1d4e..911d614063fb17f9db56803a87e3144cc0ebd626 100644 (file)
@@ -25,7 +25,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 [target_info exists use_gdb_stub] {
+if [use_gdb_stub] {
     return
 }