aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2022-04-12 18:58:35 +0200
committerThomas Huth <thuth@redhat.com>2022-05-09 08:21:05 +0200
commit82f96346e1fc8eb81eb8e80fe0b95405a8cf42ee (patch)
treeaec794342f1f86fe43d50f7c968fd8e5987ba029 /target
parent554623226f800acf48a2ed568900c1c968ec9a8b (diff)
downloadqemu-82f96346e1fc8eb81eb8e80fe0b95405a8cf42ee.zip
qemu-82f96346e1fc8eb81eb8e80fe0b95405a8cf42ee.tar.gz
qemu-82f96346e1fc8eb81eb8e80fe0b95405a8cf42ee.tar.bz2
disas: Remove old libopcode arm 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-3-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'target')
-rw-r--r--target/arm/cpu.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/target/arm/cpu.c b/target/arm/cpu.c
index 01176b2..16fb5f9 100644
--- a/target/arm/cpu.c
+++ b/target/arm/cpu.c
@@ -775,12 +775,6 @@ static bool arm_cpu_virtio_is_big_endian(CPUState *cs)
#endif
-static int
-print_insn_thumb1(bfd_vma pc, disassemble_info *info)
-{
- return print_insn_arm(pc | 1, info);
-}
-
static void arm_disas_set_info(CPUState *cpu, disassemble_info *info)
{
ARMCPU *ac = ARM_CPU(cpu);
@@ -801,12 +795,10 @@ static void arm_disas_set_info(CPUState *cpu, disassemble_info *info)
} else {
int cap_mode;
if (env->thumb) {
- info->print_insn = print_insn_thumb1;
info->cap_insn_unit = 2;
info->cap_insn_split = 4;
cap_mode = CS_MODE_THUMB;
} else {
- info->print_insn = print_insn_arm;
info->cap_insn_unit = 4;
info->cap_insn_split = 4;
cap_mode = CS_MODE_ARM;