aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/boards/remote-stdio-gdbserver.exp2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1aeb785..c24ae5f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
+
+ PR gdb/22841
+ * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
+ "target" to remote_exec.
+
2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
PR gdb/22841
diff --git a/gdb/testsuite/boards/remote-stdio-gdbserver.exp b/gdb/testsuite/boards/remote-stdio-gdbserver.exp
index aff7902..d559b85 100644
--- a/gdb/testsuite/boards/remote-stdio-gdbserver.exp
+++ b/gdb/testsuite/boards/remote-stdio-gdbserver.exp
@@ -75,7 +75,7 @@ proc get_target_remote_pipe_cmd { } {
proc ${board}_file { dest op args } {
if { $op == "delete" } {
- return [remote_exec [get_remote_login] "rm -f $args"]
+ return [remote_exec target "rm -f $args"]
}
return [eval [list standard_file $dest $op] $args]
}