aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-07-30 05:12:07 +0000
committerFred Fish <fnf@specifix.com>1996-07-30 05:12:07 +0000
commit58b4fad2269dee3b8940183e747f4c34e0df9ca0 (patch)
tree395ebd18d7c453d73dcd008acb311ba02f0772e8 /gdb/rs6000-tdep.c
parent80f600a4b27520fd5294f2575a6398dc391179a2 (diff)
downloadgdb-58b4fad2269dee3b8940183e747f4c34e0df9ca0.zip
gdb-58b4fad2269dee3b8940183e747f4c34e0df9ca0.tar.gz
gdb-58b4fad2269dee3b8940183e747f4c34e0df9ca0.tar.bz2
* rs6000-tdep.c (skip_prologue): Add missing parens around
operands of logical-or so that first operand does not bind to previous logical-and.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r--gdb/rs6000-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 190689a..19395ee 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -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 */