CRIS: Correct typos.
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 8 Oct 2008 08:28:16 +0000 (08:28 +0000)
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 8 Oct 2008 08:28:16 +0000 (08:28 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5447 c046a42c-6fe2-441c-8c8c-71466251a162

target-cris/translate.c

index 15e6c85..c030631 100644 (file)
@@ -2994,14 +2994,13 @@ cris_decoder(DisasContext *dc)
                }
        }
 
-#if defined(CONFIG_USER_ONLY)
+#if !defined(CONFIG_USER_ONLY)
        /* Single-stepping ?  */
        if (dc->tb_flags & S_FLAG) {
                int l1;
 
                l1 = gen_new_label();
-               tcg_gen_brcondi_tl(TCG_COND_NE,
-                                  cpu_PR[PR_SPC], tcg_const_tl(dc->pc), l1);
+               tcg_gen_brcondi_tl(TCG_COND_NE, cpu_PR[PR_SPC], dc->pc, l1);
                /* We treat SPC as a break with an odd trap vector.  */
                cris_evaluate_flags (dc);
                t_gen_mov_env_TN(trap_vector, tcg_const_tl(3));