aboutsummaryrefslogtreecommitdiff
path: root/target-alpha
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-03-26 18:37:08 -0700
committerRichard Henderson <rth@twiddle.net>2014-04-17 11:47:42 -0700
commite566be049acb405eab6b313f611136f41bf9cca4 (patch)
treecbc24cf497fd3b06ec75a2249d520e6f75476c47 /target-alpha
parent8f811b9a4a13dc1425a80f4df4540aee76183f2a (diff)
downloadqemu-e566be049acb405eab6b313f611136f41bf9cca4.zip
qemu-e566be049acb405eab6b313f611136f41bf9cca4.tar.gz
qemu-e566be049acb405eab6b313f611136f41bf9cca4.tar.bz2
target-alpha: Don't issue goto_tb under singlestep
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha')
-rw-r--r--target-alpha/translate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index c5f2a8d..d5de9bc 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. */