[patch/rfc] Default FRAME_ARGS_ADDRESS et.al. to default_frame_address()

Andrew Cagney ac131313@redhat.com
Fri Nov 22 17:39:00 GMT 2002


I've checked this in.

Andrew


> This is largely a cleanup.
> 
> Instead of requiring all architectures to explicitly set this, this patch defaults FRAME_ARGS_ADDRESS() and FRAME_LOCALS_ADDRESS() to default_frame_address() (which most were setting it to any way).
> 
> The only slightly non clean-up bit is that I also applied this to the cris target.  Turns out that it was overriding those methods with a local equivalent of default_frame_address() so I zapped the lot.
> 
> I'll commit in a few days,
> Andrew
> 
> 
> 
> 2002-11-19  Andrew Cagney  <ac131313@redhat.com>
> 
> 	* gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Default
> 	to default_frame_address.
> 	* gdbarch.h, gdbarch.c: Re-generate.
> 
> 	* d10v-tdep.c (d10v_gdbarch_init): Do not set frame_args_address
> 	or frame_locals_address to default_frame_address.
> 	* m68k-tdep.c (m68k_gdbarch_init): Update.
> 	* i386-tdep.c (i386_gdbarch_init): Update.
> 	* frv-tdep.c (frv_gdbarch_init): Update.
> 	* sh-tdep.c (sh_gdbarch_init): Update.
> 	* v850-tdep.c (v850_gdbarch_init): Update.
> 	* sparc-tdep.c (sparc_gdbarch_init): Update.
> 	* mips-tdep.c (mips_gdbarch_init): Update.
> 	* mn10300-tdep.c (mn10300_gdbarch_init): Update.
> 	* x86-64-tdep.c (x86_64_gdbarch_init): Update.
> 	* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
> 
> 	* cris-tdep.c (cris_frame_args_address): Delete function.
> 	(cris_frame_locals_address): Delete function.
> 	(cris_gdbarch_init): Do not set frame_args_address or
> 	frame_locals_address.




More information about the Gdb-patches mailing list