aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomer Levi <Tomer.Levi@nsc.com>2004-10-28 10:14:46 +0000
committerTomer Levi <Tomer.Levi@nsc.com>2004-10-28 10:14:46 +0000
commit3ad3f5ad1ce614306b5290f5b23a4319b3123914 (patch)
treedeb1dd10195086d9f119090bdf13c2b53f3dd565
parent0d48eab68d8272d57b3d875b2a79db966cf21777 (diff)
downloadgdb-3ad3f5ad1ce614306b5290f5b23a4319b3123914.zip
gdb-3ad3f5ad1ce614306b5290f5b23a4319b3123914.tar.gz
gdb-3ad3f5ad1ce614306b5290f5b23a4319b3123914.tar.bz2
2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c (getreg_image): Bug fix, a return value was mistakenly ommited from CRX_C_REGTYPE and CRX_CS_REGTYPE cases.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-crx.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 54f3bf7..51d6174 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
+
+ * config/tc-crx.c (getreg_image): Bug fix, a return value was
+ mistakenly omitted from CRX_C_REGTYPE and CRX_CS_REGTYPE cases.
+
2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c: Remove global variable 'post_inc_mode'.
diff --git a/gas/config/tc-crx.c b/gas/config/tc-crx.c
index 3f75fff..7a1af12 100644
--- a/gas/config/tc-crx.c
+++ b/gas/config/tc-crx.c
@@ -1746,6 +1746,7 @@ getreg_image (reg r)
case CRX_C_REGTYPE:
case CRX_CS_REGTYPE:
+ return reg->image;
break;
default: