Mail Archives: djgpp-workers/1998/07/27/12:27:20
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 -