Index: gdb/testsuite/gdb.ada/dyn_loc.exp |
diff --git a/gdb/testsuite/gdb.ada/dyn_loc.exp b/gdb/testsuite/gdb.ada/dyn_loc.exp |
index 1f7b9c2ca9999ebceb0ca0e1725f3554efba03be..23b9e5e599443953b26a0a11f306b7a1b8cf82c3 100644 |
--- a/gdb/testsuite/gdb.ada/dyn_loc.exp |
+++ b/gdb/testsuite/gdb.ada/dyn_loc.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 |
@@ -15,12 +15,8 @@ |
load_lib "ada.exp" |
-set testdir "dyn_loc" |
-set testfile "${testdir}/p" |
-set srcfile ${srcdir}/${subdir}/${testfile}.adb |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_ada_testfile p |
-file mkdir ${objdir}/${subdir}/${testdir} |
if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } { |
return -1 |
} |