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:
hjk
2015-03-03 17:10:50 +01:00
parent 6288d2833b
commit 8a3c5bc1e7

View File

@@ -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},