* rs6000-tdep.c (skip_prologue): Add missing parens around
authorFred Fish <fnf@specifix.com>
Tue, 30 Jul 1996 05:12:07 +0000 (05:12 +0000)
committerFred Fish <fnf@specifix.com>
Tue, 30 Jul 1996 05:12:07 +0000 (05:12 +0000)
operands of logical-or so that first operand does not bind
to previous logical-and.

gdb/ChangeLog
gdb/rs6000-tdep.c

index c5ac97e17c3fd4253a120480c4792aec839b7c5c..d60d61e35d604fdce60a127cbced6e1bcc4dfcc9 100644 (file)
@@ -1,5 +1,9 @@
 Mon Jul 29 21:13:20 1996  Fred Fish  <fnf@cygnus.com>
 
+       * rs6000-tdep.c (skip_prologue): Add missing parens around
+       operands of logical-or so that first operand does not bind
+       to previous logical-and.
+
        * configure.in: Expand "long long" test to include code that triggers
        known problem on HPUX with native compiler.
        (configure): Regenerated.
index 190689a066588239a823d4af9ba04e99ee635cf7..19395ee32e90b4f34cd5ea90088a01f9beba33ad 100644 (file)
@@ -339,9 +339,9 @@ skip_prologue (pc, fdata)
 
       /* store parameters in stack via frame pointer */
       } else if (framep &&
-                (op & 0xfc1f0000) == 0x901f0000 ||     /* st rx,NUM(r1) */
+                ((op & 0xfc1f0000) == 0x901f0000 ||    /* st rx,NUM(r1) */
                 (op & 0xfc1f0000) == 0xd81f0000 ||     /* stfd Rx,NUM(r1) */
-                (op & 0xfc1f0000) == 0xfc1f0000) {     /* frsp, fp?,NUM(r1) */
+                (op & 0xfc1f0000) == 0xfc1f0000)) {    /* frsp, fp?,NUM(r1) */
        continue;
 
       /* Set up frame pointer */