From 9ff17a8208b54b6e5ed210aa1960ae9a3a1b7d24 Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Fri, 14 Jan 2011 14:40:42 +0100 Subject: [PATCH] debugger: update state diagram --- src/plugins/debugger/debuggerplugin.cpp | 5 ++++- src/plugins/debugger/gdb/gdbengine.cpp | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index fc80d806b1..2d3a22a4c9 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -186,6 +186,7 @@ // + + // + ` +-+-> InferiorSetupFailed +-+-+-+-+-+->. // + + +// InferiorSetupOk + // + + // EngineRunRequested + // + + @@ -198,6 +199,8 @@ // Inferior- Inferior- Inferior- EngineRun- + // Unrunnable} StopOk} RunOk} Failed} + // + + + + + +// EngineRunOk EngineRunOk EngineRunOk + + +// + + + + + // InferiorUnrunnable + InferiorRunOk + + // + + + // InferiorStopOk EngineRunFailed + @@ -238,7 +241,7 @@ // {notifyInferior- + + + // Exited} + + + // + + + + -// + + + + +// InferiorExitOk + + + // + + + + // InferiorShutdownOk InferiorShutdownFailed + // * * + diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index c21874b5c4..1b29301395 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -145,6 +145,7 @@ static bool stateAcceptsGdbCommands(DebuggerState state) case InferiorSetupOk: case EngineRunFailed: case EngineRunOk: + case InferiorExitOk: case InferiorRunFailed: case EngineShutdownOk: case EngineShutdownFailed: -- GitLab