OSDN Git Service

* gdb.base/step-line.exp: Copy step-line.inp to the remote host.
[pf3gnuchains/pf3gnuchains3x.git] / gdb / testsuite / gdb.dwarf2 / dw2-intermix.exp
index 4dc7d29..29c8df8 100644 (file)
@@ -27,6 +27,7 @@ if {![istarget *-*-linux*]
 }
 
 set testfile "dw2-intermix"
+set dwarf_srcfile "file1.txt"
 set srcfile ${testfile}.S
 set binfile ${objdir}/${subdir}/${testfile}.x
 
@@ -47,6 +48,10 @@ gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
 
+set remote_dwarf_srcfile [remote_download host ${srcdir}/${subdir}/${dwarf_srcfile}]
+
 gdb_test "set listsize 1" ""
 gdb_test "list func_cu1" "4\[ \t\]+File 1 Line 4"
 gdb_test "ptype func_cu1" "type = int \\(\\)"
+
+remote_file host delete ${remote_dwarf_srcfile}