freebsd-dev/gnu/usr.bin/gdb/libgdb
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
..
fbsd-threads.c Avoid writing uninitialized stack data into a thread's MMX/SSE state by 2007-02-20 18:10:13 +00:00
frame-unwind.diff Add a kluge to allow kgdb(1) to inject its own frame sniffer in the 2005-09-10 18:25:53 +00:00
Makefile Clean the product of patch(1). 2006-04-10 09:00:19 +00:00