forked from qt-creator/qt-creator
Debugger: Remove "IdentifyDebugInfoPackages" feature
This was only ever working with SuSE and GDB, and nobody ever tests it, nor asks for extension to other setups. Change-Id: I7b1e3cc8c9f71df4c86b957a79d5afe02eec0758 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -356,24 +356,6 @@ void GdbEngine::handleResponse(const QString &buff)
|
||||
break;
|
||||
}
|
||||
|
||||
if (boolSetting(IdentifyDebugInfoPackages)) {
|
||||
// From SuSE's gdb: >&"Missing separate debuginfo for ...\n"
|
||||
// ">&"Try: zypper install -C \"debuginfo(build-id)=c084ee5876ed1ac12730181c9f07c3e027d8e943\"\n"
|
||||
if (data.startsWith("Missing separate debuginfo for ")) {
|
||||
m_lastMissingDebugInfo = data.mid(32);
|
||||
} else if (data.startsWith("Try: zypper")) {
|
||||
QString cmd = data.mid(4);
|
||||
|
||||
Task task(Task::Warning,
|
||||
tr("Missing debug information for %1\nTry: %2")
|
||||
.arg(m_lastMissingDebugInfo).arg(cmd),
|
||||
FilePath(), 0, Debugger::Constants::TASK_CATEGORY_DEBUGGER_DEBUGINFO);
|
||||
|
||||
TaskHub::addTask(task);
|
||||
Internal::addDebugInfoTask(task.taskId, cmd);
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user