delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/10/27/07:45:25

Date: Sun, 27 Oct 1996 14:43:59 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Robert Hoehne <robert DOT hoehne AT mathematik DOT tu-chemnitz DOT de>
Cc: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: Re: function _exit() and about dbgcom.c
In-Reply-To: <Pine.HPP.3.95.961025120545.12946C-100000@newton.mathematik.tu-chemnitz.de>
Message-Id: <Pine.SUN.3.91.961027144112.14799O-100000@is>
Mime-Version: 1.0

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? 

- Raw text -


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