[fpc-devel] Problem with compilation (unknown crash)

2012-11-12 Thread Michel Catudal
Is there a way to figure out when a crash occurs, in other words get the compiler to tell me the conditions that made it crash the compilation? I am able to create a compiler but it looks like it barfs when trying to create the RTL stuff, it is kind of hard to fix if I don't know what causes

Re: [fpc-devel] Problem with compilation (unknown crash)

2012-11-12 Thread Jonas Maebe
On 12 Nov 2012, at 13:32, Michel Catudal wrote: Is there a way to figure out when a crash occurs, in other words get the compiler to tell me the conditions that made it crash the compilation? By debugging the compiler. Add OPT=-O- -gl to add debug information and disable optimizations.

Re: [fpc-devel] line info using dwarf with trunk no longer regognized by gdb

2012-11-12 Thread Jonas Maebe
On 11 Nov 2012, at 20:56, Martin wrote: See http://forum.lazarus.freepascal.org/index.php/topic,18816.0.html I did test myself. Same result on win32. (Run any part of the IDE debugger test suite). Tested versions of gdb 6.3 to 7.5 It works fine on Mac OS X and Linux, so it seems to be

Re: [fpc-devel] Problem with compilation (unknown crash)

2012-11-12 Thread Michel Catudal
Le 12/11/2012 07:34, Jonas Maebe a écrit : On 12 Nov 2012, at 13:32, Michel Catudal wrote: Is there a way to figure out when a crash occurs, in other words get the compiler to tell me the conditions that made it crash the compilation? By debugging the compiler. Add OPT=-O- -gl to add debug