Date: Mon, 27 Jul 1998 17:30:24 +0300 (IDT) From: Eli Zaretskii To: "Salvador Eduardo Tropea (SET)" cc: djgpp-workers AT delorie DOT com Subject: Re: Pipes In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.