diff options
author | David Schulz <david.schulz@digia.com> | 2014-10-28 09:51:32 +0100 |
---|---|---|
committer | David Schulz <david.schulz@digia.com> | 2014-10-28 12:38:30 +0100 |
commit | 04d8eac7a6d861b1c2ebf5fda8d49032ca4c3468 (patch) | |
tree | 8c76217e8822df55a42c01587d74b004df3d4b4a | |
parent | 865533b3a178961929ec8ab8d242ab0517365336 (diff) |
Cdb: Replace postCommand("g") with doContinueInferior.
Removes duplicated code and improves readability
Change-Id: Ie04e1f247540babd6a840b860f2acb602f5e831d
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
-rw-r--r-- | src/plugins/debugger/cdb/cdbengine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp index 84835d55dc..86acd62f2f 100644 --- a/src/plugins/debugger/cdb/cdbengine.cpp +++ b/src/plugins/debugger/cdb/cdbengine.cpp @@ -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(); } } |