diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2009-05-20 20:07:38 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2009-05-26 21:10:28 +0200 |
commit | e90e390c2b8368d534cccfd2aaca1f6a0ae5d53d (patch) | |
tree | 0121e15c59c1f5e37b922002f1d85a5b1d9e0357 /disas.c | |
parent | b779e29ed8919b18644b41bf581bdbcffdcb962e (diff) |
microblaze: Add disassembler.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'disas.c')
-rw-r--r-- | disas.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |