X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.ada%2Fref_param.exp;h=e465b643281b5fd1f6666b018877d14da551c69a;hb=e2882c85786571175a0b0bfc3bcd2f14620b1ea3;hp=53a13861b76337012db0c27859b0b19f47061de8;hpb=f6978de9f5df575df336f7044d1a7611a5f6182e;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/gdb.ada/ref_param.exp b/gdb/testsuite/gdb.ada/ref_param.exp index 53a13861b7..e465b64328 100644 --- a/gdb/testsuite/gdb.ada/ref_param.exp +++ b/gdb/testsuite/gdb.ada/ref_param.exp @@ -1,4 +1,4 @@ -# Copyright 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright 2008-2018 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 @@ -13,26 +13,15 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -if $tracelevel then { - strace $tracelevel -} - load_lib "ada.exp" -set testdir "ref_param" -set testfile "${testdir}/foo" -set srcfile ${srcdir}/${subdir}/${testfile}.adb -set binfile ${objdir}/${subdir}/${testfile} +standard_ada_testfile foo -file mkdir ${objdir}/${subdir}/${testdir} if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } { return -1 } -gdb_exit -gdb_start -gdb_reinitialize_dir $srcdir/$subdir -gdb_load ${binfile} +clean_restart ${testfile} if ![runto call_me] then { perror "Couldn't run ${testfile}"