aboutsummaryrefslogtreecommitdiff
path: root/gdb/d-lang.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-05-13 09:37:54 +0800
committerYao Qi <yao@codesourcery.com>2014-05-14 15:55:40 +0800
commitf23fcd46a7ca34bf466de9164780a78d38729ff7 (patch)
treef032e05fe498ca182d038b31ffeef11d47969ece /gdb/d-lang.c
parent75ddda778c7fcdffea72615bc5b89d17bd107927 (diff)
downloadgdb-f23fcd46a7ca34bf466de9164780a78d38729ff7.zip
gdb-f23fcd46a7ca34bf466de9164780a78d38729ff7.tar.gz
gdb-f23fcd46a7ca34bf466de9164780a78d38729ff7.tar.bz2
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.
Diffstat (limited to 'gdb/d-lang.c')
0 files changed, 0 insertions, 0 deletions