www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/07/27/12:27:20

Date: Mon, 27 Jul 1998 17:55:00 +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, sandmann AT clio DOT rice DOT edu
Subject: Re: Ispell and pipes
In-Reply-To: <m0z0oTV-000S5fC@inti.gov.ar>
Message-ID: <Pine.SUN.3.91.980727175123.1183C-100000@is>
MIME-Version: 1.0

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.

- Raw text -


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