NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/52871: ptrace: fpregs panic on pmax



The following reply was made to PR kern/52871; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/52871: ptrace: fpregs panic on pmax
Date: Thu, 28 Dec 2017 12:48:45 +0000

 On Thu, Dec 28, 2017 at 12:05:01PM +0000, coypu%sdf.org@localhost wrote:
  >  fwiw we can just drop the third argument on all these
  >  also for dbregs (x86-only) it has a third argument which is unused
 
 With that it's still an illegal cast (or rather, it's illegal to make
 the cast and then call the results) because void * isn't the same as
 struct fpreg *.
 
 (but it's much less illegal and it's reasonably likely to work)
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index