Commit 445735be authored by hjk's avatar hjk
Browse files

Debugger: Fix display of QVariant(QString) inferior call returns



Some versions of GDB seem to be touchy when it comes to casting,
even if the memory contents is the same.

Change-Id: I9733863c20d3726397623fa593063aec0095e774
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 9e1a7e00
......@@ -2089,7 +2089,7 @@ def qdump__QVariant(d, value):
if toInteger(value["d"]["is_shared"]):
val = data["ptr"].cast(innerType.pointer().pointer()).dereference().dereference()
else:
val = data.cast(innerType)
val = data["ptr"].cast(innerType)
d.putEmptyValue(-99)
d.putItem(val)
......
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