Index: gdb/testsuite/gdb.base/watch-non-mem.exp |
diff --git a/gdb/testsuite/gdb.base/watch-non-mem.exp b/gdb/testsuite/gdb.base/watch-non-mem.exp |
index 59351abfd365fe6ac34c4fb1b85c768807a29bb4..7e7e2bc136d7ae9990bd90d59762d26b551e2b80 100644 |
--- a/gdb/testsuite/gdb.base/watch-non-mem.exp |
+++ b/gdb/testsuite/gdb.base/watch-non-mem.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 |
@@ -17,9 +17,7 @@ |
# Tests watchpoints that watch expressions that don't involve memory. |
# |
-set testfile "watch-non-mem" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile |
if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } { |
untested ${testfile}.exp |