This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PUSHED 2/2] New testsuite/boards/local-remote-host.exp board, now with editing on


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]