forked from qt-creator/qt-creator
Debugger: Fix version parsing for LLDB
Ignore trailing newlines.
(cherry picked from commit a69ae41fbe)
Change-Id: I4d1a64f774ea633d2bcb683e7c834c8d2e814976
Reviewed-by: Eike Ziller <eike.ziller@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