]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - target-moxie/translate.c
cpu: Move breakpoints field from CPU_COMMON to CPUState
[thirdparty/qemu.git] / target-moxie / translate.c
index a93196f47b9d5c58cdfe33e326e9d99bccc73695..63f889fd7fab1e3037277d091a3b6e7e231082ee 100644 (file)
@@ -845,8 +845,8 @@ gen_intermediate_code_internal(MoxieCPU *cpu, TranslationBlock *tb,
 
     gen_tb_start();
     do {
-        if (unlikely(!QTAILQ_EMPTY(&env->breakpoints))) {
-            QTAILQ_FOREACH(bp, &env->breakpoints, entry) {
+        if (unlikely(!QTAILQ_EMPTY(&cs->breakpoints))) {
+            QTAILQ_FOREACH(bp, &cs->breakpoints, entry) {
                 if (ctx.pc == bp->pc) {
                     tcg_gen_movi_i32(cpu_pc, ctx.pc);
                     gen_helper_debug(cpu_env);