[fpc-devel] win32 debugging broken in fixes_2_2?

Martin Schreiber fpmse at bluewin.ch
Tue Jul 10 16:39:43 CEST 2007


On Tuesday 10 July 2007 14.34, Jonas Maebe wrote:
> 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
> false.
>
> So just type "continue" in gdb to continue the program.
>
Continue does not work:
"
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"...
(gdb) run
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 ()
(gdb) c
Continuing.

Program received signal SIGILL, Illegal instruction.
0x00402091 in SYSTEM_FPC_CPUCODEINIT ()
(gdb) c
Continuing.

Program exited with code 0200.
(gdb)
"
And now what to do?

Martin



More information about the fpc-devel mailing list