aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m88k
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-08-25 07:17:22 +0000
committerFred Fish <fnf@specifix.com>1996-08-25 07:17:22 +0000
commit94b4f7566667f539783ac1ee4ba3409d7a866e94 (patch)
tree8bb3a46cac60aac57adcd7e65bb143a8a959e768 /gdb/config/m88k
parent88b47a852118f1b03a6abb2f5ea1f345765a47de (diff)
downloadgdb-94b4f7566667f539783ac1ee4ba3409d7a866e94.zip
gdb-94b4f7566667f539783ac1ee4ba3409d7a866e94.tar.gz
gdb-94b4f7566667f539783ac1ee4ba3409d7a866e94.tar.bz2
* rs6000-tdep.c: Fix typo in comment.
* valops.c (call_function_by_hand): Set using_gcc to 2 for code compiled without -g, per comment in code. * config/a29k/tm-a29k.h (STACK_ALIGN): Add comment. * config/sparc/tm-sparc.h (STACK_ALIGN): Add comment. * config/sparc/tm-sp64.h (STACK_ALIGN): Add comment. * config/pyr/tm-pyr.h (STACK_ALIGN): Add comment. * config/m88k/tm-m88k.h (STACK_ALIGN): Add comment. * config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s. (STACK_ALIGN): Add comment, move to be with other associated macros, and document. * config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s. (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS. * config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s. * config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS. (PUSH_ARGUMENTS): Enclose args in ()'s.
Diffstat (limited to 'gdb/config/m88k')
-rw-r--r--gdb/config/m88k/tm-m88k.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/config/m88k/tm-m88k.h b/gdb/config/m88k/tm-m88k.h
index a441612..3c0acd9 100644
--- a/gdb/config/m88k/tm-m88k.h
+++ b/gdb/config/m88k/tm-m88k.h
@@ -589,7 +589,10 @@ extern void m88k_push_dummy_frame();
pc = text_end; \
}
-#define STACK_ALIGN(addr) (((addr)+7) & -8)
+/* Stack must be aligned on 64-bit boundaries when synthesizing
+ function calls. */
+
+#define STACK_ALIGN(addr) (((addr) + 7) & -8)
#define STORE_STRUCT_RETURN(addr, sp) \
write_register (SRA_REGNUM, (addr))