diff options
author | Stefan Weil <sw@weilnetz.de> | 2011-10-05 20:03:53 +0200 |
---|---|---|
committer | Stefan Weil <weil@mail.berlios.de> | 2011-10-31 21:52:17 +0100 |
commit | 5826e51917525dac7704ba8f80d624578fdad3c8 (patch) | |
tree | 494a6033ce5f56109ce556eefe2e71dd30544d6a /disas.c | |
parent | 7657f4bf68c829623074a60b64f7569532137488 (diff) | |
download | qemu-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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__) |