diff --git a/gdb/kakoune.py b/gdb/kakoune.py index 75ab6897..c3b4b034 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"""