Skip to content

Commit

Permalink
target-alpha: Don't issue goto_tb under singlestep
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Henderson <rth@twiddle.net>
  • Loading branch information
rth7680 committed Apr 17, 2014
1 parent 8f811b9 commit e566be0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion target-alpha/translate.c
Expand Up @@ -426,7 +426,8 @@ static bool in_superpage(DisasContext *ctx, int64_t addr)
static bool use_goto_tb(DisasContext *ctx, uint64_t dest)
{
/* Suppress goto_tb in the case of single-steping and IO. */
if (ctx->singlestep_enabled || (ctx->tb->cflags & CF_LAST_IO)) {
if ((ctx->tb->cflags & CF_LAST_IO)
|| ctx->singlestep_enabled || singlestep) {
return false;
}
/* If the destination is in the superpage, the page perms can't change. */
Expand Down

0 comments on commit e566be0

Please sign in to comment.