remote-stdio-gdbserver: Pass "target" to remote_exec to delete file
authorSimon Marchi <simon.marchi@ericsson.com>
Thu, 8 Mar 2018 22:54:25 +0000 (17:54 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 8 Mar 2018 22:54:54 +0000 (17:54 -0500)
commit4872dc464db25a003c66ef91773b616495cc504f
tree5da1c4d90973ec37143879cafe4f60f317b348ae
parente4fe3756763773940b003159649f224a5ac42ee0
remote-stdio-gdbserver: Pass "target" to remote_exec to delete file

As described here

  https://sourceware.org/bugzilla/show_bug.cgi?id=22841

there seems to be situations where the remote-stdio-gdbserver board
fails to delete the uploaded binary file.  Passing "target" fixes the
issue for Christian who reported the bug.

I did not experience this problem, but passing "target" to remote_exec
still works for me, so I'm fine with changing it.

Any objection?

gdb/testsuite/ChangeLog:

PR gdb/22841
* boards/remote-stdio-gdbserver.exp (${board}_file): Pass
"target" to remote_exec.
gdb/testsuite/ChangeLog
gdb/testsuite/boards/remote-stdio-gdbserver.exp