Commit af3834f1 authored by hjk's avatar hjk

Debugger: Force direct engine shutdown on GDB crash

Task-number: QTCREATORBUG-17341
Change-Id: I4011345fbd8810841f4236cc532a0eafcaf587b8
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent b84bf494
......@@ -4136,7 +4136,9 @@ void GdbEngine::handleGdbError(QProcess::ProcessError error)
// This should be handled by the code trying to start the process.
break;
case QProcess::Crashed:
// This will get a processExited() as well.
// This does not seem to get processFinished() in all cases.
m_gdbProc.disconnect();
handleGdbFinished(m_gdbProc.exitCode(), QProcess::CrashExit);
break;
case QProcess::ReadError:
case QProcess::WriteError:
......
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