Reduce default timeout on remote serial debugging sessions from 20

seconds to 1 second.  This fixes a problem where gdb would appear to
hang on flaky serial connections.  There's a theoretical problem that
the relatively short timeout could cause problems on slow links, but
you can override the default value with the 'set remotetimeout'
command.

Approved-by:	dfr
This commit is contained in:
Greg Lehey 1999-08-20 02:58:16 +00:00
parent 0b2d7c2ffc
commit 8cb6a40a33
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=50072

View File

@ -317,7 +317,7 @@ int baud_rate = -1;
/* Timeout limit for response from target. */
int remote_timeout = 20; /* Set default to 20 */
int remote_timeout = 1; /* Set default to 1 second */
/* Non-zero tells remote* modules to output debugging info. */