Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!pa.dec.com!src.dec.com!src.dec.com!muller From: muller@src.dec.com (Eric Muller) Newsgroups: comp.lang.modula3 Subject: Re: translating SEGV signal into m3 exception Message-ID: <1991Jan24.185451.18559@src.dec.com> Date: 25 Jan 91 02:54:51 GMT References: <6291@rossignol.Princeton.EDU> Sender: news@src.dec.com (News) Reply-To: muller@src.dec.com (Eric Muller) Organization: DEC Systems Research Center Lines: 9 In article <6291@rossignol.Princeton.EDU>, nr@hart.Princeton.EDU (Norman Ramsey) writes: > When my (unsafe) m3 program causes a segmentation fault, I would like > a signal handler to raise a Modula-3 exception. I've looked at > Usignal.i3, but I've always used signal(3) instead of sigvec(2), so I > don't know how to proceed. Look at the body of system/corelib/runtime/RTMisc.m3. Eric Muller.