forked from qt-creator/qt-creator
Debugger: Properly handle spontaneous stop on InferiorRunRequested
We need to transition into InferiorRunOk first. Change-Id: Iea4770f70979a4700a3bb350376526bbe8c07952 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1331,6 +1331,7 @@ void GdbEngine::handleStopResponse(const GdbMi &data)
|
||||
// be handled in the result handler.
|
||||
// -- or --
|
||||
// *stopped arriving earlier than ^done response to an -exec-step
|
||||
notifyInferiorRunOk();
|
||||
notifyInferiorSpontaneousStop();
|
||||
} else if (state() == InferiorStopOk) {
|
||||
// That's expected.
|
||||
|
||||
Reference in New Issue
Block a user