forked from qt-creator/qt-creator
Debugger: Avoid soft assertions in register list values
Change-Id: Ia5444b935c964fd450bed67306dc10ed9d54e7c7 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
267b0431e2
commit
4832f75d53
@@ -3536,6 +3536,8 @@ void GdbEngine::handleRegisterListValues(const DebuggerResponse &response)
|
||||
QString chunk = list.at(i);
|
||||
if (chunk.startsWith(' '))
|
||||
chunk.remove(0, 1);
|
||||
if (chunk.startsWith('<') || chunk.startsWith('{')) // <unavailable>, {v4_float=...
|
||||
continue;
|
||||
if (chunk.startsWith("0x"))
|
||||
chunk.remove(0, 2);
|
||||
QTC_ASSERT(chunk.size() == 8, continue);
|
||||
|
||||
Reference in New Issue
Block a user