aboutsummaryrefslogtreecommitdiff
path: root/sim/rx
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2010-09-23 23:26:42 +0000
committerKevin Buettner <kevinb@redhat.com>2010-09-23 23:26:42 +0000
commit6607c80d6babc6e7cad8727c48069d11152d9aa7 (patch)
treed93609c3679a0b498b093b64f806a0e35b56b5fd /sim/rx
parent8d794149aa81695b41cee593cf4c28ce4b460264 (diff)
downloadgdb-6607c80d6babc6e7cad8727c48069d11152d9aa7.zip
gdb-6607c80d6babc6e7cad8727c48069d11152d9aa7.tar.gz
gdb-6607c80d6babc6e7cad8727c48069d11152d9aa7.tar.bz2
* rx.c (decode_opcode): Declare `rx' as unsigned.
Diffstat (limited to 'sim/rx')
-rw-r--r--sim/rx/ChangeLog2
-rw-r--r--sim/rx/rx.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog
index 71c73f0..717816f 100644
--- a/sim/rx/ChangeLog
+++ b/sim/rx/ChangeLog
@@ -2,6 +2,8 @@
* fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
+ * rx.c (decode_opcode): Declare `rx' as unsigned.
+
2010-07-29 DJ Delorie <dj@redhat.com>
* rx.c (decode_cache_base): New.
diff --git a/sim/rx/rx.c b/sim/rx/rx.c
index 1deef91..fc12948 100644
--- a/sim/rx/rx.c
+++ b/sim/rx/rx.c
@@ -878,7 +878,7 @@ decode_opcode ()
unsigned long long prev_cycle_count;
#endif
#ifdef CYCLE_ACCURATE
- int tx;
+ unsigned int tx;
#endif
#ifdef CYCLE_STATS