Specify frame by address

Yao Qi yao@codesourcery.com
Wed Nov 2 09:14:00 GMT 2011


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



More information about the Gdb mailing list