Revision 1b530a6d target-ppc/translate.c
b/target-ppc/translate.c | ||
---|---|---|
39 | 39 |
#define GDBSTUB_SINGLE_STEP 0x4 |
40 | 40 |
|
41 | 41 |
/* Include definitions for instructions classes and implementations flags */ |
42 |
//#define DO_SINGLE_STEP |
|
43 | 42 |
//#define PPC_DEBUG_DISAS |
44 | 43 |
//#define DO_PPC_STATISTICS |
45 | 44 |
|
... | ... | |
8288 | 8287 |
gen_exception(ctxp, POWERPC_EXCP_TRACE); |
8289 | 8288 |
} else if (unlikely(((ctx.nip & (TARGET_PAGE_SIZE - 1)) == 0) || |
8290 | 8289 |
(env->singlestep_enabled) || |
8290 |
singlestep || |
|
8291 | 8291 |
num_insns >= max_insns)) { |
8292 | 8292 |
/* if we reach a page boundary or are single stepping, stop |
8293 | 8293 |
* generation |
8294 | 8294 |
*/ |
8295 | 8295 |
break; |
8296 | 8296 |
} |
8297 |
#if defined (DO_SINGLE_STEP) |
|
8298 |
break; |
|
8299 |
#endif |
|
8300 | 8297 |
} |
8301 | 8298 |
if (tb->cflags & CF_LAST_IO) |
8302 | 8299 |
gen_io_end(); |
Also available in: Unified diff