diff options
author | Christian Stenger <christian.stenger@qt.io> | 2020-10-07 10:33:34 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2020-10-07 12:42:17 +0000 |
commit | 9dbda24bca12995727cdb41031fd953521613bf7 (patch) | |
tree | 15a7807ce76935ce26a6737adbee0259a9fbbf38 /share/qtcreator/debugger | |
parent | 73725f409a579b3574a81022b5ae3885144f7fb9 (diff) |
Dumper: Fix displaying intrinsic types in cdb
Change-Id: Id0089017912a8d5de0f822fed56231f291859bed
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'share/qtcreator/debugger')
-rw-r--r-- | share/qtcreator/debugger/misctypes.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/share/qtcreator/debugger/misctypes.py b/share/qtcreator/debugger/misctypes.py index 8592653551..cb16267737 100644 --- a/share/qtcreator/debugger/misctypes.py +++ b/share/qtcreator/debugger/misctypes.py @@ -36,36 +36,42 @@ import re def qdump____m128(d, value): d.putEmptyValue() + d.putExpandable() if d.isExpanded(): d.putArrayData(value.address(), 4, d.lookupType('float')) def qdump____m256(d, value): d.putEmptyValue() + d.putExpandable() if d.isExpanded(): d.putArrayData(value.address(), 8, d.lookupType('float')) def qdump____m512(d, value): d.putEmptyValue() + d.putExpandable() if d.isExpanded(): d.putArrayData(value.address(), 16, d.lookupType('float')) def qdump____m128d(d, value): d.putEmptyValue() + d.putExpandable() if d.isExpanded(): d.putArrayData(value.address(), 2, d.lookupType('double')) def qdump____m256d(d, value): d.putEmptyValue() + d.putExpandable() if d.isExpanded(): d.putArrayData(value.address(), 4, d.lookupType('double')) def qdump____m512d(d, value): d.putEmptyValue() + d.putExpandable() if d.isExpanded(): d.putArrayData(value.address(), 8, d.lookupType('double')) @@ -73,6 +79,7 @@ def qdump____m512d(d, value): def qdump____m128i(d, value): data = d.hexencode(value.data(16)) d.putValue(':'.join('%04x' % int(data[i:i + 4], 16) for i in range(0, 32, 4))) + d.putExpandable() if d.isExpanded(): with Children(d): addr = value.address() @@ -85,6 +92,7 @@ def qdump____m128i(d, value): def qdump____m256i(d, value): data = d.hexencode(value.data(32)) d.putValue(':'.join('%04x' % int(data[i:i + 4], 16) for i in range(0, 64, 4))) + d.putExpandable() if d.isExpanded(): with Children(d): addr = value.address() @@ -98,6 +106,7 @@ def qdump____m512i(d, value): data = d.hexencode(value.data(64)) d.putValue(':'.join('%04x' % int(data[i:i + 4], 16) for i in range(0, 64, 4)) + ', ' + ':'.join('%04x' % int(data[i:i + 4], 16) for i in range(64, 128, 4))) + d.putExpandable() if d.isExpanded(): with Children(d): d.putArrayItem('uint32x16', value.address(), 16, 'unsigned int') |