Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: djgpp-workers AT delorie DOT com, eliz AT is DOT elta DOT co DOT il Date: Mon, 27 Jul 1998 12:26:38 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Pipes In-reply-to: <199807271439.KAA02462@delorie.com> References: (message from Eli Zaretskii on Mon, 27 Jul 1998 17:35:31 +0300 (IDT)) Precedence: bulk DJ Delorie wrote: > > Will longjmp work across different selectors? (The child has a different > > CS/DS/SS, right?) > > longjmp restores these registers: > > eax ebx ecx edx esi edi ebp esp eip flags cs ds es fs gs ss I don't have the code here but I think EAX have a special work here because is the setjmp return value. I'm using longjmps with some tricks, most of the time filling the jmp_buf manually. 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? SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013