diff options
| author | Antonio Di Monaco <tony@becrux.com> | 2018-02-05 18:06:01 +0100 |
|---|---|---|
| committer | Antonio Di Monaco <tony@becrux.com> | 2018-02-06 10:56:49 +0000 |
| commit | e8a8003b16d1b53d2d005bfd32bae53a93d23e5a (patch) | |
| tree | 441be50ac0d698494a494a55325dc30f7944a18f /src/plugins/debugger/debuggerprotocol.cpp | |
| parent | 8d7b548d9ea0e0b2579e2901ed2ab2cfa59b693d (diff) | |
| download | qt-creator-e8a8003b16d1b53d2d005bfd32bae53a93d23e5a.tar.gz | |
Debugger: Fix wrong GDB version detection for SLES
GDB version on SLES is reported as
GNU gdb (GDB; SUSE Linux Enterprise XX) Y.Z.W
So, the content between parentheses must be skipped, otherwise
the wrong digits are parsed.
Change-Id: I05eb1373bc6558dfe088c1328142ff21d48f5591
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/debugger/debuggerprotocol.cpp')
| -rw-r--r-- | src/plugins/debugger/debuggerprotocol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerprotocol.cpp b/src/plugins/debugger/debuggerprotocol.cpp index 8cd7d41bbe..07f5e1658f 100644 --- a/src/plugins/debugger/debuggerprotocol.cpp +++ b/src/plugins/debugger/debuggerprotocol.cpp @@ -438,7 +438,7 @@ void extractGdbVersion(const QString &msg, const QChar dot(QLatin1Char('.')); const bool ignoreParenthesisContent = msg.contains(QLatin1String("rubenvb")) - || msg.contains(QLatin1String("openSUSE")); + || msg.contains(QLatin1String("SUSE")); const QChar parOpen(QLatin1Char('(')); const QChar parClose(QLatin1Char(')')); |
