Commit a3b52c5e authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

gdb doesn't care for termination. just kill it.

parent 3edcafed
......@@ -1355,7 +1355,7 @@ void GdbEngine::shutdown()
// fall-through
case InferiorStopFailed: // Tough luck, I guess. But unreachable as of now anyway.
setState(EngineShuttingDown);
m_gdbProc.terminate();
m_gdbProc.kill();
break;
}
}
......@@ -1383,7 +1383,7 @@ void GdbEngine::handleGdbExit(const GdbResponse &response)
} else {
QString msg = m_gdbAdapter->msgGdbStopFailed(_(response.data.findChild("msg").data()));
debugMessage(_("GDB WON'T EXIT (%1); KILLING IT").arg(msg));
m_gdbProc.terminate();
m_gdbProc.kill();
}
}
......@@ -4232,7 +4232,7 @@ void GdbEngine::handleGdbError(QProcess::ProcessError error)
case QProcess::WriteError:
case QProcess::Timedout:
default:
m_gdbProc.terminate();
m_gdbProc.kill();
setState(EngineShuttingDown, true);
showMessageBox(QMessageBox::Critical, tr("Gdb I/O Error"),
errorMessage(error));
......@@ -4325,7 +4325,7 @@ void GdbEngine::handleAdapterCrashed(const QString &msg)
setState(AdapterStartFailed, true);
// No point in being friendly here ...
m_gdbProc.terminate();
m_gdbProc.kill();
if (!msg.isEmpty())
showMessageBox(QMessageBox::Critical, tr("Adapter crashed"), msg);
......
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