diff options
author | Richard Henderson <rth@twiddle.net> | 2014-03-26 18:37:08 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2014-04-17 11:47:42 -0700 |
commit | e566be049acb405eab6b313f611136f41bf9cca4 (patch) | |
tree | cbc24cf497fd3b06ec75a2249d520e6f75476c47 /target-alpha/translate.c | |
parent | 8f811b9a4a13dc1425a80f4df4540aee76183f2a (diff) |
target-alpha: Don't issue goto_tb under singlestep
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha/translate.c')
-rw-r--r-- | target-alpha/translate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c index c5f2a8dd21..d5de9bc19f 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -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. */ |