RFA: auto-retry TCP connections, take 2
Daniel Jacobowitz
drow@false.org
Mon Jan 5 19:53:00 GMT 2009
On Wed, Dec 31, 2008 at 09:20:05AM -0500, Sandra Loosemore wrote:
> 2008-12-30 Sandra Loosemore <sandra@codesourcery.com>
>
> gdb/
> * ser-tcp.c: Adjust includes.
> (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
> (tcp_auto_retry, tcp_retry_limit): Declare.
> (TIMEOUT): Remove, in favor of tcp_retry_limit.
> (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
> (wait_for_connect): New function.
> (net_open): Use it. Add auto-retry logic.
> (set_tcp_cmd, show_tcp_cmd): New functions.
> (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
> and "set/show tcp connect-timeout" commands.
> * NEWS: Document new commands.
>
> gdb/doc/
> * gdb.texinfo (Remote Configuration): Document new
> "set/show tcp auto-retry" and "set/show tcp connect-timeout"
> commands.
Thanks - this is OK.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list