diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-04-21 04:21:21 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-04-21 04:21:21 +0000 |
commit | 3ba02f629899eded3cc5bb332f3b29ff7d197af6 (patch) | |
tree | 0fc81b4ff40bb817c004cf6fa20b125c69b0364f /gdb/d10v-tdep.c | |
parent | b0ffd5718ff8412f5c7d27089b4353fde4695364 (diff) | |
download | gdb-3ba02f629899eded3cc5bb332f3b29ff7d197af6.tar.gz |
* d10v-tdep.c (d10v_gdbarch_init): Initialize stack_align.
(d10v_stack_align): Make static.
* config/d10v/tm-d10v.h (STACK_ALIGN): Delete.
Diffstat (limited to 'gdb/d10v-tdep.c')
-rw-r--r-- | gdb/d10v-tdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c index cfd70b0878e..15d81755643 100644 --- a/gdb/d10v-tdep.c +++ b/gdb/d10v-tdep.c @@ -104,7 +104,7 @@ d10v_frame_chain_valid (chain, frame) return ((chain) != 0 && (frame) != 0 && (frame)->pc > IMEM_START); } -CORE_ADDR +static CORE_ADDR d10v_stack_align (CORE_ADDR len) { return (len + 1) & ~1; @@ -1655,6 +1655,7 @@ d10v_gdbarch_init (info, arches) set_gdbarch_frame_locals_address (gdbarch, d10v_frame_locals_address); set_gdbarch_saved_pc_after_call (gdbarch, d10v_saved_pc_after_call); set_gdbarch_frame_num_args (gdbarch, frame_num_args_unknown); + set_gdbarch_stack_align (gdbarch, d10v_stack_align); return gdbarch; } |