GNOME Bugzilla – Bug 720635
Make gdb pretty-printers compatible with Python3
Last modified: 2015-05-08 06:54:56 UTC
Fixes things for systems where gdb is linked against python 3
Created attachment 264447 [details] [review] Make gdb pretty-printers compatible with Python3 On some systems gdb is linked against python3 where "long" no longer exists. In this case should be using int.
Review of attachment 264447 [details] [review]: Ok.
Attachment 264447 [details] pushed as d33f720 - Make gdb pretty-printers compatible with Python3
The fix is incomplete: Python 3 requires iterators to define a method called `__next__`. Lack of such a method causes errors in gdb: Python Exception <class 'TypeError'> iter() returned non-iterator of type '_iterator':
Filed bug 749092 about that.