Mail Archives: djgpp/1999/12/06/13:42:10
On Mon, 6 Dec 1999, Dave Bloodgood wrote:
> Some months ago you ( Eli ) and I had a "discussion" about a similar problem
> with exception handling in windows NT - in particular, I can't install
> a custom exception handler - without getting a similar sounding
> Dr Watson session. Is there a chance that this is a the heart of that
> problem also ?
It doesn't sound like this is the same problem.
IIRC, the problem you were having was with installing a signal handler
(for SIGFPE, I think). If I'm right, that problem was due to the fact
that SIGFPE is generated by invalidating the segment whose selector is
loaded into the DS register when DJGPP programs run, and NT seems to use
that selector for some bookkeeping while it processes the exception
caused by the invalid selector.
The problem in this thread is with defining a real-mode callback, not
with fake exceptions used by the DJGPP signal-handling machinery.
However, if I'm mistaken, please remind what was the problem in your
case.
- Raw text -