This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: general prologue analysis framework
- From: Jim Blandy <jimb at redhat dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 13 Oct 2005 10:17:28 -0700
- Subject: Re: RFA: general prologue analysis framework
- References: <200510131349.j9DDnm4F002393@53v30g15.boeblingen.de.ibm.com>
Ulrich Weigand <uweigand@de.ibm.com> writes:
> I've removed the pv_is_array_ref code from the s390 analyzer, because
> recent GCC (optionally) no longer uses fixed-size register save areas
> in order to reduce the amount of wasted stack space.
>
> The analyser now assumes the top-most stack slot holding an incoming
> (call-saved) register value is in fact the save area for that register.
> I don't need any 'area' functions at all any more ...
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.