[fpc-devel] gdb crashes with trunk

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Apr 3 14:04:44 CEST 2008

On 03 Apr 2008, at 13:54, Martin Schreiber wrote:

> I am currently debugging the "cleanroom code" which is a frustrating  
> matter
> because gdb crashes at allmost every breakpoint.
> Any hints how to let gdb work more stable with trunk on i386-linux?

Can you give a reproducible case? It's possible we can work around it  
by structuring the debug info differently. Also, did you compile the  
trunk units with a trunk compiler or with a 2.2.1 compiler?

> I compile with -O- already, gdb version is

One thing you can try is using -gw to use dwarf instead of stabs.


More information about the fpc-devel mailing list