aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/tm-sparc.h
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/sparc/tm-sparc.h
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/sparc/tm-sparc.h')
-rw-r--r--gdb/config/sparc/tm-sparc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h
index 663f6d9..b428657 100644
--- a/gdb/config/sparc/tm-sparc.h
+++ b/gdb/config/sparc/tm-sparc.h
@@ -106,9 +106,10 @@ extern CORE_ADDR sparc_pc_adjust PARAMS ((CORE_ADDR));
#define INNER_THAN <
-/* Stack has strict alignment. */
+/* Stack must be aligned on 64-bit boundaries when synthesizing
+ function calls. */
-#define STACK_ALIGN(ADDR) (((ADDR)+7)&-8)
+#define STACK_ALIGN(ADDR) (((ADDR) + 7) & -8)
/* Sequence of bytes for breakpoint instruction (ta 1). */