aboutsummaryrefslogtreecommitdiff
path: root/opcodes/iq2000-dis.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-10-27 09:30:09 +0000
committerNick Clifton <nickc@redhat.com>2004-10-27 09:30:09 +0000
commit4030fa5ade3caa531bb7dbe9717886681b187a71 (patch)
treee88489f1fd9187714c6a42d1a58e43ab85ca2d37 /opcodes/iq2000-dis.c
parent6f372e19e749d6cb170f995b673e7651a4e3715e (diff)
downloadgdb-4030fa5ade3caa531bb7dbe9717886681b187a71.zip
gdb-4030fa5ade3caa531bb7dbe9717886681b187a71.tar.gz
gdb-4030fa5ade3caa531bb7dbe9717886681b187a71.tar.bz2
Add an index operand to some of the iq2000 co-processor instructions
Diffstat (limited to 'opcodes/iq2000-dis.c')
-rw-r--r--opcodes/iq2000-dis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/iq2000-dis.c b/opcodes/iq2000-dis.c
index c20e978..3c103d8 100644
--- a/opcodes/iq2000-dis.c
+++ b/opcodes/iq2000-dis.c
@@ -92,6 +92,9 @@ iq2000_cgen_print_operand (cd, opindex, xinfo, fields, attrs, pc, length)
switch (opindex)
{
+ case IQ2000_OPERAND__INDEX :
+ print_normal (cd, info, fields->f_index, 0, pc, length);
+ break;
case IQ2000_OPERAND_BASE :
print_keyword (cd, info, & iq2000_cgen_opval_gr_names, fields->f_rs, 0);
break;
@@ -128,9 +131,6 @@ iq2000_cgen_print_operand (cd, opindex, xinfo, fields, attrs, pc, length)
case IQ2000_OPERAND_EXECODE :
print_normal (cd, info, fields->f_excode, 0, pc, length);
break;
- case IQ2000_OPERAND_F_INDEX :
- print_normal (cd, info, fields->f_index, 0, pc, length);
- break;
case IQ2000_OPERAND_HI16 :
print_normal (cd, info, fields->f_imm, 0, pc, length);
break;