Re: frame->unwind->this_base()

Andrew Cagney
2003-03-17T18:20:33Z

>> >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.

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

No?

Andrew