[fpc-devel] win32 debugging broken in fixes_2_2?
fpmse at bluewin.ch
Tue Jul 10 14:38:14 CEST 2007
Every program compiled with fixes_2_2 rev. 8006 crashes
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
Starting program: G:\testcase\mse\console/console.exe
Loaded symbols for C:\WINNT\system32\KERNEL32.DLL
Loaded symbols for C:\WINNT\system32\OLEAUT32.DLL
Loaded symbols for C:\WINNT\system32\OLE32.DLL
Loaded symbols for C:\WINNT\system32\rpcrt4.dll
Loaded symbols for C:\WINNT\system32\ADVAPI32.DLL
Loaded symbols for C:\WINNT\system32\GDI32.DLL
Loaded symbols for C:\WINNT\system32\USER32.DLL
Program received signal SIGILL, Illegal instruction.
0x00402091 in SYSTEM_FPC_CPUCODEINIT ()
#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.
More information about the fpc-devel