bug fix
This commit is contained in:
parent
73436a7233
commit
b95f6f2e8f
1 changed files with 1 additions and 1 deletions
|
|
@ -319,7 +319,7 @@ class RustStdBTreeSetPrinter(object):
|
|||
def children(self):
|
||||
(length, data_ptr) = \
|
||||
rustpp.extract_length_and_ptr_from_std_btreeset(self.__val)
|
||||
val = GdbValue(data_ptr.get_wrapped_value().dereference()).get_child_at_index(0)
|
||||
val = GdbValue(data_ptr.get_wrapped_value().dereference()).get_child_at_index(3)
|
||||
gdb_ptr = val.get_wrapped_value()
|
||||
for index in xrange(length):
|
||||
yield (str(index), str(index))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue