2009-01-06 Sandra Loosemore <sandra@codesourcery.com>
authorSandra Loosemore <sandra@codesourcery.com>
Tue, 6 Jan 2009 17:07:08 +0000 (17:07 +0000)
committerSandra Loosemore <sandra@codesourcery.com>
Tue, 6 Jan 2009 17:07:08 +0000 (17:07 +0000)
commit84603566b73e9ad18d094da3b7510ab480db8170
treeebc3e787cad2fc3a879a1875dbe10d8f7923a38b
parent1069ad51f418f56c400cf2387e508c6378eb73a1
2009-01-06  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.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/ser-tcp.c