OSDN Git Service

Update debug output.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 12 May 2007 16:57:42 +0000 (16:57 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 12 May 2007 16:57:42 +0000 (16:57 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2807 c046a42c-6fe2-441c-8c8c-71466251a162

cpu-exec.c

index fedabef..fcac463 100644 (file)
@@ -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) */