forked from qt-creator/qt-creator
Debugger: Skip interpretation of unreadable register content
Task-number: QTCREATORBUG-14029 Change-Id: I88553377a567607c7748c4875a5991e8fb0d52ab Reviewed-by: Nikita Baryshnikov <nib952051@gmail.com> Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -3646,6 +3646,8 @@ void GdbEngine::handleRegisterListValues(const DebuggerResponse &response)
|
||||
QByteArray data = item["value"].data();
|
||||
if (data.startsWith("0x")) {
|
||||
reg.value = data;
|
||||
} else if (data == "<error reading variable>") {
|
||||
// Nothing. See QTCREATORBUG-14029.
|
||||
} else {
|
||||
// This is what GDB considers machine readable output:
|
||||
// value="{v4_float = {0x00000000, 0x00000000, 0x00000000, 0x00000000},
|
||||
|
Reference in New Issue
Block a user