This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [python][rfc] Rename gdb.current_frame to gdb.newest_frame.


El mar, 16-12-2008 a las 20:20 -0200, Thiago Jung Bauermann escribiÃ:
> I'm documenting gdb.Frame. In the process, I realized that
> gdb.current_frame is not a good name for what it really provides. I
> decided to call it gdb.newest_frame, to maintain consistency with the
> gdb.Frame.older and gdb.Frame.newer methods. What do you think?

I just committed this. I figured silence means people agree or don't
care. :-) It's easy enough to change if someone disagrees.

> Also, it seems to me that caller_is and caller_matches should call
> gdb.selected_frame instead of gdb.newest_frame, but I'm not really sure.
> This patch makes the change. What do you think?

But I kept caller_is and caller_matches using gdb.newest_frame, since I
don't use these functions so I am not sure of what is expected by their
users.
-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]