From 1eb5207bfd3dbe4aa7dae076c527f84c4f5c804b Mon Sep 17 00:00:00 2001 From: ths Date: Sat, 12 May 2007 16:57:42 +0000 Subject: [PATCH] Update debug output. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2807 c046a42c-6fe2-441c-8c8c-71466251a162 --- cpu-exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu-exec.c b/cpu-exec.c index fedabef601..fcac463bae 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -1132,8 +1132,8 @@ static inline int handle_cpu_signal(unsigned long pc, unsigned long address, } if (ret == 1) { #if 0 - printf("PF exception: NIP=0x%08x error=0x%x %p\n", - env->nip, env->error_code, tb); + printf("PF exception: PC=0x" TARGET_FMT_lx " error=0x%x %p\n", + env->PC, env->error_code, tb); #endif /* we restore the process signal mask as the sigreturn should do it (XXX: use sigsetjmp) */