forked from qt-creator/qt-creator
Debugger: Exclude lldb-gdbserver-* from autodetection
Change-Id: If7b887188d3a94ae741c3fcf9a1dbce063a04bd6 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -252,8 +252,10 @@ void DebuggerItemManager::autoDetectGdbOrLldbDebuggers()
|
||||
foreach (const QString &base, path) {
|
||||
dir.setPath(base);
|
||||
foreach (const QString &entry, dir.entryList()) {
|
||||
if (entry.startsWith(QLatin1String("lldb-platform-")))
|
||||
if (entry.startsWith(QLatin1String("lldb-platform-"))
|
||||
|| entry.startsWith(QLatin1String("lldb-gdbserver-"))) {
|
||||
continue;
|
||||
}
|
||||
suspects.append(FileName::fromString(dir.absoluteFilePath(entry)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user