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() ...@@ -1352,6 +1352,7 @@ void DebuggerEngine::quitDebugger()
switch (state()) { switch (state()) {
case InferiorStopOk: case InferiorStopOk:
case InferiorStopFailed: case InferiorStopFailed:
case InferiorUnrunnable:
d->queueShutdownInferior(); d->queueShutdownInferior();
break; break;
case InferiorRunOk: case InferiorRunOk:
...@@ -1368,6 +1369,7 @@ void DebuggerEngine::quitDebugger() ...@@ -1368,6 +1369,7 @@ void DebuggerEngine::quitDebugger()
notifyEngineRunFailed(); notifyEngineRunFailed();
break; break;
case EngineShutdownRequested: case EngineShutdownRequested:
case InferiorShutdownRequested:
break; break;
case EngineRunFailed: case EngineRunFailed:
case DebuggerFinished: 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