Commit e00c1e714e15ebb813d120906d789f9ef09f031b
1 parent
30abcfc7
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
Showing
1 changed file
with
1 additions
and
1 deletions
linux-user/main.c
... | ... | @@ -1719,7 +1719,7 @@ void cpu_loop (CPUState *env) |
1719 | 1719 | info.si_errno = 0; |
1720 | 1720 | /* XXX: check env->error_code */ |
1721 | 1721 | info.si_code = TARGET_SEGV_MAPERR; |
1722 | - info._sifields._sigfault._addr = env->debug1; | |
1722 | + info._sifields._sigfault._addr = env->pregs[PR_EDA]; | |
1723 | 1723 | queue_signal(info.si_signo, &info); |
1724 | 1724 | } |
1725 | 1725 | break; | ... | ... |