From fba8bc25d0d7caa0418d00e1f36adcc59c629707 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Fri, 27 Jan 2017 13:16:01 +0100 Subject: Debugger: Use direct memory access for boost::list items Change-Id: I1f62581ee752cd4df2e5d1f3e124bf75cbd6a4b6 Reviewed-by: hjk --- share/qtcreator/debugger/boosttypes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share') diff --git a/share/qtcreator/debugger/boosttypes.py b/share/qtcreator/debugger/boosttypes.py index d21bb820a9..ccd88b3864 100644 --- a/share/qtcreator/debugger/boosttypes.py +++ b/share/qtcreator/debugger/boosttypes.py @@ -81,10 +81,10 @@ def qdump__boost__container__list(d, value): root = r["root_"] except: root = r["m_header"] - p = root["next_"] + p = root["next_"].extractPointer() for i in d.childRange(): - d.putSubItem(i, d.createValue(p.integer() + offset, innerType)) - p = p["next_"] + d.putSubItem(i, d.createValue(p + offset, innerType)) + p = d.extractPointer(p) def qdump__boost__gregorian__date(d, value): -- cgit v1.2.1