aboutsummaryrefslogtreecommitdiff
path: root/target-cris
diff options
context:
space:
mode:
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-08 08:28:16 +0000
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-08 08:28:16 +0000
commitdd20fcd0ac20c4357f4d96786ab957c88c6cbe05 (patch)
treed67798594adcd9601bd12d6650c79c54084c2844 /target-cris
parent9b32fbf88ba4a6e2b35c0cd1714d10bb83a676a3 (diff)
CRIS: Correct typos.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5447 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-cris')
-rw-r--r--target-cris/translate.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/target-cris/translate.c b/target-cris/translate.c
index 15e6c8553c..c030631696 100644
--- a/target-cris/translate.c
+++ b/target-cris/translate.c
@@ -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));