projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdfa331
)
Fri May 10 00:41:17 1996 James G. Smith <jsmith@cygnus.co.uk>
author
Jackie Smith Cashion
<jsmith@redhat.com>
Thu, 9 May 1996 23:43:58 +0000
(23:43 +0000)
committer
Jackie Smith Cashion
<jsmith@redhat.com>
Thu, 9 May 1996 23:43:58 +0000
(23:43 +0000)
* interp.c (ColdReset): Fix boolean test.
Actually compare a boolean result, rather than the bitmasks!
sim/mips/interp.c
patch
|
blob
|
history
diff --git
a/sim/mips/interp.c
b/sim/mips/interp.c
index af3ae29da2a35a179387fee3a670d24dca0ba8a5..5700e59a656b017c13a100f60dbb31ffc1de8fee 100644
(file)
--- 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;