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:
hjk
2018-11-07 07:56:15 +01:00
parent 077953b923
commit 9b324aaccf

View File

@@ -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 \"";