This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH OBV] Overwrite ${board}_file in local-remote-host
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>, gdb-patches at sourceware dot org
- Date: Tue, 13 May 2014 19:19:31 +0100
- Subject: Re: [PATCH OBV] Overwrite ${board}_file in local-remote-host
- Authentication-results: sourceware.org; auth=none
- References: <1399965128-5603-1-git-send-email-yao at codesourcery dot com>
On 05/13/14 08:12, Yao Qi wrote:
> 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. It is obvious. I'll commit it in two
> days if there are no objections.
Thanks. I agree it's obvious, knowing we already do that in
other board files. Go ahead and push.
--
Pedro Alves