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;
|
||||
}
|
||||
|
||||
|
||||
@@ -366,7 +366,6 @@ private: ////////// General Interface //////////
|
||||
// HACK:
|
||||
QString m_currentThread;
|
||||
QString m_lastWinException;
|
||||
QString m_lastMissingDebugInfo;
|
||||
bool m_expectTerminalTrap = false;
|
||||
bool usesExecInterrupt() const;
|
||||
bool usesTargetAsync() const;
|
||||
|
||||
@@ -153,14 +153,6 @@ GdbOptionsPageWidget::GdbOptionsPageWidget()
|
||||
"<html><head/><body>GDB shows by default AT&&T style disassembly."
|
||||
"</body></html>"));
|
||||
|
||||
auto checkBoxIdentifyDebugInfoPackages = new QCheckBox(groupBoxGeneral);
|
||||
checkBoxIdentifyDebugInfoPackages->setText(GdbOptionsPage::tr("Create tasks from missing packages"));
|
||||
checkBoxIdentifyDebugInfoPackages->setToolTip(GdbOptionsPage::tr(
|
||||
"<html><head/><body><p>Attempts to identify missing debug info packages "
|
||||
"and lists them in the Issues output pane.</p><p>"
|
||||
"<b>Note:</b> This feature needs special support from the Linux "
|
||||
"distribution and GDB build and is not available everywhere.</p></body></html>"));
|
||||
|
||||
QString howToUsePython = GdbOptionsPage::tr(
|
||||
"<p>To execute simple Python commands, prefix them with \"python\".</p>"
|
||||
"<p>To execute sequences of Python commands spanning multiple lines "
|
||||
@@ -233,7 +225,6 @@ GdbOptionsPageWidget::GdbOptionsPageWidget()
|
||||
formLayout->addRow(checkBoxLoadGdbInit);
|
||||
formLayout->addRow(checkBoxLoadGdbDumpers);
|
||||
formLayout->addRow(checkBoxIntelFlavor);
|
||||
formLayout->addRow(checkBoxIdentifyDebugInfoPackages);
|
||||
|
||||
auto startLayout = new QGridLayout(groupBoxStartupCommands);
|
||||
startLayout->addWidget(textEditStartupCommands, 0, 0, 1, 1);
|
||||
@@ -255,7 +246,6 @@ GdbOptionsPageWidget::GdbOptionsPageWidget()
|
||||
group.insert(action(AdjustBreakpointLocations), checkBoxAdjustBreakpointLocations);
|
||||
group.insert(action(GdbWatchdogTimeout), spinBoxGdbWatchdogTimeout);
|
||||
group.insert(action(IntelFlavor), checkBoxIntelFlavor);
|
||||
group.insert(action(IdentifyDebugInfoPackages), checkBoxIdentifyDebugInfoPackages);
|
||||
group.insert(action(UseMessageBoxForSignals), checkBoxUseMessageBoxForSignals);
|
||||
group.insert(action(SkipKnownFrames), checkBoxSkipKnownFrames);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user