[Patch] Mechanism for board files to set default remotetimeout

Sterling Augustine saugustine@google.com
Fri May 31 22:49:00 GMT 2013


On Fri, May 31, 2013 at 1:57 PM, Sterling Augustine
<saugustine@google.com> wrote:
> On Fri, May 31, 2013 at 3:13 AM, Pedro Alves <palves@redhat.com> wrote:
>> On 05/31/2013 12:42 AM, Sterling Augustine wrote:
>>> The enclosed simple patch adds and demonstrates a new mechanism for a
>>> board file to declare a default remotetimeout.
>>
>> Took me a bit to realize this is about "set remotetimeout" in gdb,
>> not the expect timeout.  It wasn't that obvious from the
>> description.  :-)
>>
>> Is this really necessary?  The board could just append "-l TIMEOUT"
>> to the GDB command line invocation.  Looks simpler, and doesn't
>> depend on issuing an interactive GDB command.
>
> I'll switch to this.

How does this look? I considered using GDBFLAGS instead of
INTERNAL_GDBFLAGS, but lots of tests replace GDBFLAGS with their own
copy, preventing its use in many cases.

Sterling

2013-05-30  Sterling Augustine  <saugustine@google.com>

	* boards/remote-stdio-gdbserver.exp: Add code to customize remotetimeout
	value via INTERNAL_GDBFLAGS.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remotetimeout.patch
Type: application/octet-stream
Size: 1135 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20130531/0c8eb60c/attachment.obj>


More information about the Gdb-patches mailing list