[python][rfc] Use attributes in gdb.Symtab and gdb.Symtab_and_line.
Thiago Jung Bauermann
bauerman@br.ibm.com
Sun Dec 7 18:43:00 GMT 2008
El vie, 05-12-2008 a las 16:08 -0700, Tom Tromey escribió:
> >>>>> "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?
I agree, will change to "fullname".
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center
More information about the Archer
mailing list