Commit 0c42d826 authored by hjk's avatar hjk

Debugger: Go back to normal after attempting to kill GDB

Task-number: QTCREATORBUG-13044
Change-Id: I2610136b1d5c4c2d55d13b378156d382ab6f73cc
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 6aa84464
......@@ -1038,6 +1038,7 @@ void GdbEngine::commandTimeout()
showMessage(_("KILLING DEBUGGER AS REQUESTED BY USER"));
// This is an undefined state, so we just pull the emergency brake.
m_gdbProc->kill();
notifyEngineShutdownFailed();
} else {
showMessage(_("CONTINUE DEBUGGER AS REQUESTED BY USER"));
}
......@@ -1973,6 +1974,7 @@ void GdbEngine::handleGdbExit(const GdbResponse &response)
qDebug() << (_("GDB WON'T EXIT (%1); KILLING IT").arg(msg));
showMessage(_("GDB WON'T EXIT (%1); KILLING IT").arg(msg));
m_gdbProc->kill();
notifyEngineShutdownFailed();
}
}
......
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