Zhimin Liu
|
Neutrino 6.3.2 on PPC8347 Divide-by-Zero Exception does not generate SIGFPE
|
Zhimin Liu
11/09/2010 3:38 PM
post74146
|
Neutrino 6.3.2 on PPC8347 Divide-by-Zero Exception does not generate SIGFPE
We have a custom SIGFPE handler working, as long as the "SIGFPE" signal is triggerred by "raise" or "kill"; Howerever,
when we put in the test code try to capture the "divide-by-zero" exception, we did not see the handler is triggerred
(our test code is tricky enough to prevent compiler intervention). We do not believe the SIGFPE signal was sent out by
kernel when the actual "divide by zero" occurred.
Platform Information:
CPU:PPC Release:6.3.2 FreeMem:223Mb/256Mb Processor1: 80830031 E300C1 Core 396MHz FPU.
procnto-600-instr
We want to understand:
1. Will the QNX 6.3.2 kernel (for PowerPC 8347) send out the SIGFPE signal once the divide by zero exception occurs?
2. If so, should we do some special configuration/setup beforehand to make sure the signal is sent out whenever the
floating point exception occurs?
Thanks
|
|
|