mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
target/cris: Drop checks for singlestep_enabled
GDB single-stepping is now handled generically. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
a893daa936
commit
e3774881b5
1 changed files with 0 additions and 16 deletions
|
@ -3249,22 +3249,6 @@ static void cris_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (unlikely(dc->base.singlestep_enabled)) {
|
|
||||||
switch (is_jmp) {
|
|
||||||
case DISAS_TOO_MANY:
|
|
||||||
case DISAS_UPDATE_NEXT:
|
|
||||||
tcg_gen_movi_tl(env_pc, npc);
|
|
||||||
/* fall through */
|
|
||||||
case DISAS_JUMP:
|
|
||||||
case DISAS_UPDATE:
|
|
||||||
t_gen_raise_exception(EXCP_DEBUG);
|
|
||||||
return;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
g_assert_not_reached();
|
|
||||||
}
|
|
||||||
|
|
||||||
switch (is_jmp) {
|
switch (is_jmp) {
|
||||||
case DISAS_TOO_MANY:
|
case DISAS_TOO_MANY:
|
||||||
gen_goto_tb(dc, 0, npc);
|
gen_goto_tb(dc, 0, npc);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue