delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/10/28/10:12:21

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <9610281455.AA11870@clio.rice.edu>
Subject: Re: function _exit() and about dbgcom.c
To: robert DOT hoehne AT mathematik DOT tu-chemnitz DOT de (Robert Hoehne)
Date: Mon, 28 Oct 1996 08:55:11 -0600 (CST)
Cc: eliz AT is DOT elta DOT co DOT il, djgpp-workers AT delorie DOT com
In-Reply-To: <Pine.HPP.3.95.961028104536.27613A-100000@newton.mathematik.tu-chemnitz.de> from "Robert Hoehne" at Oct 28, 96 10:52:51 am

> As far as I understood the code in dbgcom.c NO. The v2loadimage()
> creates a new PSP for the image and puts it in the stubinfo or
> somewhere else. So I thought, that it should be possible to 
> determine the file handles, which belong to this PSP. 

Its a pseudo PSP, not a real one.  Anything which is expecting it to
contain anything in internal fields might be unplesantly surprised.

> But I'm not so familiar with this low level DOS programming. I have
> looked also in the code of stat() and fstat() where are some code
> with the filehandle table, but I didn't understand it yet in
> all details.

Depending on if this looks at the real PSP or the pseudo PSP, it
could break.

- Raw text -


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