Some Python 3 fixes
authorSimon Marchi <simon.marchi@ericsson.com>
Wed, 15 Apr 2015 15:54:33 +0000 (11:54 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Wed, 15 Apr 2015 15:54:33 +0000 (11:54 -0400)
commit40d2f8d62e5474d984fb41e0229763ab93213fdb
treeaf13373d34f1446b7e12d6b8fd65ae667dffc582
parent6bbbba9ba5bcde0b2f4613e1bec3226cf567dcf9
Some Python 3 fixes

Some missing parentheses and one itertools.imap (Py2) vs map (Py3) issue.

gdb/ChangeLog:

* python/lib/gdb/command/unwinders.py: Add parentheses.

gdb/testsuite/ChangeLog:

* gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
if itertools.imap is not present.
* gdb.python/py-objfile.exp: Add parentheses.
* gdb.python/py-type.exp: Same.
* gdb.python/py-unwind-maint.py: Same.
gdb/ChangeLog
gdb/python/lib/gdb/command/unwinders.py
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-framefilter.py
gdb/testsuite/gdb.python/py-objfile.exp
gdb/testsuite/gdb.python/py-type.exp
gdb/testsuite/gdb.python/py-unwind-maint.py