Date: Tue, 29 Oct 1996 11:44:31 +0000 From: Bill Currie Subject: Re: function _exit() and about dbgcom.c To: Charles Sandmann Cc: djgpp-workers AT delorie DOT com Message-id: <3275EE1F.3DC@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <9610282106 DOT AA15711 AT clio DOT rice DOT edu> Charles Sandmann wrote: > > > err, why not create a REAL PSP? Easy enough (debug.com does it). Sure it means swapping psp's > > when going to/from debuggee, but it might cause less hassles in the long run? > > When I wrote the debug stuff, there was no undocumented feature usage in DJGPP, > thus no problems with the pseudo PSP (used for command line passage only). > Since DPMI providers mess with the PSP themselves, you are asking for trouble. > This is part of the reason the debuggers originally had a one pass design. Should I experiment with it? What does cwsdpmi do to the psp (if anything)? If windows messes with the psp, surely it would hook the create/set psp calls (but then again, look at cli/sti).