aboutsummaryrefslogtreecommitdiff
path: root/disas.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2022-04-12 18:58:36 +0200
committerThomas Huth <thuth@redhat.com>2022-05-09 08:21:05 +0200
commit457248a54c9d3dbc3c7f4dc8e184f07ca858640c (patch)
tree4c30c2cbe12b85185fc14eb48734800d4fa70cac /disas.c
parent82f96346e1fc8eb81eb8e80fe0b95405a8cf42ee (diff)
disas: Remove old libopcode i386 disassembler
Capstone should be superior to the old libopcode disassembler, so we can drop the old file nowadays. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220412165836.355850-4-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'disas.c')
-rw-r--r--disas.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/disas.c b/disas.c
index 4e443b4d49..b6f4dc73b2 100644
--- a/disas.c
+++ b/disas.c
@@ -153,14 +153,12 @@ static void initialize_debug_host(CPUDebug *s)
s->info.print_insn = print_insn_tci;
#elif defined(__i386__)
s->info.mach = bfd_mach_i386_i386;
- s->info.print_insn = print_insn_i386;
s->info.cap_arch = CS_ARCH_X86;
s->info.cap_mode = CS_MODE_32;
s->info.cap_insn_unit = 1;
s->info.cap_insn_split = 8;
#elif defined(__x86_64__)
s->info.mach = bfd_mach_x86_64;
- s->info.print_insn = print_insn_i386;
s->info.cap_arch = CS_ARCH_X86;
s->info.cap_mode = CS_MODE_64;
s->info.cap_insn_unit = 1;