Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Finding address of segmentation violation access
@ 1993-09-16  2:20 Fazal Majid
  0 siblings, 0 replies; only message in thread
From: Fazal Majid @ 1993-09-16  2:20 UTC (permalink / raw)


I am trying to port elk-2.1 to DEC-OSF/1 for the Alpha. The new generational
garbage collector calls mprotect(2) and needs to know where an illegal access
was done from within the SIGSEGV signal handler.

On Mips systems, this was done using the sc_badvaddr field of the sigcontext
struct. There is no siginfo structure field corresponding.

So how does a SIGSEGV exception handler determine where the violation took
place ?



-- 
Fazal MAJID		|      /\    /\    /\    /\    0-  Sarff, the serpent
majid@math.yale.edu	| /\  /  \  /  \  /  \  /  \  /    with the terrible
majid@inf.enst.fr	|   \/    \/    \/    \/    \/     sting.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-09-16  2:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-09-16  2:20 Finding address of segmentation violation access Fazal Majid

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox