freebsd-dev/gnu/usr.bin/gdb
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
..
arch Remove ia64. 2014-07-07 00:27:09 +00:00
gdb Add META_MODE support. 2015-06-13 19:20:56 +00:00
gdbserver Add META_MODE support. 2015-06-13 19:20:56 +00:00
gdbtui Add META_MODE support. 2015-06-13 19:20:56 +00:00
kgdb When XSAVE support was added on amd64, the FPU save area was moved 2015-09-29 15:47:42 +00:00
libgdb Add META_MODE support. 2015-06-13 19:20:56 +00:00
Makefile Remove GNU texinfo from base along with all info pages. 2015-01-02 18:45:03 +00:00
Makefile.inc Remove gnu/ info pages to unbreak the build with MK_GCC != no, etc 2015-01-02 20:34:55 +00:00