X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.dwarf2%2Fdw2-anonymous-func.exp;h=7b43eab5b104a5c4d4fbd673ebec11062e531739;hb=618f726fcb851883a0094aa7fa17003889b7189f;hp=029104b4c1fccdcf24bb17de5443e78e57c92695;hpb=3fae92fc2aed37c78df4610f3c52e2fc242846b0;p=thirdparty%2Fbinutils-gdb.git diff --git a/gdb/testsuite/gdb.dwarf2/dw2-anonymous-func.exp b/gdb/testsuite/gdb.dwarf2/dw2-anonymous-func.exp index 029104b4c1f..7b43eab5b10 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-anonymous-func.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-anonymous-func.exp @@ -1,4 +1,4 @@ -# Copyright 2004-2014 Free Software Foundation, Inc. +# Copyright 2004-2016 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 @@ -29,11 +29,8 @@ if {[prepare_for_testing_full $testfile.exp \ return -1 } -set remote_dwarf_srcfile [gdb_remote_download host \ - ${srcdir}/${subdir}/${dwarf_srcfile}] +gdb_remote_download host ${srcdir}/${subdir}/${dwarf_srcfile} # Force the debugger to create the file1.txt symtab, to make sure that # the debugger does not crash doing so. gdb_test "list file1.txt:1" "File 1 Line 1.*File 1 Line 8" "list file1.txt" - -remote_file host delete ${remote_dwarf_srcfile}