Nasser's article is wrong in that the kernel isn't using the hardware-
supported watchpoints (on any architecture) -- fortunately, that's really
ancillary to the crux of the article.

Eric's article (and the next one http://blogs.sun.com/eschrock/date/20040717)
accurately describes how watchpoints are implemented and some of the
improvements he made in Solaris 10 to increase performance.

Adam

On Tue, Nov 13, 2007 at 01:24:49PM -0800, Alexandra (Sasha) Fedorova wrote:
> Hello, 
> 
> I have a question about the implementation of watchpoints in Solaris. This 
> blog: http://blogs.sun.com/eschrock/date/20040713 suggests that watchpoints 
> in Solaris 10 are implemented in software. This article 
> http://developers.sun.com/solaris/articles/demistify_watch_points.html on the 
> other hand, says that AMD and Intel architectures support hardware 
> watchpoints.
> 
> If I run my code that uses watchpoints on x86/Solaris system, will hardware 
> watchpoints be used? If so, will this be automatic, or will I need to enable 
> them? 
> 
> Do any SPARC machines support hardware watchpoints? 
> 
> Thank you.
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-code mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

-- 
Adam Leventhal, FishWorks                        http://blogs.sun.com/ahl
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to