This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Allow board file to specify remotetimeout
- From: Doug Evans <xdje42 at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 7 Nov 2014 07:25:16 -0800
- Subject: Re: [PATCH] Allow board file to specify remotetimeout
- Authentication-results: sourceware.org; auth=none
- References: <m3zjc3akn2 dot fsf at sspiff dot org> <545C9D31 dot 2020305 at redhat dot com>
On Fri, Nov 7, 2014 at 2:21 AM, Pedro Alves <palves@redhat.com> wrote:
> On 11/07/2014 01:01 AM, Doug Evans wrote:
>
>> I was cross-testing from linux to windows7 with stdio gdbserver,
>> and ssh was taking longer to connect than the default remotetimeout
>> of 2 seconds.
>>
>> This patch adds the ability to specify remotetimeout in the board file.
>>
>> For reference sake, here's my board file.
>
> Note you can already put
>
> set GDBFLAGS "-l 15"
>
> in the board file for this. See:
>
> https://sourceware.org/gdb/wiki/TestingGDB#Running_GDB_with_a_larger_remote_serial_protocol_timeout
>
> Is there an advantage to this method?
Yeah, it's documented in testsuite/README so I'll find it next time. 1/2 :-)
I'd long since forgotten about the wiki page.
Having both places being reasonably large, and neither having a reference
to the other, is unfortunate.
[The README mentions the wiki, but without an explicit link
it's not that helpful.]
I'd be happy with gutting testsuite/README and just mentioning the wiki url.
Thoughts?