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.
This commit is contained in:
parent
6bbbba9ba5
commit
40d2f8d62e
7 changed files with 27 additions and 10 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue