Re: frame->unwind->this_base()

Andrew Cagney
2003-03-18T17:02:08Z

> On Tue, Mar 18, 2003 at 09:54:29AM -0500, Andrew Cagney wrote:
>
>> >
>> >So in this case should we be hooking the get_frame_base() call to
>> >return the computed DW_AT_frame_base? [...] And what happens if we don't
>> >have DWARF-2
>> >information?
>
>>
>> At the start I wrote:
>>
>
>> > For dwarf2 frames, it would return, DW_AT_frame_base. For prologue
>
>> frames, it would return an attempt at an equivalent value. Hopefully it
>> wouldn't be called for other frame types :-).
>
>
> OK. I'll make the assumption that the DW_AT_frame_base and the CFA in
> the dwarf2 unwind information (if both present) will agree.

That would be a very bad assumption. They are pratically guarenteed to
be different.

Andrew