forked from qt-creator/qt-creator
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:
@@ -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)));
|
||||
|
Reference in New Issue
Block a user