This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix 'info type-printers' Python error - PR 17136
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Clem Dickey <clemd at acm dot org>, Jonathan Wakely <jwakely at redhat dot com>
- Date: Sat, 27 Jun 2015 21:57:33 +0200
- Subject: Re: [patch] Fix 'info type-printers' Python error - PR 17136
- Authentication-results: sourceware.org; auth=none
- References: <20150626134907 dot GA23742 at host1 dot jankratochvil dot net>
On Fri, 26 Jun 2015 15:49:07 +0200, Jan Kratochvil wrote:
> - print ("%sType printers for %s:" % (sep, objfile.name))
> + print ("%sType printers for %s:" % (sep, objfile.filename))
I have looked now into history when the regression by "name"->"filename"
rename in objfile happened but I haven't found anything.
FSF GDB got already checked in support for "filename" in 2012 by:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=18a9fc1261b8a654fe6db7eea7e60b0c59296d96
A the previous archer.git commit also had "filename" in 2009:
https://sourceware.org/git/?p=archer.git;a=commitdiff;h=89c73adef9f9fac7e1efeb6961a867f46e54e24b
Jan