From: majid-fazal@math.yale.edu (Fazal Majid)
Subject: Finding address of segmentation violation access
Date: 15 Sep 1993 22:20:19 -0400 [thread overview]
Message-ID: <278ih3INNopg@CANTOR.MATH.YALE.EDU> (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.
reply other threads:[~1993-09-16 2:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox