freebsd-nq/gnu/usr.bin
John Baldwin df66ebeba3 When XSAVE support was added on amd64, the FPU save area was moved
out of 'struct pcb' and into a variable-sized region after the
structure. The kgdb code currently only reads the pcb. It does not
read in the FPU save area but instead passes stack garbage as the
FPU's saved context. Fixing this would mean determining the proper
size of the area and fetching it. However, this state is not saved
for running CPUs in stoppcbs[], so the callback would also have to
know to ignore those pcbs. Instead, just remove the call since it is
of limited usefulness. It results in kgdb reporting the state of the
FPU/SIMD registers in userland, not their current values in the kernel.
In particular, it does not report the correct state for any code in
the kernel which does use the FPU and would report incorrect values
in that case.

Reviewed by:	kib
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D3743
2015-09-29 15:47:42 +00:00
..
binutils Fix subdir -j build after r287983 by adding missing dependencies. 2015-09-25 20:31:04 +00:00
cc Remove redundant .NOPATH. 2015-09-26 14:15:01 +00:00
dialog Add META_MODE support. 2015-06-13 19:20:56 +00:00
diff META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
diff3 Add META_MODE support. 2015-06-13 19:20:56 +00:00
dtc META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
gdb When XSAVE support was added on amd64, the FPU save area was moved 2015-09-29 15:47:42 +00:00
gperf META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
grep META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
groff Replace beforeinstall: handling with FILES. 2015-09-18 23:49:32 +00:00
rcs Replace GNU RCS ident with a BSD license ident 2015-07-26 11:21:36 +00:00
sdiff Add META_MODE support. 2015-06-13 19:20:56 +00:00
tests Add placeholder Kyuafiles for various top-level hierarchies. 2014-04-21 21:39:25 +00:00
Makefile - Record dependencies of gdb/gdbtui/kgdb on binutils/lib{bfd,iberty,opcodes}, 2015-07-19 00:38:19 +00:00
Makefile.inc