Commit a2dfc6df authored by hjk's avatar hjk

Debugger: Fix some LLDB dumper auto tests

Change-Id: I99ac079566dad1961972b8ca87b1d346a75628a1
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 56da0aed
......@@ -233,7 +233,7 @@ def qdump__QTime(d, value):
def qdump__QTimeZone(d, value):
base = d.dereferenceValue(value)
if d.isNull(base):
if base == 0:
d.putValue("(null)")
d.putNumChild(0)
return
......@@ -901,6 +901,7 @@ def qdumpHelper__Qt4_QMap(d, value, forceLong):
# Note: Keeping the spacing in the type lookup
# below is important for LLDB.
needle = str(value.type).replace("QMap", "QMapNode", 1)
needle = d.qtNamespace() + "QMapNode<%s,%s>" % (keyType, valueType)
nodeType = d.lookupType(needle)
nodePointerType = nodeType.pointer()
# symbols reports payload size at wrong size 24
......
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