Debugger: Fix timeout handling

Task-number: QTCREATORBUG-21664
Change-Id: Ie6dec329443e9fa8e31e28f0fdd6d46a279804bb
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2019-11-01 08:18:57 +01:00
parent 32fe77564e
commit c9086499f6

View File

@@ -806,7 +806,7 @@ void GdbEngine::runCommand(const DebuggerCommand &command)
int GdbEngine::commandTimeoutTime() const int GdbEngine::commandTimeoutTime() const
{ {
int time = action(GdbWatchdogTimeout)->value().toInt(); int time = action(GdbWatchdogTimeout)->value().toInt();
return 1000 * qMax(40, time); return 1000 * qMax(20, time);
} }
void GdbEngine::commandTimeout() void GdbEngine::commandTimeout()