[fpc-devel]gdb and file handles

Peter Vreman peter at freepascal.org
Mon Dec 30 10:52:20 CET 2002


> Hi,
> I noticed that gdb does not release file handle after use. I think it can
> be
> actual in FP IDE also. There is no problems under win9x, because there is
> a
> lower files protection. But under winnt (2000) this file can not be
> removed
> (or linked).
> Tested with gdb 4.18.b1 and libgdb 5.0.
>
> You can try this (must be under winnt):
>>gbdpasw
>>file [program.exe]
>>run
>>file
> del [program.exe]
> It deletes program only after gdbpasw close.

This has been fixed in libgdb 5.1+






More information about the fpc-devel mailing list