forked from qt-creator/qt-creator
Debugger: Remove old commented code
Change-Id: Ib7b156f65dd81365cdcf56a9598449415a231abf Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -703,26 +703,6 @@ void DebuggerItemManagerPrivate::autoDetectGdbOrLldbDebuggers(const FilePaths &s
|
|||||||
"gdb.exe", "lldb", "lldb.exe", "lldb-[1-9]*",
|
"gdb.exe", "lldb", "lldb.exe", "lldb-[1-9]*",
|
||||||
"arm-none-eabi-gdb-py.exe"};
|
"arm-none-eabi-gdb-py.exe"};
|
||||||
|
|
||||||
// DebuggerItem result;
|
|
||||||
// result.setAutoDetected(true);
|
|
||||||
// result.setDisplayName(Tr::tr("Auto-detected for Tool Chain %1").arg(tc->displayName()));
|
|
||||||
/*
|
|
||||||
// Check suggestions from the SDK.
|
|
||||||
Environment env = Environment::systemEnvironment();
|
|
||||||
if (tc) {
|
|
||||||
tc->addToEnvironment(env); // Find MinGW gdb in toolchain environment.
|
|
||||||
QString path = tc->suggestedDebugger().toString(); // Won't compile
|
|
||||||
if (!path.isEmpty()) {
|
|
||||||
const QFileInfo fi(path);
|
|
||||||
if (!fi.isAbsolute())
|
|
||||||
path = env.searchInPath(path);
|
|
||||||
result.command = FileName::fromString(path);
|
|
||||||
result.engineType = engineTypeFromBinary(path);
|
|
||||||
return maybeAddDebugger(result, false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (searchPaths.isEmpty())
|
if (searchPaths.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user