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:
parent
0b2d7c2ffc
commit
8cb6a40a33
@ -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. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user