Re: Fix amd64 ddb hardware watchpoints for SMP

2013-05-20 Thread Julian Elischer
On 5/20/13 6:48 AM, John Baldwin wrote: On Thursday, May 16, 2013 2:41:27 am Konstantin Belousov wrote: The ddb use of hardware watchpoints on the x86 architectures is known to be lacking. There are at least two known problems. One is the improper interaction with the user-mode debuggers which u

Re: Fix amd64 ddb hardware watchpoints for SMP

2013-05-20 Thread John Baldwin
On Thursday, May 16, 2013 2:41:27 am Konstantin Belousov wrote: > The ddb use of hardware watchpoints on the x86 architectures is known to > be lacking. There are at least two known problems. One is the improper > interaction with the user-mode debuggers which use debug registers. > Another is that

Fix amd64 ddb hardware watchpoints for SMP

2013-05-15 Thread Konstantin Belousov
The ddb use of hardware watchpoints on the x86 architectures is known to be lacking. There are at least two known problems. One is the improper interaction with the user-mode debuggers which use debug registers. Another is that ddb only loads the debug registers for the watchpoint into the CPU whic