aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-11 15:17:18 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-11 15:17:18 +0000
commitf27dd7fde7b149379b0eef6c393d4bb37533811a (patch)
tree937994b20c36b31928324692782448ba438182bc /gdb/ada-lang.c
parentf630a401b42ad72e62a648f81bb604325e6fe6b8 (diff)
downloadgdb-f27dd7fde7b149379b0eef6c393d4bb37533811a.zip
gdb-f27dd7fde7b149379b0eef6c393d4bb37533811a.tar.gz
gdb-f27dd7fde7b149379b0eef6c393d4bb37533811a.tar.bz2
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.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index cc204d6..7244ca2 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -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),