Revision 1fddef4b target-arm/translate.c
b/target-arm/translate.c | ||
---|---|---|
2026 | 2026 |
dc->pc = pc_start; |
2027 | 2027 |
lj = -1; |
2028 | 2028 |
do { |
2029 |
if (env->nb_breakpoints > 0) { |
|
2030 |
for(j = 0; j < env->nb_breakpoints; j++) { |
|
2031 |
if (env->breakpoints[j] == dc->pc) { |
|
2032 |
gen_op_movl_T0_im((long)dc->pc); |
|
2033 |
gen_op_movl_reg_TN[0][15](); |
|
2034 |
gen_op_debug(); |
|
2035 |
dc->is_jmp = DISAS_JUMP; |
|
2036 |
break; |
|
2037 |
} |
|
2038 |
} |
|
2039 |
} |
|
2029 | 2040 |
if (search_pc) { |
2030 | 2041 |
j = gen_opc_ptr - gen_opc_buf; |
2031 | 2042 |
if (lj < j) { |
... | ... | |
2040 | 2051 |
disas_thumb_insn(dc); |
2041 | 2052 |
else |
2042 | 2053 |
disas_arm_insn(env, dc); |
2043 |
} while (!dc->is_jmp && gen_opc_ptr < gen_opc_end && |
|
2054 |
} while (!dc->is_jmp && gen_opc_ptr < gen_opc_end && |
|
2055 |
!env->singlestep_enabled && |
|
2044 | 2056 |
(dc->pc - pc_start) < (TARGET_PAGE_SIZE - 32)); |
2045 | 2057 |
switch(dc->is_jmp) { |
2046 | 2058 |
case DISAS_JUMP_NEXT: |
Also available in: Unified diff