forked from qt-creator/qt-creator
add lower case a-f as address match
As the addresses were only matched against upper case letters all registers with lower case characters were not correctly parsed and had zero values Change-Id: Idc3da0a33b9f075d7a209cad74768e81cced2d67 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
André Hartmann
parent
99c4e7c94f
commit
38e13e4216
@@ -3261,7 +3261,7 @@ void GdbEngine::handlePeripheralRegisterListValues(
|
|||||||
|
|
||||||
const QString output = response.consoleStreamOutput;
|
const QString output = response.consoleStreamOutput;
|
||||||
// Regexp to match for '0x50060800:\t0\n'.
|
// Regexp to match for '0x50060800:\t0\n'.
|
||||||
const QRegularExpression re("^(0x[0-9A-F]+):\\t(\\d+)\\n$");
|
const QRegularExpression re("^(0x[0-9A-Fa-f]+):\\t(\\d+)\\n$");
|
||||||
const QRegularExpressionMatch m = re.match(output);
|
const QRegularExpressionMatch m = re.match(output);
|
||||||
if (!m.hasMatch())
|
if (!m.hasMatch())
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user