This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PUSHED 2/2] New testsuite/boards/local-remote-host.exp board, now with editing on
- From: Yao Qi <yao at codesourcery dot com>
- To: Pedro Alves <palves at redhat dot com>, <gdb-patches at sourceware dot org>
- Date: Fri, 2 May 2014 19:25:40 +0800
- Subject: Re: [PUSHED 2/2] New testsuite/boards/local-remote-host.exp board, now with editing on
- Authentication-results: sourceware.org; auth=none
- References: <1395812833-17748-1-git-send-email-yao at codesourcery dot com> <1398961655-7899-1-git-send-email-palves at redhat dot com> <1398961655-7899-3-git-send-email-palves at redhat dot com>
On 05/02/2014 12:27 AM, Pedro Alves wrote:
> +proc ${board}_spawn { board cmd } {
> + global board_info
> +
> + set remote [board_info $board hostname]
> + set username [board_info $board username]
> + set RSH [board_info $board rsh_prog]
> +
> + spawn $RSH -t -l $username $remote $cmd
> + set board_info($board,fileid) $spawn_id
> + return $spawn_id
> +}
Thanks for doing this, Pedro.
It is clever to pass '-t' option to RSH in ${board}_spawn. I thought
of passing '-t' to remote_spawn in dejagnu, but give up due the
complexity there.
--
Yao (éå)