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: [RFC] new board file 'remote-host-native.exp'


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 ...


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