Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Eli Zaretskii , djgpp-workers AT delorie DOT com, sandmann AT clio DOT rice DOT edu Date: Mon, 27 Jul 1998 12:21:26 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Ispell and pipes References: In-reply-to: Precedence: bulk Eli Zaretskii wrote: > > On Mon, 27 Jul 1998, Salvador Eduardo Tropea (SET) wrote: > > > > Alas, the v2loadimage method doesn't work with nested programs. > > > > Why? > > Because it only loads and runs a single program. > > Imagine the case of an editor which launches the compiler. v2loadimage > will load and run gcc.exe, but gcc.exe promptly spawns cpp.exe, cc1.exe > etc. The debug support cannot preempt the spawned child (unless you hook > Int 31h in PM), since you cannot set breakpoints in the child. > > But you actually *want* to preempt cpp and cc1, not gcc, since most > messages are printed by cpp and cc1. Yes, but using the shell gcc won't directly spawn, the shell will do it, so the shell will load cpp with v2loadimage and setup the redirection, then when cpp ends the shell makes the clean up, etc... 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