mirror of
https://github.com/qemu/qemu.git
synced 2024-11-30 23:33:51 +08:00
debug print
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@329 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
9e5f5284b3
commit
6e0374f6b5
@ -182,13 +182,14 @@ int cpu_restore_state(TranslationBlock *tb,
|
|||||||
#ifdef DEBUG_DISAS
|
#ifdef DEBUG_DISAS
|
||||||
if (loglevel) {
|
if (loglevel) {
|
||||||
int i;
|
int i;
|
||||||
|
fprintf(logfile, "RESTORE:\n");
|
||||||
for(i=0;i<=j; i++) {
|
for(i=0;i<=j; i++) {
|
||||||
if (gen_opc_instr_start[i]) {
|
if (gen_opc_instr_start[i]) {
|
||||||
fprintf(logfile, "0x%04x: 0x%08x", i, gen_opc_pc[i]);
|
fprintf(logfile, "0x%04x: 0x%08x\n", i, gen_opc_pc[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fprintf(logfile, "j=0x%x eip=0x%lx cs_base=%lx\n",
|
fprintf(logfile, "spc=0x%08lx j=0x%x eip=0x%lx cs_base=%lx\n",
|
||||||
j, gen_opc_pc[j] - tb->cs_base, tb->cs_base);
|
searched_pc, j, gen_opc_pc[j] - tb->cs_base, tb->cs_base);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
env->eip = gen_opc_pc[j] - tb->cs_base;
|
env->eip = gen_opc_pc[j] - tb->cs_base;
|
||||||
|
Loading…
Reference in New Issue
Block a user