[PUSHED 2/2] New testsuite/boards/local-remote-host.exp board, now with editing on
Yao Qi
yao@codesourcery.com
Fri May 2 11:28:00 GMT 2014
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 (é½å°§)
More information about the Gdb-patches
mailing list