diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2009-01-06 17:07:08 +0000 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2009-01-06 17:07:08 +0000 |
commit | 84603566b73e9ad18d094da3b7510ab480db8170 (patch) | |
tree | ebc3e787cad2fc3a879a1875dbe10d8f7923a38b /gdb/NEWS | |
parent | 1069ad51f418f56c400cf2387e508c6378eb73a1 (diff) | |
download | gdb-84603566b73e9ad18d094da3b7510ab480db8170.zip gdb-84603566b73e9ad18d094da3b7510ab480db8170.tar.gz gdb-84603566b73e9ad18d094da3b7510ab480db8170.tar.bz2 |
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.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -169,6 +169,14 @@ set target-async with GDB while the target is running. "show target-async" displays the current state of asynchronous execution of the target. +set tcp auto-retry (on|off) +show tcp auto-retry +set tcp connect-timeout +show tcp connect-timeout + These commands allow GDB to retry failed TCP connections to a remote stub + with a specified timeout period; this is useful if the stub is launched + in parallel with GDB but may not be ready to accept connections immediately. + macro define macro list macro undef |