This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: IBM S/390 prologue analysis revisited
On Wed, Jul 02, 2003 at 02:33:12PM -0400, Andrew Cagney wrote:
>
> >>Editor note: It's missing the undefined state. I'll add it.
> >
> >
> >I'd say that 'struct trad_frame_saved_reg' and 'struct prologue_value'
> >are inverses of each other. They represent information at different
> >steps in the process:
> >- First you interpret your prologue to get a bunch of prologue values.
> >- Then you use those to compute a set of trad_frame_saved_reg values.
> >- Finally, those are what you'd use to find registers.
> >
> >Let me explain what I mean.
>
> Ah! Yes, in that case my suggestion doesn't make sense.
>
> Can I encourage you to add this to either the s390 to trad-frame code?
> Trad frame might be better as it then provides a pointer towards the
> ``new technique'' (but which ever).
Yeah, I'd like to see the new code outside of s390-tdep.c also.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer