Debugger: Remove workaround to get dynamic type in std::*_ptr

Seems to not be needed anymore with recent GCC, and makes the
LLDB test pass on Linux.

Change-Id: If793e726656df8b319d2f50e1986e0a92f68411d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-04-15 08:52:11 +02:00
parent 134234be67
commit c50286db3c

View File

@@ -476,7 +476,6 @@ def qdump__std__shared_ptr(d, value):
if d.isSimpleType(d.templateArgument(value.type, 0)):
d.putValue("%s @0x%x" % (d.simpleValue(i.dereference()), d.pointerValue(i)))
else:
i = d.expensiveDowncast(i)
d.putValue("@0x%x" % d.pointerValue(i))
d.putNumChild(3)
@@ -515,7 +514,6 @@ def qdump__std__unique_ptr(d, value):
if d.isSimpleType(d.templateArgument(value.type, 0)):
d.putValue("%s @0x%x" % (d.simpleValue(i.dereference()), d.pointerValue(i)))
else:
i = d.expensiveDowncast(i)
d.putValue("@0x%x" % d.pointerValue(i))
d.putNumChild(1)