aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/rs6000-tdep.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c5ac97e..d60d61e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
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 */