mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216892
@ -2551,7 +2551,8 @@ int
|
||||
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);
|
||||
#ifdef CPU_ENABLE_SSE
|
||||
if (cpu_fxsr)
|
||||
|
Loading…
Reference in New Issue
Block a user