This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Prologue analysis interface
> > I think all we really need to know is how to find the original SP (for
> > use as the CFA).
>
> Just one comment on this: the CFA is not necessarily the original SP
> (on s390 we have a constant offset). We'd have to leave it to platform
> code to actually determine the CFA itself.
If I understand the new approach correctly, we really don't need to know
what the CFA is. All you need to know is where things have been saved.
Things like : r3 is saved at original SP + offset, or r4 saved at r30 +
offset. Right?
--
Joel