Subject: Re: Storing DAR (and maybe DSISR and ES) in uc_mcontext
To: Matt Thomas <matt@3am-software.com>
From: Richard M Kreuter <kreuter@progn.net>
List: port-powerpc
Date: 12/15/2005 12:18:02
Matt Thomas writes:

> Alas, that would break binary compatibility.  Older applications using
> the old mcontext would break.

So it would.  Sorry.

> However, DAR will be in the siginfo and the DSISR will have been
> translated into the siginfo so this really isn't needed.

Oh, is there already a straightforward way to get the DAR from the
siginfo?  I don't see the fault address value in the siginfo argument to
the segfault handler.

Thanks,
RmK