[fpc-devel] win32 debugging broken in fixes_2_2?

Florian Klaempfl florian at freepascal.org
Tue Jul 10 22:05:26 CEST 2007

Martin Schreiber schrieb:
> On Tuesday 10 July 2007 14.53, vsnijders at quicknet.nl wrote:
>>> And what should I do in MSEide? Disable SIGILL reporting by gdb?
>>> How does Lazarus handle the problem?
>> It does not handle it. If you handle it in MSEIDE, please let us know how
>> you did it.
> The IDE must check where the SIGILL is created, prevent error reporting and 
> restart the program if the SIGILL is raised in the FPC SSE checking code...
> Question to the FPC developers:
> Is there really no other method to check for SSE support?

No, silly enough. Checking some cpuid result is enough to check if the
CPU supports it. But CPU support doesn't mean OS support. And to check
if the OS supports SSE you've to execute an sse instruction and handle
the exception.

More information about the fpc-devel mailing list