This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/rfc] Deprecate STACK_ALIGN


Hello,

This patch deprecates STACK_ALIGN. Since, when creating an inferior function call, frame_align establishes correct alignment, and then frame_red_zone_size, push_dummy_call keep et.al. maintain it, STACK_ALIGN is entirely redundant.

Mark, your moves against REG_STRUCT_HAS_ADDR make this possible!
Eli, note the s/STACK_ALIGN/DEPRECATED_STACK_ALIGN/ in the doco.

I'll look to commit this in a few days,

Committed, Andrew


2003-09-09 Andrew Cagney <cagney@redhat.com>

	* gdbarch.sh (DEPRECATED_STACK_ALIGN): Rename STACK_ALIGN.
	* gdbarch.h, gdbarch.c: Re-generate.
	* infcall.c (call_function_by_hand): Update.
	* hppa-tdep.c (hppa_push_arguments): Update.
	* ada-lang.c (place_on_stack): Update.
	* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
	* sparc-tdep.c (sparc_gdbarch_init): Update.
	* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
	* hppa-tdep.c (hppa_gdbarch_init): Update.
	* h8300-tdep.c (h8300_gdbarch_init): Delete comment refering to
	stack_align.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]