debugger: update state diagram

This commit is contained in:
hjk
2011-01-14 14:40:42 +01:00
parent 763eac5304
commit 9ff17a8208
2 changed files with 5 additions and 1 deletions

View File

@@ -186,6 +186,7 @@
// + + // + +
// + ` +-+-> InferiorSetupFailed +-+-+-+-+-+->. // + ` +-+-> InferiorSetupFailed +-+-+-+-+-+->.
// + + // + +
// InferiorSetupOk +
// + + // + +
// EngineRunRequested + // EngineRunRequested +
// + + // + +
@@ -198,6 +199,8 @@
// Inferior- Inferior- Inferior- EngineRun- + // Inferior- Inferior- Inferior- EngineRun- +
// Unrunnable} StopOk} RunOk} Failed} + // Unrunnable} StopOk} RunOk} Failed} +
// + + + + + // + + + + +
// EngineRunOk EngineRunOk EngineRunOk + +
// + + + + +
// InferiorUnrunnable + InferiorRunOk + + // InferiorUnrunnable + InferiorRunOk + +
// + + + // + + +
// InferiorStopOk EngineRunFailed + // InferiorStopOk EngineRunFailed +
@@ -238,7 +241,7 @@
// {notifyInferior- + + + // {notifyInferior- + + +
// Exited} + + + // Exited} + + +
// + + + + // + + + +
// + + + + // InferiorExitOk + + +
// + + + + // + + + +
// InferiorShutdownOk InferiorShutdownFailed + // InferiorShutdownOk InferiorShutdownFailed +
// * * + // * * +

View File

@@ -145,6 +145,7 @@ static bool stateAcceptsGdbCommands(DebuggerState state)
case InferiorSetupOk: case InferiorSetupOk:
case EngineRunFailed: case EngineRunFailed:
case EngineRunOk: case EngineRunOk:
case InferiorExitOk:
case InferiorRunFailed: case InferiorRunFailed:
case EngineShutdownOk: case EngineShutdownOk:
case EngineShutdownFailed: case EngineShutdownFailed: