diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index ec88ef8ef755aeca80c7172fef0304bbf8804a95..4ee173f32771333281a2a2c8e843c07c66a3b615 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -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);