diff options
-rw-r--r-- | sys/powerpc/powerpc/exec_machdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/powerpc/powerpc/exec_machdep.c b/sys/powerpc/powerpc/exec_machdep.c index 7e80c9267689..13009ea5e715 100644 --- a/sys/powerpc/powerpc/exec_machdep.c +++ b/sys/powerpc/powerpc/exec_machdep.c @@ -154,7 +154,8 @@ sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask) * Fill siginfo structure. */ ksi->ksi_info.si_signo = ksi->ksi_signo; - ksi->ksi_info.si_addr = (void *)((tf->exc == EXC_DSI) ? + ksi->ksi_info.si_addr = + (void *)((tf->exc == EXC_DSI || tf->exc == EXC_DSE) ? tf->dar : tf->srr0); #ifdef COMPAT_FREEBSD32 |