Commit 3ac589e4 authored by hjk's avatar hjk

Debugger: Fix sub-register display

Inherit value validity from parent; the 'unknown' default
leads to a wrong [inaccessible] display otherwise.

Change-Id: I6ad23b5c3583c3c8fb5cbaa799d7629ff79328ed
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent cdf12d63
......@@ -340,6 +340,7 @@ QByteArray RegisterValue::toByteArray(int base, RegisterKind kind, int size) con
RegisterValue RegisterValue::subValue(int size, int index) const
{
RegisterValue value;
value.known = known;
switch (size) {
case 1:
value.v.u8[0] = v.u8[index];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment