aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-02-09 04:46:47 +0000
committerAndrew Cagney <cagney@redhat.com>2000-02-09 04:46:47 +0000
commit489137c0360f94c18f650b810f1129569f3b3d70 (patch)
treee367cf8a0ad3d9a010fee315d116bc011bedaae3 /gdb/config
parentce808e917155449eaaf9682c74a14fe2a22ee11c (diff)
downloadgdb-489137c0360f94c18f650b810f1129569f3b3d70.zip
gdb-489137c0360f94c18f650b810f1129569f3b3d70.tar.gz
gdb-489137c0360f94c18f650b810f1129569f3b3d70.tar.bz2
Stop GDB mis-aligning the stack when doing inferior function calls.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/d10v/tm-d10v.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/d10v/tm-d10v.h b/gdb/config/d10v/tm-d10v.h
index e2fe383..a0eb3dc 100644
--- a/gdb/config/d10v/tm-d10v.h
+++ b/gdb/config/d10v/tm-d10v.h
@@ -24,3 +24,8 @@
extern int d10v_register_sim_regno (int reg);
#define REGISTER_SIM_REGNO(NR) d10v_register_sim_regno((NR))
+
+extern CORE_ADDR d10v_stack_align (CORE_ADDR size);
+#define STACK_ALIGN(SIZE) (d10v_stack_align (SIZE))
+
+#define NO_EXTRA_ALIGNMENT_NEEDED 1