This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: [python][rfc] Use attributes in gdb.Symtab and gdb.Symtab_and_line.
- From: Tom Tromey <tromey at redhat dot com>
- To: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- Cc: archer ml <archer at sourceware dot org>
- Date: Fri, 05 Dec 2008 16:08:10 -0700
- Subject: Re: [python][rfc] Use attributes in gdb.Symtab and gdb.Symtab_and_line.
- References: <cover.1228508475.git.bauerman@br.ibm.com><1228513443.11550.187.camel@localhost.localdomain>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:
Thiago> For gdb.Symtab, changed get_filename method to filename attribute, but
Thiago> kept to_fullname as a method.
Thiago> For gdb.Symtab_and_line, changed all methods to attributes.
This one looks good to me.
About "to_fullname"... that seems like one of those names picked to
mirror gdb internals. But that "to" doesn't seem any more meaningful
than "get" -- I'd prefer just "fullname". What do you think?
Tom