Skip to contentSkip to conversation

[5447] CRIS: Correct typos.

Qemu-devel Edgar E. Iglesias 1 participant 1 message Oct 8, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5447

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5447
Author:   edgar_igl
Date:     2008-10-08 08:28:16 +0000 (Wed, 08 Oct 2008)

Log Message:
-----------
CRIS: Correct typos.

Modified Paths:
--------------
trunk/target-cris/translate.c

Modified: trunk/target-cris/translate.c
===================================================================

target-cris/translate.c +2 -3
@@ -2994,14 +2994,13 @@
 		}
 	}
 
-#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));