From 489137c0360f94c18f650b810f1129569f3b3d70 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 9 Feb 2000 04:46:47 +0000 Subject: Stop GDB mis-aligning the stack when doing inferior function calls. --- gdb/config/d10v/tm-d10v.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/config') 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 -- cgit v1.1