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()



>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



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