Debugger: Filter out lldb-mi entries from autodetected debuggers

lldb-mi is not mimicing a full GDB, and it a safe assumption that
there's a working LLDB nearby.

Change-Id: I2711a7a72fad4c44e430166ede186be148a6fc7c
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
hjk
2019-03-05 18:10:30 +01:00
parent cde7ae47aa
commit 4a3d6f4694

View File

@@ -750,7 +750,8 @@ void DebuggerItemManagerPrivate::autoDetectGdbOrLldbDebuggers()
dir.setPath(base.toFileInfo().absoluteFilePath());
foreach (const QString &entry, dir.entryList()) {
if (entry.startsWith("lldb-platform-")
|| entry.startsWith("lldb-gdbserver-")) {
|| entry.startsWith("lldb-gdbserver-")
|| entry.startsWith("lldb-mi-")) {
continue;
}
suspects.append(FileName::fromString(dir.absoluteFilePath(entry)));