[fpc-devel]gdb and file handles

Peter Vreman peter at freepascal.org
Mon Dec 30 11:11:19 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+
>
> I created dll with libgdb 5.1, but can't load it. When i try to do this
> program stops responding, maybe you have any idea why can it be so?
>

The libgdb is only tested linked statically in the FP IDE. The IDE of
1.0.6 contains a fixed libgdb.








More information about the fpc-devel mailing list