Mail Archives: djgpp-workers/1998/07/27/11:53:30
On Mon, 27 Jul 1998, Salvador Eduardo Tropea (SET) wrote:
> Additionally longjmp restores a flag about the exceptions state, what's that
> DJ? I know is a pointer that normally is 0, is that to longjmp from
> exceptions and then be able to restore some state information needed by the
> djgpp exception handling routines?
Yes, that pointer is for exception handling. You can see more by looking
at the source of src/libc/go32/dpmiexcp.c in the latest djlsr202.zip,
where at one place this pointer is assigned a value to fake an exception
(so that `abort' prints a traceback). The low-level details of the
exception structure are in src/libc/go32/exceptn.S.
- Raw text -