MFi386 r216012 by kib:
Calling fill_fpregs() for curthread is legitimate, and ELF coredump does this. Discussed with: kib MFC after: 3 days
This commit is contained in:
parent
f8d0071f71
commit
467a917104
@ -2551,7 +2551,8 @@ int
|
|||||||
fill_fpregs(struct thread *td, struct fpreg *fpregs)
|
fill_fpregs(struct thread *td, struct fpreg *fpregs)
|
||||||
{
|
{
|
||||||
|
|
||||||
KASSERT(TD_IS_SUSPENDED(td), ("not suspended thread %p", td));
|
KASSERT(td == curthread || TD_IS_SUSPENDED(td),
|
||||||
|
("not suspended thread %p", td));
|
||||||
npxgetregs(td);
|
npxgetregs(td);
|
||||||
#ifdef CPU_ENABLE_SSE
|
#ifdef CPU_ENABLE_SSE
|
||||||
if (cpu_fxsr)
|
if (cpu_fxsr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user