Skip to content

Commit

Permalink
disas: Remove old libopcode i386 disassembler
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
huth committed May 9, 2022
1 parent 82f9634 commit 457248a
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6,778 deletions.
2 changes: 0 additions & 2 deletions MAINTAINERS
Expand Up @@ -334,7 +334,6 @@ F: target/i386/tcg/
F: tests/tcg/i386/
F: tests/tcg/x86_64/
F: hw/i386/
F: disas/i386.c
F: docs/system/cpu-models-x86*
T: git https://gitlab.com/ehabkost/qemu.git x86-next

Expand Down Expand Up @@ -3275,7 +3274,6 @@ i386 TCG target
M: Richard Henderson <richard.henderson@linaro.org>
S: Maintained
F: tcg/i386/
F: disas/i386.c

LoongArch64 TCG target
M: WANG Xuerui <git@xen0n.name>
Expand Down
2 changes: 0 additions & 2 deletions disas.c
Expand Up @@ -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;
Expand Down

0 comments on commit 457248a

Please sign in to comment.