Re: [RFC] new board file 'remote-host-native.exp'

Doug Evans
2012-08-02T08:50:43Z

On Wed, Jul 25, 2012 at 12:27 AM, Yao Qi <yao@codesourcery.com> wrote:
>> > +
>> > +global GDB
>> > +# Specify the location of GDB binary.
>> > +set GDB "/your/built/gdb"
>>
>> How about we make this pick up the just built GDB ?
>>
>> set GDB [file join [pwd] "../gdb"]
>>
>
> Done.

But only if GDB is not already set?
And similarly for the remote host name?
E.g. allow runtest --host_board=foo GDB=/tmp/gdb REMOTE_HOST=bar ...