[fpc-devel] win32 debugging broken in fixes_2_2?
jonas.maebe at elis.ugent.be
Tue Jul 10 14:34:37 CEST 2007
On 10 Jul 2007, at 14:38, Martin Schreiber wrote:
> Every program compiled with fixes_2_2 rev. 8006 crashes
> in gdb:
> Program received signal SIGILL, Illegal instruction.
> 0x00402091 in SYSTEM_FPC_CPUCODEINIT ()
> (gdb) bt
> #0 0x00402091 in SYSTEM_FPC_CPUCODEINIT ()
> #1 0x0040a504 in SYSTEM_init ()
> #2 0x00406114 in fpc_initializeunits ()
> #3 0x7ffdf000 in ?? ()
> #4 0x00000000 in ?? ()
> The programs work without gdb.
> System: win2000, PII.
> The problem seems not to exist on another PC with win2000 and an
> AMD Athlon.
> Any hints?
The rtl checks on startup whether or not your cpu supports SSE. It
does so by executing an SSE instruction, catching the "illegal
instruction" exception if it occurs and if so, setting a boolean to
So just type "continue" in gdb to continue the program.
More information about the fpc-devel