Debugger: Remove old commented code

Change-Id: Ib7b156f65dd81365cdcf56a9598449415a231abf
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Marcus Tillmanns
2022-09-14 17:34:53 +02:00
parent e4b8e78ca2
commit e9af100f83

View File

@@ -703,26 +703,6 @@ void DebuggerItemManagerPrivate::autoDetectGdbOrLldbDebuggers(const FilePaths &s
"gdb.exe", "lldb", "lldb.exe", "lldb-[1-9]*",
"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())
return;