Index: llvm/trunk/utils/gdb-scripts/prettyprinters.py =================================================================== --- llvm/trunk/utils/gdb-scripts/prettyprinters.py +++ llvm/trunk/utils/gdb-scripts/prettyprinters.py @@ -46,6 +46,8 @@ self.cur = self.cur + 1 return '[%d]' % count, cur.dereference() + __next__ = next + def __init__(self, val): self.val = val @@ -86,6 +88,8 @@ self.cur = self.cur + 1 return '[%d]' % count, cur.dereference() + __next__ = next + def __init__(self, val): self.val = val