2008-12-26 Sandra Loosemore gdb/ * serial.c (serial_auto_retry, serial_retry_limit): Define. * serial.h (serial_auto_retry, serial_retry_limit): Declare. * remote.c (_initialize_remote): Add auto-retry and connect-timeout commands. * ser-tcp.c (TIMEOUT): Remove, in favor of serial_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. * NEWS: Document new commands. gdb/doc/ * gdb.texinfo (Remote Configuration): Document new "set/show remote auto-retry" and "set/show remote connect-timeout" commands.