Index: gdb/testsuite/gdb.base/permissions.exp |
diff --git a/gdb/testsuite/gdb.base/permissions.exp b/gdb/testsuite/gdb.base/permissions.exp |
index e173b77c4dbe195cc2f555cfb870c81748e63aff..9930674a712991619c675b3c42ec96a87152d768 100644 |
--- a/gdb/testsuite/gdb.base/permissions.exp |
+++ b/gdb/testsuite/gdb.base/permissions.exp |
@@ -27,7 +27,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb |
return -1 |
} |
-if [get_compiler_info $binfile] { |
+if [get_compiler_info] { |
return -1 |
} |