aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackie Smith Cashion <jsmith@redhat.com>1996-05-09 23:43:58 +0000
committerJackie Smith Cashion <jsmith@redhat.com>1996-05-09 23:43:58 +0000
commit9a739379c4035546b1c251f4d3656211e162a64b (patch)
treeec6b445a392470746b1a5a30f2eb7c3f53d959dd
parentfdfa331511ca311293735930c7476593a91ca20a (diff)
downloadgdb-9a739379c4035546b1c251f4d3656211e162a64b.zip
gdb-9a739379c4035546b1c251f4d3656211e162a64b.tar.gz
gdb-9a739379c4035546b1c251f4d3656211e162a64b.tar.bz2
Fri May 10 00:41:17 1996 James G. Smith <jsmith@cygnus.co.uk>
* interp.c (ColdReset): Fix boolean test. Actually compare a boolean result, rather than the bitmasks!
-rw-r--r--sim/mips/interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index af3ae29..5700e59 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;