summaryrefslogtreecommitdiff
path: root/disas.c
diff options
context:
space:
mode:
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>2015-06-23 20:57:36 -0700
committerAndreas Färber <afaerber@suse.de>2015-07-09 15:20:41 +0200
commitefc6674be845e40d443b62e80eb9ea9a9adfee3c (patch)
treefc8f9acdcd23eefd4c42f6e1bfe01c8fe278f448 /disas.c
parent484406200e51eac023b346fdf987f86af1f6fe75 (diff)
downloadqemu-efc6674be845e40d443b62e80eb9ea9a9adfee3c.tar.gz
qemu-efc6674be845e40d443b62e80eb9ea9a9adfee3c.tar.bz2
qemu-efc6674be845e40d443b62e80eb9ea9a9adfee3c.zip
disas: microblaze: QOMify target specific disas setup
Move the target_disas() MB specifics to the QOM disas_set_info hook and delete the MB specific code in disas.c. This also now adds support for monitor_disas() to Microblaze. E.g. (qemu) xp 0x90000000 0000000090000000: 0x94208001 And before this patch: (qemu) xp/i 0x90000000 0x90000000: Asm output not supported on this arch After: (qemu) xp/i 0x90000000 0x90000000: mfs r1, rmsr Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'disas.c')
-rw-r--r--disas.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/disas.c b/disas.c
index fde5029ba5..937e08b743 100644
--- a/disas.c
+++ b/disas.c
@@ -268,9 +268,6 @@ void target_disas(FILE *out, CPUState *cpu, target_ulong code,
#elif defined(TARGET_S390X)
s.info.mach = bfd_mach_s390_64;
s.info.print_insn = print_insn_s390;
-#elif defined(TARGET_MICROBLAZE)
- s.info.mach = bfd_arch_microblaze;
- s.info.print_insn = print_insn_microblaze;
#elif defined(TARGET_MOXIE)
s.info.mach = bfd_arch_moxie;
s.info.print_insn = print_insn_moxie;