aboutsummaryrefslogtreecommitdiffstats
path: root/disas.c
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2009-05-20 20:07:38 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2009-05-26 21:10:28 +0200
commite90e390c2b8368d534cccfd2aaca1f6a0ae5d53d (patch)
tree0121e15c59c1f5e37b922002f1d85a5b1d9e0357 /disas.c
parentb779e29ed8919b18644b41bf581bdbcffdcb962e (diff)
microblaze: Add disassembler.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
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 6ed31e3b7..af5a9ea14 100644
--- a/disas.c
+++ b/disas.c
@@ -195,6 +195,9 @@ void target_disas(FILE *out, target_ulong code, target_ulong size, int flags)
#elif defined(TARGET_CRIS)
disasm_info.mach = bfd_mach_cris_v32;
print_insn = print_insn_crisv32;
+#elif defined(TARGET_MICROBLAZE)
+ disasm_info.mach = bfd_arch_microblaze;
+ print_insn = print_insn_microblaze;
#else
fprintf(out, "0x" TARGET_FMT_lx
": Asm output not supported on this arch\n", code);