debugger: merge 'AdapterStarting' into 'EngineStarting' state

This commit is contained in:
hjk
2010-07-08 11:54:06 +02:00
parent 76e85abf2c
commit 2385e15b2d
14 changed files with 6 additions and 26 deletions

View File

@@ -144,7 +144,6 @@ const char *DebuggerEngine::stateName(int s)
switch (s) {
SN(DebuggerNotReady)
SN(EngineStarting)
SN(AdapterStarting)
SN(EngineStarted)
SN(EngineStartFailed)
SN(InferiorStarting)
@@ -909,9 +908,6 @@ static bool isAllowedTransition(int from, int to)
return to == EngineStarting || to == DebuggerNotReady;
case EngineStarting:
return to == AdapterStarting || to == DebuggerNotReady;
case AdapterStarting:
return to == EngineStarted || to == EngineStartFailed;
case EngineStarted:
return to == InferiorStarting || to == EngineShuttingDown;
@@ -996,7 +992,6 @@ bool DebuggerEngine::debuggerActionsEnabled(DebuggerState state)
return true;
case DebuggerNotReady:
case EngineStarting:
case AdapterStarting:
case EngineStarted:
case EngineStartFailed:
case InferiorStartFailed: