diff options
author | jhb <jhb@FreeBSD.org> | 2015-11-05 21:22:23 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-11-05 21:22:23 +0000 |
commit | 35ef2880578082538f62f53ea7940b4e76e659bc (patch) | |
tree | 1207714ced4be453e11cf846c12f87bcbe464688 /contrib/gcc/unwind-dw2-fde.c | |
parent | 5d01b91c3622334d65149252896859a1f677668a (diff) | |
download | FreeBSD-src-35ef2880578082538f62f53ea7940b4e76e659bc.zip FreeBSD-src-35ef2880578082538f62f53ea7940b4e76e659bc.tar.gz |
MFC 288371:
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.
Diffstat (limited to 'contrib/gcc/unwind-dw2-fde.c')
0 files changed, 0 insertions, 0 deletions