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: [PATCH] Allow board file to specify remotetimeout


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?


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