From e00c1e714e15ebb813d120906d789f9ef09f031b Mon Sep 17 00:00:00 2001 From: edgar_igl Date: Tue, 27 May 2008 21:12:09 +0000 Subject: 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 --- linux-user/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1