aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorClem Dickey <clemd@acm.org>2015-08-06 09:24:58 -0700
committerDoug Evans <dje@google.com>2015-08-06 09:24:58 -0700
commitca0a5f0bd33d0aa17a5cf518e41e47ddfde486ad (patch)
tree7006621892d9ba2e9d7184b9e9319dc50ea68291 /gdb/python
parent608a1e46394e9df951968c9112fbec3065da5fba (diff)
downloadgdb-ca0a5f0bd33d0aa17a5cf518e41e47ddfde486ad.zip
gdb-ca0a5f0bd33d0aa17a5cf518e41e47ddfde486ad.tar.gz
gdb-ca0a5f0bd33d0aa17a5cf518e41e47ddfde486ad.tar.bz2
PR python/17136
gdb/ChangeLog: * python/lib/gdb/command/type_printers.py (InfoTypePrinter): Fix typo.
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/lib/gdb/command/type_printers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/lib/gdb/command/type_printers.py b/gdb/python/lib/gdb/command/type_printers.py
index 0ef7686..1203989 100644
--- a/gdb/python/lib/gdb/command/type_printers.py
+++ b/gdb/python/lib/gdb/command/type_printers.py
@@ -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: