aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/boards
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-08-23 14:01:42 +0000
committerYao Qi <yao@codesourcery.com>2012-08-23 14:01:42 +0000
commit61b1d75968eb83300cb76e257c7ffd224f9c8fdf (patch)
treed7f1cb5d128b8474c1a9a6eeabc74ac8d0191ced /gdb/testsuite/boards
parentdc82f37bb79f03c929a9d4331ff48c8872a5741b (diff)
downloadgdb-61b1d75968eb83300cb76e257c7ffd224f9c8fdf.zip
gdb-61b1d75968eb83300cb76e257c7ffd224f9c8fdf.tar.gz
gdb-61b1d75968eb83300cb76e257c7ffd224f9c8fdf.tar.bz2
gdb/testsuite/
* boards/native-gdbserver.exp (${board}_upload): New. * boards/native-stdio-gdbserver.exp (${board}_upload): New. * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'. Execute tfile on remote target. Copy trace file from target to host.
Diffstat (limited to 'gdb/testsuite/boards')
-rw-r--r--gdb/testsuite/boards/native-gdbserver.exp4
-rw-r--r--gdb/testsuite/boards/native-stdio-gdbserver.exp4
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/boards/native-gdbserver.exp b/gdb/testsuite/boards/native-gdbserver.exp
index 89702df..7172274 100644
--- a/gdb/testsuite/boards/native-gdbserver.exp
+++ b/gdb/testsuite/boards/native-gdbserver.exp
@@ -80,6 +80,10 @@ proc ${board}_download { board host dest } {
return $host
}
+proc ${board}_upload {dest srcfile args} {
+ return $srcfile
+}
+
proc ${board}_file { dest op args } {
if { $op == "delete" } {
return 0
diff --git a/gdb/testsuite/boards/native-stdio-gdbserver.exp b/gdb/testsuite/boards/native-stdio-gdbserver.exp
index 9804289..d8c5376 100644
--- a/gdb/testsuite/boards/native-stdio-gdbserver.exp
+++ b/gdb/testsuite/boards/native-stdio-gdbserver.exp
@@ -142,6 +142,10 @@ proc ${board}_download { board host dest } {
return $host
}
+proc ${board}_upload {dest srcfile args} {
+ return $srcfile
+}
+
proc ${board}_file { dest op args } {
if { $op == "delete" } {
return 0