|
@@ -38,11 +38,6 @@ bool translator_use_goto_tb(DisasContextBase *db, target_ulong dest)
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
- /* Suppress goto_tb in the case of single-steping. */
|
|
|
|
- if (db->singlestep_enabled) {
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
/* Check for the dest on the same page as the start of the TB. */
|
|
/* Check for the dest on the same page as the start of the TB. */
|
|
return ((db->pc_first ^ dest) & TARGET_PAGE_MASK) == 0;
|
|
return ((db->pc_first ^ dest) & TARGET_PAGE_MASK) == 0;
|
|
}
|
|
}
|
|
@@ -60,7 +55,7 @@ void translator_loop(const TranslatorOps *ops, DisasContextBase *db,
|
|
db->is_jmp = DISAS_NEXT;
|
|
db->is_jmp = DISAS_NEXT;
|
|
db->num_insns = 0;
|
|
db->num_insns = 0;
|
|
db->max_insns = max_insns;
|
|
db->max_insns = max_insns;
|
|
- db->singlestep_enabled = cpu->singlestep_enabled;
|
|
|
|
|
|
+ db->singlestep_enabled = cflags & CF_SINGLE_STEP;
|
|
|
|
|
|
ops->init_disas_context(db, cpu);
|
|
ops->init_disas_context(db, cpu);
|
|
tcg_debug_assert(db->is_jmp == DISAS_NEXT); /* no early exit */
|
|
tcg_debug_assert(db->is_jmp == DISAS_NEXT); /* no early exit */
|