sparc emulation target (thanx to Thomas M. Ogrisegg)
[qemu] / disas.c
diff --git a/disas.c b/disas.c
index 8a44e91..81ba50a 100644 (file)
--- a/disas.c
+++ b/disas.c
@@ -142,6 +142,8 @@ void disas(FILE *out, void *code, unsigned long size, int is_host, int flags)
        print_insn = print_insn_i386;
 #elif defined(TARGET_ARM)
        print_insn = print_insn_arm;
+#elif defined(TARGET_SPARC)
+       print_insn = print_insn_sparc;
 #else
        fprintf(out, "Asm output not supported on this arch\n");
        return;