[obish] Delete PARM_BOUNDARY

Andrew Cagney cagney@gnu.org
Wed May 5 15:44:00 GMT 2004


> Hello,
> 
> Other posts drew my attention to this:
> 
> - PARM_BOUNDARY is only used by push_value
> 
> - push_value is only used by legacy_push_arguments.
> 
> - legacy_push_arguments is only used when push_dummy_call isn't supplied
> 
> yet:
> 
> - only m68k sets PARAM_BOUNDARY
> 
> - m68k sets (as of recent changes) push_dummy_call
> 
> hence PARM_BOUNDARY is dead.
> 
> baring comments I'll commit this in a day or so,

I've checked this in.

Andrew

> 	* gdbarch.sh (PARM_BOUNDARY): Delete.
> 	gdbarch.h, gdbarch.c: Re-generate.
> 	* valops.c (PARM_BOUNDARY): Delete macro.
> 	(value_push): Delete PARM_BOUNDARY code.
> 	* m68k-tdep.c (m68k_gdbarch_init): Do not set parm_boundary.




More information about the Gdb-patches mailing list