From ca0a5f0bd33d0aa17a5cf518e41e47ddfde486ad Mon Sep 17 00:00:00 2001 From: Clem Dickey Date: Thu, 6 Aug 2015 09:24:58 -0700 Subject: [PATCH] PR python/17136 gdb/ChangeLog: * python/lib/gdb/command/type_printers.py (InfoTypePrinter): Fix typo. --- gdb/ChangeLog | 5 +++++ gdb/python/lib/gdb/command/type_printers.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6c854ac48f7..ded57913e60 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-08-06 Clem Dickey + + PR python/17136 + * python/lib/gdb/command/type_printers.py (InfoTypePrinter): Fix typo. + 2015-08-06 Simon Marchi * complaints.c (enum complaint_series): Add newlines and remove diff --git a/gdb/python/lib/gdb/command/type_printers.py b/gdb/python/lib/gdb/command/type_printers.py index 0ef768651fc..120398900bd 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: -- 2.30.2