[fpc-devel] In FPC written FPC Debugger

Daniël Mantione daniel.mantione at freepascal.org
Thu Feb 21 22:57:43 CET 2008



Op Thu, 21 Feb 2008, schreef Marco van de Voort:

>> Op Thu, 21 Feb 2008, schreef Jonas Maebe:
>
>>>> This discussion takes place in the fpc team from to time. It is clear we
>>>> will need our own debugger, even though not everyone likes to maintain a
>>>> debugger for its platform.
>>>
>>> I disagree it is even necessary for Mac OS X, as gdb works fine there (and
>>> both Apple and SourceWare have been fairly receptive to the -small- patches I
>>> have submitted).
>>
>> GDB works well on any Unix.
>
> I can not really relate to that. GDB is a stopgap on Unix too IMHO.

One reason why GDB works better on Unix than on other platforms is 
that it assumes Unix. I.e. it assumes a Unix filesystem and has no 
knowledge about driveletters.

Another reason is that it depends on various libraries, like libiberty, 
readline, which not only don't care much about other platforms, but also 
enforce Unix emulators like Cygwin.

While I don't disagree with your second sentence (GDB is not quality 
software), GDB does work well on Unix for the functionality it advertises.

Daniël


More information about the fpc-devel mailing list