]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PR python/17136
authorClem Dickey <clemd@acm.org>
Thu, 6 Aug 2015 16:29:03 +0000 (09:29 -0700)
committerDoug Evans <dje@google.com>
Thu, 6 Aug 2015 16:29:03 +0000 (09:29 -0700)
gdb/ChangeLog:

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

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

index 623675794a06912a28c562e972b6718caaf284a6..4d4e8dd25e279864b9b269ab6c685f89e019984f 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  Pedro Alves  <palves@redhat.com>
 
        * nat/linux-waitpid.c (my_waitpid): Only print *status if waitpid
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: