Author: gavin
Date: Sun Jan 2 15:06:07 2011
New Revision: 216892
URL: http://svn.freebsd.org/changeset/base/216892
Log:
MFi386 r216012 by kib:
Calling fill_fpregs() for curthread is legitimate, and ELF coredump
does this.
Discussed with: kib
MFC after: 3 days
Modified:
head/sys/pc98/pc98/machdep.c
Modified: head/sys/pc98/pc98/machdep.c
==============================================================================
--- head/sys/pc98/pc98/machdep.c Sun Jan 2 15:01:03 2011
(r216891)
+++ head/sys/pc98/pc98/machdep.c Sun Jan 2 15:06:07 2011
(r216892)
@@ -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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"