Commit 90985d18 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by hjk
Browse files

Debugger: Exclude lldb-gdbserver-* from autodetection



Change-Id: If7b887188d3a94ae741c3fcf9a1dbce063a04bd6
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent f5b9a2f4
...@@ -252,8 +252,10 @@ void DebuggerItemManager::autoDetectGdbOrLldbDebuggers() ...@@ -252,8 +252,10 @@ void DebuggerItemManager::autoDetectGdbOrLldbDebuggers()
foreach (const QString &base, path) { foreach (const QString &base, path) {
dir.setPath(base); dir.setPath(base);
foreach (const QString &entry, dir.entryList()) { foreach (const QString &entry, dir.entryList()) {
if (entry.startsWith(QLatin1String("lldb-platform-"))) if (entry.startsWith(QLatin1String("lldb-platform-"))
|| entry.startsWith(QLatin1String("lldb-gdbserver-"))) {
continue; continue;
}
suspects.append(FileName::fromString(dir.absoluteFilePath(entry))); suspects.append(FileName::fromString(dir.absoluteFilePath(entry)));
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment