forked from qt-creator/qt-creator
Cdb: Replace postCommand("g") with doContinueInferior.
Removes duplicated code and improves readability Change-Id: Ie04e1f247540babd6a840b860f2acb602f5e831d Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -856,7 +856,7 @@ void CdbEngine::runEngine()
|
||||
notifyInferiorUnrunnable();
|
||||
processStop(*m_coreStopReason, false);
|
||||
} else {
|
||||
postCommand("g", 0);
|
||||
doContinueInferior();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2238,7 +2238,7 @@ void CdbEngine::processStop(const GdbMi &stopReason, bool conditionalBreakPointT
|
||||
showMessage(message, LogError);
|
||||
// Ignore things like WOW64, report tracepoints.
|
||||
if (stopFlags & StopIgnoreContinue) {
|
||||
postCommand("g", 0);
|
||||
doContinueInferior();
|
||||
return;
|
||||
}
|
||||
// Notify about state and send off command sequence to get stack, etc.
|
||||
@@ -3179,7 +3179,7 @@ void CdbEngine::handleExpression(const CdbExtensionCommandPtr &command)
|
||||
if (value)
|
||||
processStop(cookie.stopReason, true);
|
||||
else
|
||||
postCommand("g", 0);
|
||||
doContinueInferior();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user