From: Jackie Smith Cashion Date: Thu, 9 May 1996 23:43:58 +0000 (+0000) Subject: Fri May 10 00:41:17 1996 James G. Smith X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a739379c4035546b1c251f4d3656211e162a64b;p=binutils-gdb.git Fri May 10 00:41:17 1996 James G. Smith * interp.c (ColdReset): Fix boolean test. Actually compare a boolean result, rather than the bitmasks! --- diff --git a/sim/mips/interp.c b/sim/mips/interp.c index af3ae29da2a..5700e59a656 100644 --- a/sim/mips/interp.c +++ b/sim/mips/interp.c @@ -1881,7 +1881,7 @@ ColdReset() exit(1); } - if ((state & simHOSTBE) == (state & simBE)) { + if (!(state & simHOSTBE) == !(state & simBE)) { host_read_word = xfer_direct_word; host_read_long = xfer_direct_long; host_swap_word = swap_direct_word;