catching FPEs?
Chris Torek
chris at umcp-cs.UUCP
Sat Oct 4 07:05:23 AEST 1986
In article <371 at vu-vlsi.UUCP> colin at vu-vlsi.UUCP (Colin Kelley) writes:
>... Is there some way to trap FPEs and then indicate that you want
>to resume execution _after_ the code which caused the FPE?
Yes, but this is extermely machine dependent.
If you peer closely at the 4.2 or 4.3 BSD signal manual entries,
you will find something called `sigcontext'. This includes enough
of the call frame so that you can alter the return point, and the
stack pointer and/or frame pointers if necessary. The way to do
this is no doubt quite different on a Pyramid than on a Vax.
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1516)
UUCP: seismo!umcp-cs!chris
CSNet: chris at umcp-cs ARPA: chris at mimsy.umd.edu
More information about the Comp.unix
mailing list