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: RFA: auto-retry TCP connections, take 2


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


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