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: frame->unwind->this_base()


On Mon, Mar 17, 2003 at 01:20:28PM -0500, Andrew Cagney wrote:
> 
> >>>GDB's frame code also makes available the get_frame_base() method. While 
> >>>the default implementation returns get_frame_id().base, I think there is 
> >>>going to need to be a per-frame frame->unwind->this_base method.
> >
> >>
> >>get_frame_base() returns ->frame and NOT ->id.base.
> >
> >
> >OK, I'm definitely going around in confused little circles.  Don't the
> >two statements above disagree?
> 
> No.  See get_prev_frame() where it is defaulting ->frame to ->id.base.
> 
> > The current get_frame_base does return
> >->frame but you also say above that get_frame_base should return
> >get_frame_id().base.
> 
> No.  Default to get_frame_id().base.

So is that supposed to be a statement about the future in the first
paragraph?  It's sure not worded as one, no wonder I'm confused.

> >Conceptually, are frame->frame and frame->id.base supposed to be the
> >same?
> 
> No?

Then could you enlighten me as to what the difference is supposed to
be?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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