debugger: Remove dead code

Change-Id: Id59c9df315f7b19cd8a705e4283e749fb71b4dce
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-08-15 15:13:08 +02:00
parent 8184d8e703
commit 60de95aff6
6 changed files with 0 additions and 181 deletions

View File

@@ -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
//