aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-12 16:57:42 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-12 16:57:42 +0000
commit1eb5207bfd3dbe4aa7dae076c527f84c4f5c804b (patch)
tree2cdfd67adbd4bbece132902625068efbe7b136f8
parenta07dec2212d6ba9751dd1dac2b3f4b560325fee0 (diff)
Update debug output.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2807 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--cpu-exec.c4
1 files 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) */