mirror of
https://github.com/qemu/qemu.git
synced 2024-11-23 19:03:38 +08:00
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:
parent
30abcfc7ba
commit
e00c1e714e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user