aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-crx.c
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 /gas/config/tc-crx.c
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.
Diffstat (limited to 'gas/config/tc-crx.c')
-rw-r--r--gas/config/tc-crx.c1
1 files changed, 1 insertions, 0 deletions
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: