aboutsummaryrefslogtreecommitdiff
path: root/cris-dis.c
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar@axis.com>2011-01-10 22:31:09 +0100
committerEdgar E. Iglesias <edgar@axis.com>2011-01-10 22:31:09 +0100
commitb09cd072df07c63997cc81b6767f2e145d9496e5 (patch)
tree79a4f0c7d0a404f42e3ae4624ef01bdaefe67c0a /cris-dis.c
parenta7bd621d7a270645fb98426c82a0b251fdbc6000 (diff)
downloadqemu-b09cd072df07c63997cc81b6767f2e145d9496e5.zip
qemu-b09cd072df07c63997cc81b6767f2e145d9496e5.tar.gz
qemu-b09cd072df07c63997cc81b6767f2e145d9496e5.tar.bz2
cris: Support disassembly of crisv10
Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
Diffstat (limited to 'cris-dis.c')
-rw-r--r--cris-dis.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/cris-dis.c b/cris-dis.c
index afd775c..5fa67d9 100644
--- a/cris-dis.c
+++ b/cris-dis.c
@@ -2767,7 +2767,6 @@ print_insn_cris_generic (bfd_vma memaddr,
}
/* Disassemble, prefixing register names with `$'. CRIS v0..v10. */
-#if 0
static int
print_insn_cris_with_register_prefix (bfd_vma vma,
disassemble_info *info)
@@ -2777,7 +2776,6 @@ print_insn_cris_with_register_prefix (bfd_vma vma,
return -1;
return print_insn_cris_generic (vma, info, true);
}
-#endif
/* Disassemble, prefixing register names with `$'. CRIS v32. */
static int
@@ -2843,6 +2841,13 @@ print_insn_crisv10_v32_without_register_prefix (bfd_vma vma,
#endif
int
+print_insn_crisv10 (bfd_vma vma,
+ disassemble_info *info)
+{
+ return print_insn_cris_with_register_prefix(vma, info);
+}
+
+int
print_insn_crisv32 (bfd_vma vma,
disassemble_info *info)
{