This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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: think-o: frame.c:find_saved_register() frame1 = get_prev_frame (frame1) backwards?


> I don't know.  I've also gotten confused when staring at this code.  I
>> don't find the terms "next", "down", or "inner" to be helpful at all
>> when trying to figure it out either.  I think we ought to be referring
>> to "callers" and "callees".
> 
> 
> While they may not be 100% accurate (call dummies for instance, signal
> handlers...) I strongly agree.  That's a much clearer term.

I've kind of grown familar with inner and outer - try thinking of 
``inner most frame'' or ``outer most frame''.  I agree that up/down and 
next/prev are a walking disaster.

Andrew



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