From 58b4fad2269dee3b8940183e747f4c34e0df9ca0 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Tue, 30 Jul 1996 05:12:07 +0000 Subject: [PATCH] * rs6000-tdep.c (skip_prologue): Add missing parens around operands of logical-or so that first operand does not bind to previous logical-and. --- gdb/ChangeLog | 4 ++++ gdb/rs6000-tdep.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c5ac97e17c3..d60d61e35d6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ Mon Jul 29 21:13:20 1996 Fred Fish + * 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 190689a0665..19395ee32e9 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 */ -- 2.30.2