OSDN Git Service

target-alpha: Don't issue goto_tb under singlestep
authorRichard Henderson <rth@twiddle.net>
Thu, 27 Mar 2014 01:37:08 +0000 (18:37 -0700)
committerRichard Henderson <rth@twiddle.net>
Thu, 17 Apr 2014 18:47:42 +0000 (11:47 -0700)
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-alpha/translate.c

index c5f2a8d..d5de9bc 100644 (file)
@@ -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.  */