diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2017-07-05 18:17:36 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2017-07-10 07:35:11 +0000 |
commit | 4832f75d533d809d052819e48620d8fd2799be41 (patch) | |
tree | 00ddb6705b2e36968c0ee8204f356cddfefd986a /src/plugins/debugger | |
parent | 267b0431e24413d65478455b1481184967035add (diff) | |
download | qt-creator-4832f75d533d809d052819e48620d8fd2799be41.tar.gz |
Debugger: Avoid soft assertions in register list values
Change-Id: Ia5444b935c964fd450bed67306dc10ed9d54e7c7
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/debugger')
-rw-r--r-- | src/plugins/debugger/gdb/gdbengine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index a0eb8d7e14..82b562f6f8 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -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); |