Module Name: src Committed By: rin Date: Mon Jun 22 12:21:03 UTC 2020
Modified Files: src/tests/lib/libc/sys: t_ptrace_signal_wait.h t_ptrace_wait.h Log Message: Work around QEMU bug #1668041 differently, by which floating-point division by zero is not correctly trapped for i386 and amd64: https://bugs.launchpad.net/qemu/+bug/1668041 Make trigger_fpe() cause integer division by zero for x86, and floating-point one for other architectures. Also, assertions for si_code in *_crash_fpe tests are commented out for now. They should be cleaned up after the bug is fixed. Now, *_crash_fpe tests are working also on powerpc. Suggested by kamil. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/sys/t_ptrace_signal_wait.h cvs rdiff -u -r1.31 -r1.32 src/tests/lib/libc/sys/t_ptrace_wait.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.