From: Fred Fish Date: Tue, 30 Jul 1996 05:12:07 +0000 (+0000) Subject: * rs6000-tdep.c (skip_prologue): Add missing parens around X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58b4fad2269dee3b8940183e747f4c34e0df9ca0;p=binutils-gdb.git * rs6000-tdep.c (skip_prologue): Add missing parens around operands of logical-or so that first operand does not bind to previous logical-and. --- 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 */