summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-27 21:12:09 +0000
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-27 21:12:09 +0000
commite00c1e714e15ebb813d120906d789f9ef09f031b (patch)
tree05ad51bea88daaabed7712ecee9e4764f66a08c9
parent30abcfc7babe4bde680e1a04a1a6d0f1c041cc29 (diff)
downloadhqemu-e00c1e714e15ebb813d120906d789f9ef09f031b.zip
hqemu-e00c1e714e15ebb813d120906d789f9ef09f031b.tar.gz
CRIS: Use $eda to instead of debug1 (removed) for fault addr.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4595 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--linux-user/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index e871b48..d5bb124 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -1719,7 +1719,7 @@ void cpu_loop (CPUState *env)
info.si_errno = 0;
/* XXX: check env->error_code */
info.si_code = TARGET_SEGV_MAPERR;
- info._sifields._sigfault._addr = env->debug1;
+ info._sifields._sigfault._addr = env->pregs[PR_EDA];
queue_signal(info.si_signo, &info);
}
break;
OpenPOWER on IntegriCloud