binutils-gdb/gdb/testsuite/boards
Yao Qi f23fcd46a7 Overwrite ${board}_file in local-remote-host
After I run test like this,

 $ make check RUNTESTFLAGS='--host_board=local-remote-host dw2-basic.exp'

gdb.dwarf2/file1.txt in source tree was removed.  In some gdb.dwarf2/*.exp,
file1.txt is copied to host and then removed at the end.  However, in
local-remote-host-notty.exp, ${board}_download doesn't copy the file but
return the absolute path of the src file.  'remote_file host delete' at
the end will remove the file in source tree.

This patch is to overwrite ${board}_file, and specially make "delete"
option do nothing.  This approach is used in gdbserver-base.exp and
remote-stdio-gdbserver.exp too.

gdb/testsuite:

2014-05-14  Yao Qi  <yao@codesourcery.com>

	* boards/local-remote-host-notty.exp (${board}_file): New
	proc.
2014-05-14 15:55:40 +08:00
..
cc-with-tweaks.exp
dwarf4-gdb-index.exp
fission-dwp.exp
fission.exp
gdbserver-base.exp
local-remote-host-notty.exp Overwrite ${board}_file in local-remote-host 2014-05-14 15:55:40 +08:00
local-remote-host.exp New testsuite/boards/local-remote-host.exp board, now with editing on 2014-05-01 17:25:52 +01:00
native-extended-gdbserver.exp gdb_load: Fix latent bugs 2014-05-02 00:59:31 +01:00
native-gdbserver.exp
native-stdio-gdbserver.exp Fix wrapper.exp testcase with stdio gdbserver. 2014-04-16 10:40:41 -07:00
remote-stdio-gdbserver.exp Fix wrapper.exp testcase with stdio gdbserver. 2014-04-16 10:40:41 -07:00