Skip to content

Commit b95f6f2

Browse files
committed
bug fix
1 parent 73436a7 commit b95f6f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/gdb_rust_pretty_printing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def to_string(self):
319319
def children(self):
320320
(length, data_ptr) = \
321321
rustpp.extract_length_and_ptr_from_std_btreeset(self.__val)
322-
val = GdbValue(data_ptr.get_wrapped_value().dereference()).get_child_at_index(0)
322+
val = GdbValue(data_ptr.get_wrapped_value().dereference()).get_child_at_index(3)
323323
gdb_ptr = val.get_wrapped_value()
324324
for index in xrange(length):
325325
yield (str(index), str(index))

0 commit comments

Comments
 (0)