Commit 0815c228bd1 attempted to enable semihosting support for non- ColdFire m68k. But in `do_interrupt_all()`, we take a different path for regular m68k, and that path did not recognize EXCP_SEMIHOSTING. Fix that by adding equivalent code to `m68k_interrupt_all()`.
Signed-off-by: Matt Jacobson <[email protected]> --- target/m68k/op_helper.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/m68k/op_helper.c b/target/m68k/op_helper.c index 8148a8852e..be77b8d567 100644 --- a/target/m68k/op_helper.c +++ b/target/m68k/op_helper.c @@ -305,6 +305,10 @@ static void m68k_interrupt_all(CPUM68KState *env, int is_hw) /* Return from an exception. */ m68k_rte(env); return; + case EXCP_SEMIHOSTING: + do_m68k_semihosting(env, env->dregs[0]); + qemu_plugin_vcpu_hostcall_cb(cs, last_pc); + return; } } -- 2.54.0
