Re: catching floating point exception on OS X Intel
Re: catching floating point exception on OS X Intel
- Subject: Re: catching floating point exception on OS X Intel
- From: "Andrew Pinski" <email@hidden>
- Date: Thu, 10 May 2007 16:50:02 -0700
On 5/10/07, Kristoffer Eriksen <email@hidden> wrote:
When I run it in gdb I get:
Program received signal EXC_ARITHMETIC, Arithmetic exception.
0x00001f2f in main (argc=1, argv=0xbfffe708) at fpasm.c:14
14 x = -1.0/0.0;
It's not a SIGFPE, which is a little puzzling, and I don't know what
an EXC_ARITHMETIC, is but it's effective.
gdb uses mach signals. The mach signals are converted to UNIX signals
latter on.
Thanks,
Andrew Pinski
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden