summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2017-01-27 13:16:01 +0100
committerDavid Schulz <david.schulz@qt.io>2017-01-27 12:32:22 +0000
commitfba8bc25d0d7caa0418d00e1f36adcc59c629707 (patch)
tree949e47b890c8d085bab77032ecab7490e8cb094a /share
parent52705ad214822ca585fe13f4e453ccda8274f8d7 (diff)
downloadqt-creator-fba8bc25d0d7caa0418d00e1f36adcc59c629707.tar.gz
Debugger: Use direct memory access for boost::list items
Change-Id: I1f62581ee752cd4df2e5d1f3e124bf75cbd6a4b6 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/debugger/boosttypes.py6
1 files changed, 3 insertions, 3 deletions
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):