Subject: Re: faulting address in SIGSEGV handler (i386)
To: None <tech-kern@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-kern
Date: 08/31/2001 04:16:42
On Thu, Aug 30, 2001 at 23:20:03 +0000, Christos Zoulas wrote:

> > get at the faulting address in its SIGSEGV handler.
> 
> sc_eip should give you what you want.

My understanding is that it needs the address of the access that
caused the fault (e.g SFVA on sun4m), not the address of the
instruction that tried to perform the access.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen