www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/07/27/13:48:41

Message-Id: <m0z0owB-000S4SC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, 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
Subject: Re: Ispell and pipes
References: <m0z0oTV-000S5fC AT inti DOT gov DOT ar>
In-reply-to: <Pine.SUN.3.91.980727175123.1183C-100000@is>

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> 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

- Raw text -


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