summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dw2-intercu.exp
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2009-11-12 15:15:26 +0000
committerNathan Froyd <froydnj@codesourcery.com>2009-11-12 15:15:26 +0000
commitf24fce77816b17011fdd159f529d1b2dceb4fdac (patch)
treea2e5480d69278e9fa23cc34922755550a348eb98 /gdb/testsuite/gdb.dwarf2/dw2-intercu.exp
parent79862e457476f3782b7e832b6b2570230c08b8bf (diff)
downloadbinutils-gdb-f24fce77816b17011fdd159f529d1b2dceb4fdac.tar.gz
* gdb.base/step-line.exp: Copy step-line.inp to the remote host.
* gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host. * gdb.dwarf2/dw2-compressed.exp: Likewise. * gdb.dwarf2/dw2-intercu.exp: Likewise. * gdb.dwarf2/dw2-intermix.exp: Likewise. * gdb.dwarf2/dw2-producer.exp: Likewise. * gdb.dwarf2/mac-fileno.exp: Likewise. * gdb.python/py-prettyprint.exp (run_lang_tests): Copy py-prettyprint.py to the remote host. * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-intercu.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-intercu.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-intercu.exp b/gdb/testsuite/gdb.dwarf2/dw2-intercu.exp
index f1073f4e9d4..b9059b8f77c 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-intercu.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-intercu.exp
@@ -27,6 +27,7 @@ if {![istarget *-*-linux*]
}
set testfile "dw2-intercu"
+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}