This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Specify frame by address
- From: Yao Qi <yao at codesourcery dot com>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: jan dot kratochvil at redhat dot com, eliz at gnu dot org, gdb at sourceware dot org
- Date: Wed, 02 Nov 2011 17:13:58 +0800
- Subject: Re: Specify frame by address
- References: <83k47n90xn.fsf@gnu.org> <20111029174638.GA27749@host1.jankratochvil.net> <83ipn78ym5.fsf@gnu.org> <201110291843.p9TIhPoK012445@glazunov.sibelius.xs4all.nl> <20111029184808.GA31303@host1.jankratochvil.net> <201110301007.p9UA7LTK032001@glazunov.sibelius.xs4all.nl>
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 (éå)