[fpc-devel] FPC 2.2, gdb 6.6: "Internal error: `this' is not an aggregate"

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Jul 4 11:53:16 CEST 2007


On 04 Jul 2007, at 11:43, Daniƫl Mantione wrote:

> Op Wed, 4 Jul 2007, schreef Jonas Maebe:
>
>> One day we may support debugging with optimisations on using  
>> dwarf, although
>> it will never be as good as debugging with optimisations off
>
> Not off, only -O2 enables debug unfriendly optimizations. Debugging  
> with
> -O1 is supported.

Yes, but keeping them off is easiest to remember, and safest (there  
could always be a "bug" in -O1 in the sense that one or other  
transformation confuses the debugger anyway).


Jonas


More information about the fpc-devel mailing list