Commit 6d4cc223 authored by hjk's avatar hjk
Browse files

Debugger: Handle _Rb_tree_const_iterator, too



Change-Id: I01baa597976ec5f6e84c8c52aff6e617082b1a28
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent cd3c084d
......@@ -226,6 +226,7 @@ def stdTreeIteratorHelper(d, value):
d.putEmptyValue()
if d.isExpanded():
nodeTypeName = str(value.type).replace("_Rb_tree_iterator", "_Rb_tree_node", 1)
nodeTypeName = nodeTypeName.replace("_Rb_tree_const_iterator", "_Rb_tree_node", 1)
nodeType = d.lookupType(nodeTypeName)
data = node.cast(nodeType)["_M_value_field"]
with Children(d):
......
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