Mixed debugger: Fix state warnings on exit

If the (child) engine is already in state InferiorShutdownOk
or InferiorExitOk, it will automatically proceed. No need
to call notifyInferiorIll(), which will lead to state warnings.

Change-Id: Id7501d327454095648be8c14d02520b2ed128e87
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Kai Koehne
2012-03-22 13:05:57 +01:00
committed by hjk
parent 32ec60958d
commit 8966d82af3

View File

@@ -1394,6 +1394,8 @@ void DebuggerEngine::quitDebugger()
break; break;
case EngineRunFailed: case EngineRunFailed:
case DebuggerFinished: case DebuggerFinished:
case InferiorExitOk:
case InferiorShutdownOk:
break; break;
case InferiorSetupRequested: case InferiorSetupRequested:
notifyInferiorSetupFailed(); notifyInferiorSetupFailed();