From 58b4fad2269dee3b8940183e747f4c34e0df9ca0 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Tue, 30 Jul 1996 05:12:07 +0000 Subject: * 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(-) (limited to 'gdb') 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 + * 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 */ -- cgit v1.1