This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] New board file remote-stdio-gdbserver.exp
- From: Doug Evans <dje at google dot com>
- To: Sterling Augustine <saugustine at google dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Tue, 21 May 2013 10:54:36 -0700
- Subject: Re: [PATCH] New board file remote-stdio-gdbserver.exp
- References: <CAEG7qUyS8Uiis5obsvnK3OEQvOHwTXWdxt2gKOLiT9PUH5CFWw at mail dot gmail dot com> <CADPb22T13N=jaCPYEsAmdywOmHVr48DH3qvTx9wOY0k6tOJvsA at mail dot gmail dot com> <CAEG7qUymA__-Avs1O3iZe+3LJZ1=SEOqB8zG1Nxo+76wBccFJg at mail dot gmail dot com>
On Tue, May 21, 2013 at 10:49 AM, Sterling Augustine
<saugustine@google.com> wrote:
> On Mon, May 13, 2013 at 2:24 PM, Doug Evans <dje@google.com> wrote:
>
>> Since there is a fair bit of commonality, another way to go is to
>> begin your file with
>>
>> load_board_description "native-stdio-gdbserver"
>>
>> and then add or override the bits you need.
>> Factoring out bits in native-stdio-gdbserver.exp so that they can be
>> overridden may be needed.
>> For proc ${board}_download you could just redefine it in your file
>> (seems simplest).
>>
>> I think I'd prefer that if it works for you.
>
> Done. OK for trunk?
>
> 2013-05-10 Sterling Augustine <saugustine@google.com>
>
> * boards/remote-stdio-gdbserver.exp: New file.
Ok by me.
Thanks!