aboutsummaryrefslogtreecommitdiff
path: root/disas.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-08 12:46:58 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-08 12:46:58 +0000
commita25fd137c39406c9871640521492960e28388372 (patch)
treea55a0c8a261bb78af9091b9445bd83c07f1f92e9 /disas.c
parent450d4ff553af32fc9d83fef20d7106b0151526b8 (diff)
downloadqemu-a25fd137c39406c9871640521492960e28388372.zip
qemu-a25fd137c39406c9871640521492960e28388372.tar.gz
qemu-a25fd137c39406c9871640521492960e28388372.tar.bz2
Wire up CRIS disassembler, by Edgar E. Iglesias.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3357 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'disas.c')
-rw-r--r--disas.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/disas.c b/disas.c
index ae20d37..fe1fa9d 100644
--- a/disas.c
+++ b/disas.c
@@ -205,6 +205,9 @@ void target_disas(FILE *out, target_ulong code, target_ulong size, int flags)
#elif defined(TARGET_ALPHA)
disasm_info.mach = bfd_mach_alpha;
print_insn = print_insn_alpha;
+#elif defined(TARGET_CRIS)
+ disasm_info.mach = bfd_mach_cris_v32;
+ print_insn = print_insn_crisv32;
#else
fprintf(out, "0x" TARGET_FMT_lx
": Asm output not supported on this arch\n", code);