aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dw2-compressed.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-compressed.exp
parent79862e457476f3782b7e832b6b2570230c08b8bf (diff)
downloadgdb-f24fce77816b17011fdd159f529d1b2dceb4fdac.zip
gdb-f24fce77816b17011fdd159f529d1b2dceb4fdac.tar.gz
gdb-f24fce77816b17011fdd159f529d1b2dceb4fdac.tar.bz2
* 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-compressed.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-compressed.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-compressed.exp b/gdb/testsuite/gdb.dwarf2/dw2-compressed.exp
index 6c53445..b08c635 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-compressed.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-compressed.exp
@@ -27,6 +27,7 @@ if {![istarget *-*-linux*]
}
set testfile "dw2-compressed"
+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}