void GdbAttachEngine::runEngine() { QTC_ASSERT(state() == EngineRunRequested, qDebug() << state()); showStatusMessage(tr("Attached to process %1.").arg(inferiorPid())); notifyEngineRunAndInferiorStopOk(); handleStop1(GdbMi()); }
void GdbAttachEngine::runEngine() { QTC_ASSERT(state() == EngineRunRequested, qDebug() << state()); const qint64 pid = runParameters().attachPID; runCommand({"attach " + QByteArray::number(pid), NoFlags, [this](const DebuggerResponse &r) { handleAttach(r); }}); showStatusMessage(tr("Attached to process %1.").arg(inferiorPid())); }
void GdbTermEngine::interruptInferior2() { interruptLocalInferior(inferiorPid()); }