This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: general prologue analysis framework
- From: Ulrich Weigand <uweigand at de dot ibm dot com>
- To: jimb at redhat dot com (Jim Blandy)
- Cc: uweigand at de dot ibm dot com (Ulrich Weigand), gdb-patches at sourceware dot org
- Date: Thu, 13 Oct 2005 19:48:01 +0200 (CEST)
- Subject: Re: RFA: general prologue analysis framework
Jim Blandy wrote:
> It looks like your data->gpr_slot[i] array effectively serves the same
> purpose as an area. If we had generic code to scan an area and
> populate a trad_frame_cache, areas might save you code.
Possibly, yes. I'm not sure I completely understand the pv_area code
yet -- it appears to be all based on the notion of a fixed base register;
how to you handle the situation where the base (and/or offset) used to
access the area change in the middle of the prologue? Maybe it would
be better to always base the area on the CFA ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
Linux on zSeries Development
Ulrich.Weigand@de.ibm.com