forked from qt-creator/qt-creator
Debugger: Cleaner shutdown of LLDB/python machinery
Change-Id: I482e78c352066ddd05e96199fd8ead088e3e9f58 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -119,7 +119,7 @@ void LldbEngine::runCommand(const Command &command)
|
||||
void LldbEngine::shutdownInferior()
|
||||
{
|
||||
QTC_ASSERT(state() == InferiorShutdownRequested, qDebug() << state());
|
||||
notifyInferiorShutdownOk();
|
||||
runCommand(Command("shutdownInferior"));
|
||||
}
|
||||
|
||||
void LldbEngine::shutdownEngine()
|
||||
@@ -1018,6 +1018,14 @@ void LldbEngine::refreshState(const GdbMi &reportedState)
|
||||
notifyEngineRunAndInferiorRunOk();
|
||||
else if (newState == "enginerunandinferiorstopok")
|
||||
notifyEngineRunAndInferiorStopOk();
|
||||
else if (newState == "inferiorshutdownok")
|
||||
notifyInferiorShutdownOk();
|
||||
else if (newState == "inferiorshutdownfailed")
|
||||
notifyInferiorShutdownFailed();
|
||||
else if (newState == "engineshutdownok")
|
||||
notifyEngineShutdownOk();
|
||||
else if (newState == "engineshutdownfailed")
|
||||
notifyEngineShutdownFailed();
|
||||
else if (newState == "inferiorexited")
|
||||
notifyInferiorExited();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user