OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c7b828
)
Fix gdb pretty printers to work with Python 3.
author
Igor Kudrin
<ikudrin.dev@gmail.com>
Fri, 5 Aug 2016 16:48:31 +0000
(16:48 +0000)
committer
Igor Kudrin
<ikudrin.dev@gmail.com>
Fri, 5 Aug 2016 16:48:31 +0000
(16:48 +0000)
Differential Revision: https://reviews.llvm.org/D23202
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277833
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/gdb-scripts/prettyprinters.py
patch
|
blob
|
history
diff --git
a/utils/gdb-scripts/prettyprinters.py
b/utils/gdb-scripts/prettyprinters.py
index
0dbc7af
..
1ebe50b
100644
(file)
--- a/
utils/gdb-scripts/prettyprinters.py
+++ b/
utils/gdb-scripts/prettyprinters.py
@@
-46,6
+46,8
@@
class SmallVectorPrinter:
self.cur = self.cur + 1
return '[%d]' % count, cur.dereference()
+ __next__ = next
+
def __init__(self, val):
self.val = val
@@
-86,6
+88,8
@@
class ArrayRefPrinter:
self.cur = self.cur + 1
return '[%d]' % count, cur.dereference()
+ __next__ = next
+
def __init__(self, val):
self.val = val