Skip to content
Snippets Groups Projects
Commit 1ee27590 authored by hjk's avatar hjk
Browse files

Debugger: Fix boost::unordered_set dumper


Change-Id: Ib356baed758437f5b549df060ca3ee62ee61b9fb
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent ca492c8f
No related branches found
No related tags found
No related merge requests found
...@@ -132,7 +132,7 @@ def qdump__boost__unordered__unordered_set(d, value): ...@@ -132,7 +132,7 @@ def qdump__boost__unordered__unordered_set(d, value):
if d.isExpanded(): if d.isExpanded():
innerType = d.templateArgument(value.type, 0) innerType = d.templateArgument(value.type, 0)
bucketCount = d.extractInt(base + ptrSize) bucketCount = d.extractInt(base + ptrSize)
offset = ((innerType.sizeof + ptrSize - 1) / ptrSize) * ptrSize offset = int((innerType.sizeof + ptrSize - 1) / ptrSize) * ptrSize
with Children(d, size, maxNumChild=10000): with Children(d, size, maxNumChild=10000):
afterBuckets = d.extractPointer(base + 5 * ptrSize) afterBuckets = d.extractPointer(base + 5 * ptrSize)
afterBuckets += bucketCount * ptrSize afterBuckets += bucketCount * ptrSize
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment