]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target-alpha/translate.c
Add new command line option -singlestep for tcg single stepping.
[mirror_qemu.git] / target-alpha / translate.c
index 6156fb5d0d3d3a933f163c8b5c410e68e63045ac..1e1da542d020db957bc3250d878046b22add944a 100644 (file)
@@ -2412,11 +2412,11 @@ static always_inline void gen_intermediate_code_internal (CPUState *env,
         if (env->singlestep_enabled) {
             gen_excp(&ctx, EXCP_DEBUG, 0);
             break;
-       }
+        }
 
-#if defined (DO_SINGLE_STEP)
-        break;
-#endif
+        if (singlestep) {
+            break;
+        }
     }
     if (ret != 1 && ret != 3) {
         tcg_gen_movi_i64(cpu_pc, ctx.pc);