Re: [Qemu-devel] [Bug 696834] [NEW] FP exception reporting not working on NetBSD host

2011-01-03 Thread Paul Goyette
On Mon, 3 Jan 2011, Paul Goyette wrote: > The following is a complete, standalone test program: > > #include > #include > #include > #include > >volatile int flt_signal = 0; > > static sigjmp_buf sigfpe_flt_env; > static void > sigfpe_flt_actio

Re: [Qemu-devel] [Bug 696834] [NEW] FP exception reporting not working on NetBSD host

2011-01-03 Thread Paul Goyette
On Mon, 3 Jan 2011, Paulo Cezar A Junior wrote: >>printf("FPE signal handler invoked %d times.\n"); > > this printf() does miss an argument :-) Yes, it does. The signal handler is also missing a line: siglongjmp(sigfpe_flt_env, 1); That's what I get for extracting bits&pieces

Re: [Qemu-devel] [Bug 696834] [NEW] FP exception reporting not working on NetBSD host

2011-01-03 Thread Paulo Cezar
On Mon, Jan 3, 2011 at 12:14 PM, Paul Goyette <696...@bugs.launchpad.net>wrote: > Public bug reported: > > I recognize that NetBSD is not one of the officially supported host OS. > However, qemu 0.13.0 is available in the NetBSD pkgsrc collection, and > works quite well. Well, with one exception

[Qemu-devel] [Bug 696834] [NEW] FP exception reporting not working on NetBSD host

2011-01-03 Thread Paul Goyette
Public bug reported: I recognize that NetBSD is not one of the officially supported host OS. However, qemu 0.13.0 is available in the NetBSD pkgsrc collection, and works quite well. Well, with one exception (pun intended): It seems that Floating Point exceptions don't get reported properly. The