This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: ARM problems with the exception unwinder
Richard Earnshaw writes:
> I've just been looking at execute_cfa_insn() in frame_dwarf2.c and I've no
> idea how it is supposed to work when the cfa reg is not the stack pointer,
> since it seems to completely ignore any adjustments to the cfa register.
> How is this code supposed to work when the cfa register changes from frame
> to frame?
As I understand it, the CFA is *defined* to be the value of SP before
the call instruction. Is that not so in your case?
Andrew.