aboutsummaryrefslogtreecommitdiff
path: root/disas.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2011-10-05 20:03:53 +0200
committerStefan Weil <weil@mail.berlios.de>2011-10-31 21:52:17 +0100
commit5826e51917525dac7704ba8f80d624578fdad3c8 (patch)
tree494a6033ce5f56109ce556eefe2e71dd30544d6a /disas.c
parent7657f4bf68c829623074a60b64f7569532137488 (diff)
downloadqemu-5826e51917525dac7704ba8f80d624578fdad3c8.zip
qemu-5826e51917525dac7704ba8f80d624578fdad3c8.tar.gz
qemu-5826e51917525dac7704ba8f80d624578fdad3c8.tar.bz2
tcg: Add tci disassembler
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'disas.c')
-rw-r--r--disas.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/disas.c b/disas.c
index 611b30b..3b1fd97 100644
--- a/disas.c
+++ b/disas.c
@@ -273,7 +273,9 @@ void disas(FILE *out, void *code, unsigned long size)
#else
disasm_info.endian = BFD_ENDIAN_LITTLE;
#endif
-#if defined(__i386__)
+#if defined(CONFIG_TCG_INTERPRETER)
+ print_insn = print_insn_tci;
+#elif defined(__i386__)
disasm_info.mach = bfd_mach_i386_i386;
print_insn = print_insn_i386;
#elif defined(__x86_64__)