* lib/ada.exp (standard_ada_testfile): New proc.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.ada / nested.exp
index aa182cf166da90019e3213ede121993188df0cc0..33ea5217206c1b08aa0b56079ef18105dd25133b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2007, 2009, 2010, 2011 Free Software Foundation, Inc.
+# Copyright 2007, 2009-2012 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
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-if $tracelevel then {
-    strace $tracelevel
-}
-
 load_lib "ada.exp"
 
-set testdir "nested"
-set testfile "${testdir}/hello"
-set srcfile ${srcdir}/${subdir}/${testfile}.adb
-set binfile ${objdir}/${subdir}/${testfile}
+standard_ada_testfile hello
 
-file mkdir ${objdir}/${subdir}/${testdir}
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
   return -1
 }
This page took 0.024321 seconds and 4 git commands to generate.