Commit dd20fcd0ac20c4357f4d96786ab957c88c6cbe05
1 parent
9b32fbf8
CRIS: Correct typos.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5447 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
3 deletions
target-cris/translate.c
... | ... | @@ -2994,14 +2994,13 @@ cris_decoder(DisasContext *dc) |
2994 | 2994 | } |
2995 | 2995 | } |
2996 | 2996 | |
2997 | -#if defined(CONFIG_USER_ONLY) | |
2997 | +#if !defined(CONFIG_USER_ONLY) | |
2998 | 2998 | /* Single-stepping ? */ |
2999 | 2999 | if (dc->tb_flags & S_FLAG) { |
3000 | 3000 | int l1; |
3001 | 3001 | |
3002 | 3002 | l1 = gen_new_label(); |
3003 | - tcg_gen_brcondi_tl(TCG_COND_NE, | |
3004 | - cpu_PR[PR_SPC], tcg_const_tl(dc->pc), l1); | |
3003 | + tcg_gen_brcondi_tl(TCG_COND_NE, cpu_PR[PR_SPC], dc->pc, l1); | |
3005 | 3004 | /* We treat SPC as a break with an odd trap vector. */ |
3006 | 3005 | cris_evaluate_flags (dc); |
3007 | 3006 | t_gen_mov_env_TN(trap_vector, tcg_const_tl(3)); | ... | ... |