[fpc-devel] In FPC written FPC Debugger

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Feb 22 11:12:01 CET 2008


On 22 Feb 2008, at 09:32, Florian Klaempfl wrote:

> GDB is written in C, even worse it is written in a 80th hackish style
> using tons of macros. Most advanced pascal programmers can read it but
> writing or even debugging is another matter.

It is not /that/ hard to debug (not much more difficult than debugging  
the symbol table in FPC anyway).

> Compiling gdb as any gcc
> written software is a nightmare especially on non unix.


On unix (at least on Linux and Mac OS X) it is trivial to compile (./ 
configure ; make). It doesn't have any unusual external dependencies,  
pretty much everything that's required is included in the gdb source  
tree itself.


Jonas



More information about the fpc-devel mailing list