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

Date: Mon, 27 Jul 1998 17:30:24 +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: <m0z0mMW-000S4WC@inti.gov.ar>
Message-ID: <Pine.SUN.3.91.980727172540.779K-100000@is>
MIME-Version: 1.0

On Mon, 27 Jul 1998, Salvador Eduardo Tropea (SET) wrote:

> I know I can hook the int 31 and look for int 21 calls but that isn't good
> because in this case we are inside an interrupt routine and we can't longjmp
> out of it.

But the DJGPP's debug support already does exactly that, so it's 
possible.

> The only way I think could work is allowing the program to choose between
> ending with an int 21 or longjmp'ing somewhere. That's a very complex stuff,
> can somebody explain the djgpp exit sequence?

I think hooking the PM Int 21h and watching for function 4Ch is all you 
need to catch the child when it exits.  That's what DJGPP debug support 
does already.

- Raw text -


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