PR python/17136
authorClem Dickey <clemd@acm.org>
Thu, 6 Aug 2015 16:24:58 +0000 (09:24 -0700)
committerDoug Evans <dje@google.com>
Thu, 6 Aug 2015 16:24:58 +0000 (09:24 -0700)
gdb/ChangeLog:

* python/lib/gdb/command/type_printers.py (InfoTypePrinter): Fix typo.

gdb/ChangeLog
gdb/python/lib/gdb/command/type_printers.py

index 6c854ac48f70fd19d0442ba74ad49e6f38ff898b..ded57913e6097814e899ba861bacd3ab87892c80 100644 (file)
@@ -1,3 +1,8 @@
+2015-08-06  Clem Dickey  <clemd@acm.org>
+
+       PR python/17136
+       * python/lib/gdb/command/type_printers.py (InfoTypePrinter): Fix typo.
+
 2015-08-06  Simon Marchi  <simon.marchi@ericsson.com>
 
        * complaints.c (enum complaint_series): Add newlines and remove
index 0ef768651fca7fff60a362630e4c5a2225df0ab0..120398900bd571da0b5fc8b8f8df64db822a5914 100644 (file)
@@ -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: