PERFORCE change 28117 for review
Peter Wemm
peter at FreeBSD.org
Fri Apr 4 18:03:22 PST 2003
http://perforce.freebsd.org/chv.cgi?CH=28117
Change 28117 by peter at peter_daintree on 2003/04/04 18:02:36
no debug regs
Affected files ...
.. //depot/projects/hammer/sys/x86_64/x86_64/trap.c#17 edit
Differences ...
==== //depot/projects/hammer/sys/x86_64/x86_64/trap.c#17 (text+ko) ====
@@ -478,25 +478,6 @@
goto out;
}
/*
- * Ignore debug register trace traps due to
- * accesses in the user's address space, which
- * can happen under several conditions such as
- * if a user sets a watchpoint on a buffer and
- * then passes that buffer to a system call.
- * We still want to get TRCTRAPS for addresses
- * in kernel space because that is useful when
- * debugging the kernel.
- */
- /* XXX Giant */
- if (user_dbreg_trap()) {
- /*
- * Reset breakpoint bits because the
- * processor doesn't
- */
- load_dr6(rdr6() & 0xfffffff0);
- goto out;
- }
- /*
* FALLTHROUGH (TRCTRAP kernel mode, kernel address)
*/
case T_BPTFLT:
More information about the p4-projects
mailing list