Index: gdb/testsuite/gdb.base/watch-cond-infcall.exp |
diff --git a/gdb/testsuite/gdb.base/watch-cond-infcall.exp b/gdb/testsuite/gdb.base/watch-cond-infcall.exp |
index 1c83da56591c0c95cab586211a7f2f787f1ab1e9..5dcec5b6f4196f1d50c83de04c4a5f63a667a17e 100644 |
--- a/gdb/testsuite/gdb.base/watch-cond-infcall.exp |
+++ b/gdb/testsuite/gdb.base/watch-cond-infcall.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2010-2012 Free Software Foundation, Inc. |
+# Copyright 2010-2013 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 |
@@ -16,9 +16,7 @@ |
# Test for watchpoints with conditions that involve inferior function |
# calls. |
-set testfile "watch-cond-infcall" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile |
if { [build_executable ${testfile}.exp ${testfile} ${testfile}.c {debug}] } { |
untested ${testfile}.exp |