Testsuite: fully migrate to use_gdb_stub convenience func
[binutils-gdb.git] / gdb / testsuite / gdb.base / break-interp.exp
index 460e5f6cf41eec1b25f9555686aee91b21638e52..72117cb4a6f0ece54b95fbe797d09ad1157940e4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2010-2017 Free Software Foundation, Inc.
+# Copyright 2010-2018 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -14,7 +14,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # This test only works on GNU/Linux.
-if { ![isnative] || [is_remote host] || [target_info exists use_gdb_stub]
+if { ![isnative] || [is_remote host] || [use_gdb_stub]
      || ![istarget *-linux*] || [skip_shlib_tests]} {
     continue
 }