www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/07/27/11:53:30

Date: Mon, 27 Jul 1998 18:53:22 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Pipes
In-Reply-To: <m0z0p1D-000S4SC@inti.gov.ar>
Message-ID: <Pine.SUN.3.91.980727185047.1183L-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019