This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] new board file 'remote-host-native.exp'
- From: Doug Evans <dje at google dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, Pedro Alves <palves at redhat dot com>
- Date: Thu, 2 Aug 2012 01:50:23 -0700
- Subject: Re: [RFC] new board file 'remote-host-native.exp'
- References: <1343135426-20959-1-git-send-email-yao@codesourcery.com> <500EC87A.10806@redhat.com> <1804874.ivBX2v1I8f@qiyao.dyndns.org>
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 ...