aboutsummaryrefslogtreecommitdiff
path: root/gdb/alloca.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-11-14 01:01:28 +0000
committerJohn Gilmore <gnu@cygnus>1991-11-14 01:01:28 +0000
commitea3c08395c487e9c6613635f9d407908e2397aa2 (patch)
tree37e91d5ff471647a27204ae56a3e5abc7f8d03d6 /gdb/alloca.c
parentedbf28ce4cce654eeb0e88782aee11d6e8529978 (diff)
downloadgdb-ea3c08395c487e9c6613635f9d407908e2397aa2.zip
gdb-ea3c08395c487e9c6613635f9d407908e2397aa2.tar.gz
gdb-ea3c08395c487e9c6613635f9d407908e2397aa2.tar.bz2
Motorola 88000 port without tears, I mean without tdescs.
ChangeLog has the details. This is preliminary for quick release, cleanups remain to be done.
Diffstat (limited to 'gdb/alloca.c')
-rw-r--r--gdb/alloca.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/alloca.c b/gdb/alloca.c
index d5de3de..60f86e0 100644
--- a/gdb/alloca.c
+++ b/gdb/alloca.c
@@ -42,8 +42,8 @@ you
lose
-- must know STACK_DIRECTION at compile-time
#endif /* STACK_DIRECTION undefined */
-#endif static
-#endif emacs
+#endif /* static */
+#endif /* emacs */
#ifdef __STDC__
typedef void *pointer; /* generic pointer type */
@@ -154,8 +154,8 @@ alloca (size) /* returns pointer to storage */
register header *hp; /* traverses linked list */
for (hp = last_alloca_header; hp != NULL;)
- if (STACK_DIR > 0 && hp->h.deep > depth
- || STACK_DIR < 0 && hp->h.deep < depth)
+ if ( (STACK_DIR > 0 && hp->h.deep > depth)
+ || (STACK_DIR < 0 && hp->h.deep < depth) )
{
register header *np = hp->h.next;