[PATCH] D23202: Fix gdb pretty printers to work with Python 3.
Igor Kudrin via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 5 09:56:30 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL277833: Fix gdb pretty printers to work with Python 3. (authored by ikudrin).
Changed prior to commit:
https://reviews.llvm.org/D23202?vs=66939&id=66972#toc
Repository:
rL LLVM
https://reviews.llvm.org/D23202
Files:
llvm/trunk/utils/gdb-scripts/prettyprinters.py
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23202.66972.patch
Type: text/x-patch
Size: 568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160805/13053426/attachment.bin>
More information about the llvm-commits
mailing list