forked from qt-creator/qt-creator
Debugger: Parse openSUSE's gdb version strings
Change-Id: I49cfb29a3d6ec2245ed05956bb2cd46c6a2338cc Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -423,12 +423,16 @@ QByteArray DebuggerResponse::toString() const
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Tested in tests/auto/debugger/tst_gdb.cpp
|
||||
|
||||
void extractGdbVersion(const QString &msg,
|
||||
int *gdbVersion, int *gdbBuildVersion, bool *isMacGdb, bool *isQnxGdb)
|
||||
{
|
||||
const QChar dot(QLatin1Char('.'));
|
||||
|
||||
const bool ignoreParenthesisContent = msg.contains(QLatin1String("rubenvb"));
|
||||
const bool ignoreParenthesisContent = msg.contains(QLatin1String("rubenvb"))
|
||||
|| msg.contains(QLatin1String("openSUSE"));
|
||||
|
||||
const QChar parOpen(QLatin1Char('('));
|
||||
const QChar parClose(QLatin1Char(')'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user