diff options
author | Fred Fish <fnf@specifix.com> | 2003-02-06 17:58:01 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 2003-02-06 17:58:01 +0000 |
commit | b871e4ecc4cbe22c0babe87fbe8d2e1c3e8882f3 (patch) | |
tree | f1b1730763fe8bff727fca1a15281eb99a43ea80 /gdb/rdi-share | |
parent | cad91d28c98145241551dfde9718f7c72512aeb6 (diff) | |
download | fsf-binutils-gdb-b871e4ecc4cbe22c0babe87fbe8d2e1c3e8882f3.zip fsf-binutils-gdb-b871e4ecc4cbe22c0babe87fbe8d2e1c3e8882f3.tar.gz fsf-binutils-gdb-b871e4ecc4cbe22c0babe87fbe8d2e1c3e8882f3.tar.bz2 |
Checked in as obvious fixes. Also updated FSF copyright year to 2003
for remote-e7000.c and infttrace.c.
2003-02-05 Fred Fish <fnf@intrinsity.com>
* remote-e7000.c (e7000_drain_command): Fix precedence problem with
'=' and '!='.
* rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
with '&' and '=='.
(angel_RDI_info): Ditto.
* infttrace.c (threads_continue_all_but_one): Fix precedence problem
with '&' and '!='.
(threads_continue_all_with_signals): Ditto.
Diffstat (limited to 'gdb/rdi-share')
-rw-r--r-- | gdb/rdi-share/ardi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rdi-share/ardi.c b/gdb/rdi-share/ardi.c index 334a1fc..3d17669 100644 --- a/gdb/rdi-share/ardi.c +++ b/gdb/rdi-share/ardi.c @@ -154,7 +154,7 @@ static int wait_for_debug_message(int *rcode, int *debugID, unpack_message(BUFFERDATA((*packet)->pk_buffer), "%w%w%w%w%w", &reason, debugID, OSinfo1, OSinfo2, status); - if (reason&0xffffff == ADP_HADPUnrecognised) + if ((reason&0xffffff) == ADP_HADPUnrecognised) return RDIError_UnimplementedMessage; if (reason != (unsigned ) *rcode) { if((reason&0xffffff) == ADP_HADPUnrecognised) @@ -1842,7 +1842,7 @@ int angel_RDI_info(unsigned type, ARMword *arg1, ARMword *arg2) { len +=msgbuild(BUFFERDATA(packet->pk_buffer)+20, "%b%b%b%b%b", cpnum, cpd->regdesc[cpnum].rmin, cpd->regdesc[cpnum].rmax, cpd->regdesc[cpnum].nbytes, cpd->regdesc[cpnum].access); - if (cpd->regdesc[cpnum].access&0x3 == 0x3){ + if ((cpd->regdesc[cpnum].access&0x3) == 0x3){ len += msgbuild(BUFFERDATA(packet->pk_buffer)+25, "%b%b%b%b%b", cpd->regdesc[cpnum].accessinst.cprt.read_b0, cpd->regdesc[cpnum].accessinst.cprt.read_b1, |