From dd20fcd0ac20c4357f4d96786ab957c88c6cbe05 Mon Sep 17 00:00:00 2001 From: edgar_igl Date: Wed, 8 Oct 2008 08:28:16 +0000 Subject: CRIS: Correct typos. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5447 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-cris/translate.c | 5 ++--- 1 file 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)); -- cgit v1.2.3