diff --git a/gdb/kakoune.py b/gdb/kakoune.py index 75ab68977..c3b4b034e 100644 --- a/gdb/kakoune.py +++ b/gdb/kakoune.py @@ -18,6 +18,9 @@ class ArrayIterator: self.index = self.index + 1 return ('[%d]' % index, (self.data + index).dereference()) + def __next__(self): + return self.next() + class ArrayView: """Print a ArrayView"""