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: Pedro Alves <palves at redhat dot com>
- To: Doug Evans <xdje42 at gmail dot com>, gdb-patches at sourceware dot org
- Date: Fri, 07 Nov 2014 10:21:37 +0000
- Subject: Re: [PATCH] Allow board file to specify remotetimeout
- Authentication-results: sourceware.org; auth=none
- References: <m3zjc3akn2 dot fsf at sspiff dot org>
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?
Thanks,
Pedro Alves