forked from qt-creator/qt-creator
Debugger: Fix version parsing for LLDB
Ignore trailing newlines. Change-Id: I2d4a4ce67abd016fc0ce669fe5f51ba60885ccef Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -127,7 +127,7 @@ void DebuggerItem::reinitializeFromFile()
|
||||
return;
|
||||
}
|
||||
m_abis.clear();
|
||||
const QString output = response.allOutput();
|
||||
const QString output = response.allOutput().trimmed();
|
||||
if (output.contains("gdb")) {
|
||||
m_engineType = GdbEngineType;
|
||||
const char needle[] = "This GDB was configured as \"";
|
||||
|
||||
Reference in New Issue
Block a user