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
This commit is contained in:
edgar_igl 2008-05-27 21:12:09 +00:00
parent 30abcfc7ba
commit e00c1e714e

View File

@ -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;