forked from qt-creator/qt-creator
debugger: Remove dead code
Change-Id: Id59c9df315f7b19cd8a705e4283e749fb71b4dce Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -4634,27 +4634,6 @@ static QString gdbBinary(const DebuggerStartParameters &sp)
|
||||
return sp.debuggerCommand;
|
||||
}
|
||||
|
||||
//bool checkGdbConfiguration(const DebuggerStartParameters &sp, ConfigurationCheck *check)
|
||||
//{
|
||||
// const QString binary = gdbBinary(sp);
|
||||
// const Abi abi = sp.toolChainAbi;
|
||||
// if (binary.isEmpty()) {
|
||||
// check->errorDetails.push_back(msgNoGdbBinaryForToolChain(abi));
|
||||
// check->settingsCategory = _(ProjectExplorer::Constants::PROJECTEXPLORER_SETTINGS_CATEGORY);
|
||||
// check->settingsPage = _(ProjectExplorer::Constants::PROJECTEXPLORER_SETTINGS_CATEGORY);
|
||||
// return false;
|
||||
// }
|
||||
// if (abi.os() == Abi::WindowsOS && !QFileInfo(binary).isAbsolute()) {
|
||||
// // See initialization below, we need an absolute path to be able to locate Python on Windows.
|
||||
// check->errorDetails.push_back(GdbEngine::tr("The gdb location must be given as an "
|
||||
// "absolute path in the debugger settings (%1).").arg(binary));
|
||||
// check->settingsCategory = _(ProjectExplorer::Constants::PROJECTEXPLORER_SETTINGS_CATEGORY);
|
||||
// check->settingsPage = _(ProjectExplorer::Constants::PROJECTEXPLORER_SETTINGS_CATEGORY);
|
||||
// return false;
|
||||
// }
|
||||
// return true;
|
||||
//}
|
||||
|
||||
//
|
||||
// Starting up & shutting down
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user