aboutsummaryrefslogtreecommitdiff
path: root/disas.c
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2013-03-18 15:49:23 -0400
committerBlue Swirl <blauwirbel@gmail.com>2013-03-23 14:25:41 +0000
commitbd86a88eedf3fd4ff55664cfabea7d6400e5fbda (patch)
tree904abe6fe402ece146629d4d693297d98e340299 /disas.c
parent525bd324c282c68ff95e389acd647ae115fd003c (diff)
Add moxie disassembler
Signed-off-by: Anthony Green <green@moxielogic.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'disas.c')
-rw-r--r--disas.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/disas.c b/disas.c
index a46faeed80..74d3ba0563 100644
--- a/disas.c
+++ b/disas.c
@@ -256,6 +256,9 @@ void target_disas(FILE *out, CPUArchState *env, target_ulong code,
#elif defined(TARGET_MICROBLAZE)
s.info.mach = bfd_arch_microblaze;
print_insn = print_insn_microblaze;
+#elif defined(TARGET_MOXIE)
+ s.info.mach = bfd_arch_moxie;
+ print_insn = print_insn_moxie;
#elif defined(TARGET_LM32)
s.info.mach = bfd_mach_lm32;
print_insn = print_insn_lm32;
@@ -462,6 +465,9 @@ void monitor_disas(Monitor *mon, CPUArchState *env,
#elif defined(TARGET_S390X)
s.info.mach = bfd_mach_s390_64;
print_insn = print_insn_s390;
+#elif defined(TARGET_MOXIE)
+ s.info.mach = bfd_arch_moxie;
+ print_insn = print_insn_moxie;
#elif defined(TARGET_LM32)
s.info.mach = bfd_mach_lm32;
print_insn = print_insn_lm32;