diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2009-11-12 15:15:26 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@codesourcery.com> | 2009-11-12 15:15:26 +0000 |
commit | f24fce77816b17011fdd159f529d1b2dceb4fdac (patch) | |
tree | a2e5480d69278e9fa23cc34922755550a348eb98 /gdb/testsuite/gdb.dwarf2 | |
parent | 79862e457476f3782b7e832b6b2570230c08b8bf (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-basic.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-compressed.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-intercu.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-intermix.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-producer.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/mac-fileno.exp | 5 |
6 files changed, 30 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-basic.exp b/gdb/testsuite/gdb.dwarf2/dw2-basic.exp index 85dcae8..8fc3074 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-basic.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-basic.exp @@ -27,6 +27,7 @@ if {![istarget *-*-linux*] } set testfile "dw2-basic" +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} 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} diff --git a/gdb/testsuite/gdb.dwarf2/dw2-intercu.exp b/gdb/testsuite/gdb.dwarf2/dw2-intercu.exp index f1073f4..b9059b8 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} diff --git a/gdb/testsuite/gdb.dwarf2/dw2-intermix.exp b/gdb/testsuite/gdb.dwarf2/dw2-intermix.exp index 4dc7d29..29c8df8 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-intermix.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-intermix.exp @@ -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} diff --git a/gdb/testsuite/gdb.dwarf2/dw2-producer.exp b/gdb/testsuite/gdb.dwarf2/dw2-producer.exp index f6245d2..f679339 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-producer.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-producer.exp @@ -25,6 +25,7 @@ if {![istarget *-*-linux*] } set testfile "dw2-producer" +set dwarf_srcfile "file1.txt" set srcfile ${testfile}.S set binfile ${objdir}/${subdir}/${testfile}.x @@ -45,6 +46,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} diff --git a/gdb/testsuite/gdb.dwarf2/mac-fileno.exp b/gdb/testsuite/gdb.dwarf2/mac-fileno.exp index 71efd6a..8b1426f 100644 --- a/gdb/testsuite/gdb.dwarf2/mac-fileno.exp +++ b/gdb/testsuite/gdb.dwarf2/mac-fileno.exp @@ -28,6 +28,7 @@ if {![istarget *-*-linux*] } set testfile "mac-fileno" +set dwarf_srcfile "file1.txt" set srcfile ${testfile}.S set binfile ${objdir}/${subdir}/${testfile}.x @@ -48,6 +49,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} |