Re: Specify frame by address

Yao Qi
2011-11-02T09:14:11Z

On 10/30/2011 06:07 PM, Mark Kettenis wrote:
>> > If the debug info provides its own unwinder - such as DWARF does - the
>> > architecture does not matter as it gets fully handled by dwarf2-frame.c.
> I know how the code works; I wrote significant parts of it. The
> architecture does matter, since the convention for what stack address
> to use as the CFA depends on the architecture.
>

Mark,
could you elaborate the "convention for what stack address to use as the
CFA"? Is this "convention" about "CFA is usually defined by the value
of SP"? and $PORT_dwarf2_frame_init_reg is to define some more or
different.

--
Yao (é½å°§)