Revision a1d1bb31 target-cris/translate.c
b/target-cris/translate.c | ||
---|---|---|
3187 | 3187 |
|
3188 | 3188 |
static void check_breakpoint(CPUState *env, DisasContext *dc) |
3189 | 3189 |
{ |
3190 |
int j; |
|
3191 |
if (env->nb_breakpoints > 0) { |
|
3192 |
for(j = 0; j < env->nb_breakpoints; j++) { |
|
3193 |
if (env->breakpoints[j] == dc->pc) { |
|
3190 |
CPUBreakpoint *bp; |
|
3191 |
|
|
3192 |
if (unlikely(env->breakpoints)) { |
|
3193 |
for (bp = env->breakpoints; bp != NULL; bp = bp->next) { |
|
3194 |
if (bp->pc == dc->pc) { |
|
3194 | 3195 |
cris_evaluate_flags (dc); |
3195 | 3196 |
tcg_gen_movi_tl(env_pc, dc->pc); |
3196 | 3197 |
t_gen_raise_exception(EXCP_DEBUG); |
Also available in: Unified diff