Date: Sun, 27 Oct 1996 14:43:59 +0200 (IST) From: Eli Zaretskii To: Robert Hoehne Cc: DJGPP workers Subject: Re: function _exit() and about dbgcom.c In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 25 Oct 1996, Robert Hoehne wrote: > Now my wish. Is there someone, who has alrady some code, which > can determine all the files, which were opened by a program when > all the information about the psp and so on are available or > has someone an idea how this can be done? This is very easy in a stand-alone program (`fstat' does that), but I'm not sure how would this work in a debuggee. Don't the debugger and the debuggee share the file handles and the PSP? If they do, then how would you distinguish between handles that belong to each other?