From a73a20a2d55bf019cb8e5a7d872bc4391e531e61 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Fri, 19 Apr 2002 16:06:59 +0000 Subject: 2002-04-19 Elena Zannoni * gdb.asm/asm-source.exp: Don't use a symlink, just copy the instruction file directly into the build tree. Clean up at end of test. --- gdb/testsuite/gdb.asm/asm-source.exp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/testsuite/gdb.asm') diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp index 11ced29..01a3a2f 100644 --- a/gdb/testsuite/gdb.asm/asm-source.exp +++ b/gdb/testsuite/gdb.asm/asm-source.exp @@ -87,9 +87,8 @@ set binfile ${objdir}/${subdir}/${testfile} set src1 ${srcdir}/${subdir}/asmsrc1.s set src2 ${srcdir}/${subdir}/asmsrc2.s -set insn_file ${srcdir}/${subdir}/${asm-arch}.inc -remote_exec build "rm -f ${objdir}/${subdir}/arch.inc" -remote_exec build "ln -s ${insn_file} ${objdir}/${subdir}/arch.inc" +remote_exec build "rm -f ${subdir}/arch.inc" +remote_download host ${srcdir}/${subdir}/${asm-arch}.inc ${subdir}/arch.inc if { "${asm-flags}" == "" } { #set asm-flags "-Wa,-gstabs,-I${srcdir}/${subdir},-I${objdir}/${subdir}" @@ -278,3 +277,4 @@ gdb_test "print staticvar" ".* = 5" "look at static variable" gdb_test "disassem foostatic" ".*:.*End of assembler dump." \ "look at static function" +remote_exec build "rm -f ${subdir}/arch.inc" -- cgit v1.1