diff options
Diffstat (limited to 'target-arm')
-rw-r--r-- | target-arm/kvm64.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target-arm/kvm64.c b/target-arm/kvm64.c index 3b3929dc24..5f96cde603 100644 --- a/target-arm/kvm64.c +++ b/target-arm/kvm64.c @@ -534,6 +534,13 @@ bool kvm_arm_handle_debug(CPUState *cs, struct kvm_debug_exit_arch *debug_exit) kvm_cpu_synchronize_state(cs); switch (hsr_ec) { + case EC_SOFTWARESTEP: + if (cs->singlestep_enabled) { + return true; + } else { + error_report("Came out of SINGLE STEP when not enabled"); + } + break; case EC_AA64_BKPT: if (kvm_find_sw_breakpoint(cs, env->pc)) { return true; |