This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: auto-retry TCP connections, take 2
- From: Daniel Jacobowitz <drow at false dot org>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, Joel Brobecker <brobecker at adacore dot com>
- Date: Mon, 5 Jan 2009 14:53:03 -0500
- Subject: Re: RFA: auto-retry TCP connections, take 2
- References: <495A8C5D.6070603@codesourcery.com> <495B7F95.3010504@codesourcery.com>
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