Mail Archives: djgpp-workers/1996/10/28/05:02:17
On Sun, 27 Oct 1996, Eli Zaretskii wrote:
> 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
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. I checked
R. Browns interrupt list and found, that there are some DOS internal
tables about the files (the FCB's ??) which contain also a pointer
to the PSP of the program, which is the owner of this file handle.
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.
Robert
- Raw text -