target/arm: Advance pc for arch single-step exception
The size of the code covered by a TranslationBlock cannot be 0; this is checked via assert in tb_gen_code. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
258a00e5a4
commit
485088f742
@ -14767,6 +14767,7 @@ static void aarch64_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu)
|
||||
assert(s->base.num_insns == 1);
|
||||
gen_swstep_exception(s, 0, 0);
|
||||
s->base.is_jmp = DISAS_NORETURN;
|
||||
s->base.pc_next = pc + 4;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user