Index: gdb/testsuite/gdb.ada/watch_arg.exp |
diff --git a/gdb/testsuite/gdb.ada/watch_arg.exp b/gdb/testsuite/gdb.ada/watch_arg.exp |
index 1cb9ecaf494ea75f5a16ada1bf3715270889081a..31b26df2ea58b915202b1a7efd0a346bb394e6ea 100644 |
--- a/gdb/testsuite/gdb.ada/watch_arg.exp |
+++ b/gdb/testsuite/gdb.ada/watch_arg.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2006-2012 Free Software Foundation, Inc. |
+# Copyright 2006-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,12 +17,8 @@ load_lib "ada.exp" |
if { [skip_ada_tests] } { return -1 } |
-set testdir "watch_arg" |
-set testfile "${testdir}/watch" |
-set srcfile ${srcdir}/${subdir}/${testfile}.adb |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_ada_testfile watch |
-file mkdir ${objdir}/${subdir}/${testdir} |
if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} { |
return -1 |
} |