1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/gnu/usr.bin/gdb
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
..
arch Architecture specific portions of gdb for arm. 2006-09-14 06:49:34 +00:00
doc
gdb
gdbserver bring in the necessary changes to make gdbserver compile and work (at 2006-04-06 22:24:01 +00:00
gdbtui
kgdb Try to avoid a possible infinite loop when parsing an invalid kernel dump file. 2007-01-25 06:39:25 +00:00
libgdb Avoid writing uninitialized stack data into a thread's MMX/SSE state by 2007-02-20 18:10:13 +00:00
Makefile Turn on gdbserver for the arch that supports it.. 2006-10-21 17:27:36 +00:00
Makefile.inc