Commit 72775ab8 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Debugger: Add missing state cases in quitDebugger

* Aborting a core dump debugging is a valid state
* Do not try to abort more than once (happens on shutdown)

Change-Id: I075409b3fa1231420fcd72706b18eaa0383fd4f2
Reviewed-by: default avatarhjk <hjk@qt.io>
parent 85da204e
......@@ -1352,6 +1352,7 @@ void DebuggerEngine::quitDebugger()
switch (state()) {
case InferiorStopOk:
case InferiorStopFailed:
case InferiorUnrunnable:
d->queueShutdownInferior();
break;
case InferiorRunOk:
......@@ -1368,6 +1369,7 @@ void DebuggerEngine::quitDebugger()
notifyEngineRunFailed();
break;
case EngineShutdownRequested:
case InferiorShutdownRequested:
break;
case EngineRunFailed:
case DebuggerFinished:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment