mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
target/m68k: Clear mach in m68k_cpu_disas_set_info
Zero selects all cpu features in disas/m68k.c, which is really what we want -- not limited to 68040. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20220430170225.326447-2-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
2417cbd591
commit
12629fcf4d
@ -75,12 +75,8 @@ static void m68k_cpu_reset(DeviceState *dev)
|
||||
|
||||
static void m68k_cpu_disas_set_info(CPUState *s, disassemble_info *info)
|
||||
{
|
||||
M68kCPU *cpu = M68K_CPU(s);
|
||||
CPUM68KState *env = &cpu->env;
|
||||
info->print_insn = print_insn_m68k;
|
||||
if (m68k_feature(env, M68K_FEATURE_M68000)) {
|
||||
info->mach = bfd_mach_m68040;
|
||||
}
|
||||
info->mach = 0;
|
||||
}
|
||||
|
||||
/* CPU models */
|
||||
|
Loading…
Reference in New Issue
Block a user