summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2019-11-01 08:18:57 +0100
committerChristian Stenger <christian.stenger@qt.io>2019-11-01 11:36:42 +0000
commitc9086499f6fdd60c602b3dc2ff564fbae7a0aa47 (patch)
tree05dfa6f36692bc60db8cedb5513ae7fb47213194
parent32fe77564e287d3be8dcb86e88618e4ec4de295a (diff)
downloadqt-creator-c9086499f6fdd60c602b3dc2ff564fbae7a0aa47.tar.gz
Debugger: Fix timeout handling
Task-number: QTCREATORBUG-21664 Change-Id: Ie6dec329443e9fa8e31e28f0fdd6d46a279804bb Reviewed-by: hjk <hjk@qt.io>
-rw-r--r--src/plugins/debugger/gdb/gdbengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index ff0197c225..6cf048420e 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -806,7 +806,7 @@ void GdbEngine::runCommand(const DebuggerCommand &command)
int GdbEngine::commandTimeoutTime() const
{
int time = action(GdbWatchdogTimeout)->value().toInt();
- return 1000 * qMax(40, time);
+ return 1000 * qMax(20, time);
}
void GdbEngine::commandTimeout()