diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2015-04-15 11:54:33 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2015-04-15 11:54:33 -0400 |
commit | 40d2f8d62e5474d984fb41e0229763ab93213fdb (patch) | |
tree | af13373d34f1446b7e12d6b8fd65ae667dffc582 /gdb/python | |
parent | 6bbbba9ba5bcde0b2f4613e1bec3226cf567dcf9 (diff) | |
download | gdb-40d2f8d62e5474d984fb41e0229763ab93213fdb.zip gdb-40d2f8d62e5474d984fb41e0229763ab93213fdb.tar.gz gdb-40d2f8d62e5474d984fb41e0229763ab93213fdb.tar.bz2 |
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.
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/lib/gdb/command/unwinders.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/lib/gdb/command/unwinders.py b/gdb/python/lib/gdb/command/unwinders.py index 8530b35..1a5aed9 100644 --- a/gdb/python/lib/gdb/command/unwinders.py +++ b/gdb/python/lib/gdb/command/unwinders.py @@ -83,7 +83,7 @@ class InfoUnwinder(gdb.Command): """ if not unwinders: return - print title + print(title) for unwinder in unwinders: if name_re.match(unwinder.name): print(" %s%s" % (unwinder.name, |