From 36d05ff1872b2d6a868dd0054ffb6787caab14ac Mon Sep 17 00:00:00 2001 From: grog Date: Fri, 20 Aug 1999 02:58:16 +0000 Subject: 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 --- contrib/gdb/gdb/top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/gdb') diff --git a/contrib/gdb/gdb/top.c b/contrib/gdb/gdb/top.c index 189e3c3..35c3287 100644 --- a/contrib/gdb/gdb/top.c +++ b/contrib/gdb/gdb/top.c @@ -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. */ -- cgit v1.1