freebsd-dev/gnu
Ed Maste 5a16cfaeb6 Avoid writing uninitialized stack data into a thread's MMX/SSE state by
first getting the current state with td_thr_getxmmregs_p.  Without this,
debugging a threaded app that uses libthr resulted in kernel panics or
spurious SIGFPEs for me.

(As of revision 1.6, sys/i386/i386/ptrace_machdep.c masks off the
reserved bits in the mxcsr register, which prevents the kernel panics.)

Architectures without PT_GETXMMREGS are not affected.

MFC after:      1 week
2007-02-20 18:10:13 +00:00
..
lib Change RL_LIBRARY_VERSION 2006-12-31 09:27:16 +00:00
usr.bin Avoid writing uninitialized stack data into a thread's MMX/SSE state by 2007-02-20 18:10:13 +00:00
COPYING
COPYING.LIB
Makefile We haven't used this libg++ header since 1999/04/05 05:36:37. 2002-06-05 17:02:37 +00:00
Makefile.inc NODOCCOMPRESS -> NO_DOCCOMPRESS 2004-12-21 09:33:47 +00:00