Commit 1eb5207bfd3dbe4aa7dae076c527f84c4f5c804b
1 parent
a07dec22
Update debug output.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2807 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
cpu-exec.c
... | ... | @@ -1132,8 +1132,8 @@ static inline int handle_cpu_signal(unsigned long pc, unsigned long address, |
1132 | 1132 | } |
1133 | 1133 | if (ret == 1) { |
1134 | 1134 | #if 0 |
1135 | - printf("PF exception: NIP=0x%08x error=0x%x %p\n", | |
1136 | - env->nip, env->error_code, tb); | |
1135 | + printf("PF exception: PC=0x" TARGET_FMT_lx " error=0x%x %p\n", | |
1136 | + env->PC, env->error_code, tb); | |
1137 | 1137 | #endif |
1138 | 1138 | /* we restore the process signal mask as the sigreturn should |
1139 | 1139 | do it (XXX: use sigsetjmp) */ | ... | ... |