aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-03-25 22:56:41 +0000
committerAndrew Cagney <cagney@redhat.com>2003-03-25 22:56:41 +0000
commitf933a9c5851c1f824cdebb439a101e6f0ea1688e (patch)
tree057bd8f42fc183e0f072cd92dfb5ae25a7f50180 /gdb/sparc-tdep.c
parente16bb312f5bec8b2305f400898523122a6fdad63 (diff)
downloadgdb-f933a9c5851c1f824cdebb439a101e6f0ea1688e.zip
gdb-f933a9c5851c1f824cdebb439a101e6f0ea1688e.tar.gz
gdb-f933a9c5851c1f824cdebb439a101e6f0ea1688e.tar.bz2
2003-03-25 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. * gdbarch.h, gdbarch.c: Re-generate. * config/sparc/tm-sparc.h (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. * sparc-tdep.c (sparc_gdbarch_init): Set deprecated_extra_stack_alignment_needed. * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear extra_stack_alignment_needed. * v850-tdep.c (v850_gdbarch_init): Ditto. * hppa-tdep.c (hppa_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * m68k-tdep.c (m68k_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index 476616b..e9daad8 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -3275,6 +3275,7 @@ sparc_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_sizeof_call_dummy_words (gdbarch, 0);
#endif
set_gdbarch_stack_align (gdbarch, sparc32_stack_align);
+ set_gdbarch_deprecated_extra_stack_alignment_needed (gdbarch, 1);
set_gdbarch_deprecated_store_struct_return (gdbarch, sparc32_store_struct_return);
set_gdbarch_use_struct_convention (gdbarch,
generic_use_struct_convention);
@@ -3332,6 +3333,7 @@ sparc_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_sizeof_call_dummy_words (gdbarch, 0);
#endif
set_gdbarch_stack_align (gdbarch, sparc64_stack_align);
+ set_gdbarch_deprecated_extra_stack_alignment_needed (gdbarch, 1);
set_gdbarch_deprecated_store_struct_return (gdbarch, sparc64_store_struct_return);
set_gdbarch_use_struct_convention (gdbarch,
sparc64_use_struct_convention);