OSDN Git Service

DebuggerEngine: fix shutdown when run failed
authorChristiaan Janssen <christiaan.janssen@nokia.com>
Mon, 29 Nov 2010 16:12:43 +0000 (17:12 +0100)
committerChristiaan Janssen <christiaan.janssen@nokia.com>
Tue, 30 Nov 2010 10:35:56 +0000 (11:35 +0100)
Reviewed-by: hjk
src/plugins/debugger/debuggerengine.cpp

index 3af3f92..0778dad 100644 (file)
@@ -618,7 +618,7 @@ static bool isAllowedTransition(DebuggerState from, DebuggerState to)
             || to == InferiorUnrunnable || to == EngineRunFailed;
 
     case EngineRunFailed:
-        return to == InferiorShutdownRequested;
+        return to == EngineShutdownRequested;
 
     case InferiorRunRequested:
         return to == InferiorRunOk || to == InferiorRunFailed;