aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/info-fun.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/info-fun.exp')
-rw-r--r--gdb/testsuite/gdb.base/info-fun.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/info-fun.exp b/gdb/testsuite/gdb.base/info-fun.exp
index 683c732..c14d87b 100644
--- a/gdb/testsuite/gdb.base/info-fun.exp
+++ b/gdb/testsuite/gdb.base/info-fun.exp
@@ -13,9 +13,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
require allow_shlib_tests
-if { [is_remote target] } {
- return 0
-}
+require {!is_remote target}
# Library file.
set libname "info-fun-solib"