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 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


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