Commit a2ec23c0 authored by Pawel Polanski's avatar Pawel Polanski
Browse files

GDB: Handle ill engine's situation

parent ed070ff2
......@@ -4736,7 +4736,10 @@ void GdbEngine::handleAdapterCrashed(const QString &msg)
// Don't bother with state transitions - this can happen in any state and
// the end result is always the same, so it makes little sense to find a
// "path" which does not assert.
notifyEngineSetupFailed();
if (state() == EngineSetupRequested)
notifyEngineSetupFailed();
else
notifyEngineIll();
// No point in being friendly here ...
gdbProc()->kill();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment