The NetBSD Project

CVS log for src/tests/lib/libc/sys/t_ptrace_signal_wait.h

[BACK] Up to [cvs.NetBSD.org] / src / tests / lib / libc / sys

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.4.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:34:59 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Mar 19 00:44:09 2021 UTC (3 years ago) by simonb
Branch: MAIN
CVS Tags: thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored)

Sprinkle a few more \n's and the end of some debug printfs.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jun 22 12:21:02 2020 UTC (3 years, 9 months ago) by rin
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

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.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 22 02:51:06 2020 UTC (3 years, 9 months ago) by rin
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

Turn trigger_fpe() back to integer division by zero for a while
until QEMU bug #1668041 is fixed:

https://bugs.launchpad.net/qemu/+bug/1668041

by which floating-point division by zero is not trapped correctly
both on amd64 and i386.

Skip *_crash_fpe tests on powerpc, where integer division by zero
is never trapped.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 17 08:42:16 2020 UTC (3 years, 9 months ago) by rin
Branch: MAIN
Changes since 1.1: +5 -5 lines
Diff to previous 1.1 (colored)

Let trigger_fpe() cause floating-point divide by zero exception, instead of
integer one, which is not trapped for powerpc and aarch64.

Note that it is checked in lib/libc/gen/t_siginfo whether integer divide by
zero is interpreted as SIGFPE or not.

Now, all *_crash_fpe tests pass for powerpc, and nothing changes for amd64
at least.

Revision 1.1 / (download) - annotate - [select for diffs], Mon May 4 23:49:31 2020 UTC (3 years, 11 months ago) by kamil
Branch: MAIN

Move signal tests out of t_ptrace_wait.c to t_ptrace_signal_wait.h

The same tests are now included with the preprocessor in t_ptrace_wait.c.

No functional change intended.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>