Revision a1d1bb31 target-i386/translate.c
b/target-i386/translate.c | ||
---|---|---|
7522 | 7522 |
DisasContext dc1, *dc = &dc1; |
7523 | 7523 |
target_ulong pc_ptr; |
7524 | 7524 |
uint16_t *gen_opc_end; |
7525 |
CPUBreakpoint *bp; |
|
7525 | 7526 |
int j, lj, cflags; |
7526 | 7527 |
uint64_t flags; |
7527 | 7528 |
target_ulong pc_start; |
... | ... | |
7605 | 7606 |
|
7606 | 7607 |
gen_icount_start(); |
7607 | 7608 |
for(;;) { |
7608 |
if (env->nb_breakpoints > 0) {
|
|
7609 |
for(j = 0; j < env->nb_breakpoints; j++) {
|
|
7610 |
if (env->breakpoints[j] == pc_ptr) {
|
|
7609 |
if (unlikely(env->breakpoints)) {
|
|
7610 |
for (bp = env->breakpoints; bp != NULL; bp = bp->next) {
|
|
7611 |
if (bp->pc == pc_ptr) {
|
|
7611 | 7612 |
gen_debug(dc, pc_ptr - dc->cs_base); |
7612 | 7613 |
break; |
7613 | 7614 |
} |
Also available in: Unified diff