Re: [RFA] arm_skip_prologue: recognize "str r(0123), [r11, #-nn]"

Richard Earnshaw
2002-04-23T09:55:09Z

> >
> > GCC sometimes generates these stores as discrete instructions.
> >
> > 2002-04-22 Michael Snyder <msnyder@redhat.com>
> >
> > * arm-tdep.c (arm_skip_prologue): Recognize str r(0123), [r11, #-nn].
> >
>
> Are you sure these should really be considered part of the prologue?
>
>
>

Ok, here's how I think we should consider this.

If a DWARF-encoded sequence would consider these as part of the prologue
(ie they are described as prologue instructions, then the unwinder should
consider them similarly. If, however, it considers them as part of the
function body then the manual unwinder should also do so.

If the latter is correct, then we should also handle storing into the
stack so that we can also handle frameless functions.

R.