aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/watchpoints.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/watchpoints.exp')
-rw-r--r--gdb/testsuite/gdb.base/watchpoints.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/watchpoints.exp b/gdb/testsuite/gdb.base/watchpoints.exp
index 8edd62c..57500b0 100644
--- a/gdb/testsuite/gdb.base/watchpoints.exp
+++ b/gdb/testsuite/gdb.base/watchpoints.exp
@@ -22,7 +22,7 @@ set binfile ${objdir}/${subdir}/${testfile}
set wp_set 1
-if [get_compiler_info ${binfile}] {
+if [get_compiler_info] {
return -1
}