PR python/17136
gdb/ChangeLog: * python/lib/gdb/command/type_printers.py (InfoTypePrinter): Fix typo.
This commit is contained in:
parent
608a1e4639
commit
ca0a5f0bd3
2 changed files with 6 additions and 1 deletions
|
@ -47,7 +47,7 @@ class InfoTypePrinter(gdb.Command):
|
|||
sep = ''
|
||||
for objfile in gdb.objfiles():
|
||||
if objfile.type_printers:
|
||||
print ("%sType printers for %s:" % (sep, objfile.name))
|
||||
print ("%sType printers for %s:" % (sep, objfile.filename))
|
||||
self.list_type_printers(objfile.type_printers)
|
||||
sep = '\n'
|
||||
if gdb.current_progspace().type_printers:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue