2003-09-11 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.
This commit is contained in:
parent
f630a401b4
commit
f27dd7fde7
13 changed files with 101 additions and 74 deletions
|
@ -3022,9 +3022,9 @@ place_on_stack (struct value *val, CORE_ADDR *sp)
|
|||
{
|
||||
CORE_ADDR old_sp = *sp;
|
||||
|
||||
#ifdef STACK_ALIGN
|
||||
#ifdef DEPRECATED_STACK_ALIGN
|
||||
*sp = push_bytes (*sp, VALUE_CONTENTS_RAW (val),
|
||||
STACK_ALIGN (TYPE_LENGTH
|
||||
DEPRECATED_STACK_ALIGN (TYPE_LENGTH
|
||||
(check_typedef (VALUE_TYPE (val)))));
|
||||
#else
|
||||
*sp = push_bytes (*sp, VALUE_CONTENTS_RAW (val),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue