Fix my own style bugs (use of spaces instead of tabs for indentation).
This is a style-only change.
This commit is contained in:
parent
f025848fad
commit
8e2ca1725a
@ -522,24 +522,24 @@ trap(frame)
|
||||
frame.tf_eflags &= ~PSL_T;
|
||||
return;
|
||||
}
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
if (user_dbreg_trap()) {
|
||||
/*
|
||||
* Reset breakpoint bits because the
|
||||
* processor doesn't
|
||||
*/
|
||||
load_dr6(rdr6() & 0xfffffff0);
|
||||
return;
|
||||
}
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
if (user_dbreg_trap()) {
|
||||
/*
|
||||
* Reset breakpoint bits because the
|
||||
* processor doesn't
|
||||
*/
|
||||
load_dr6(rdr6() & 0xfffffff0);
|
||||
return;
|
||||
}
|
||||
/*
|
||||
* Fall through (TRCTRAP kernel mode, kernel address)
|
||||
*/
|
||||
|
@ -522,24 +522,24 @@ trap(frame)
|
||||
frame.tf_eflags &= ~PSL_T;
|
||||
return;
|
||||
}
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
if (user_dbreg_trap()) {
|
||||
/*
|
||||
* Reset breakpoint bits because the
|
||||
* processor doesn't
|
||||
*/
|
||||
load_dr6(rdr6() & 0xfffffff0);
|
||||
return;
|
||||
}
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
if (user_dbreg_trap()) {
|
||||
/*
|
||||
* Reset breakpoint bits because the
|
||||
* processor doesn't
|
||||
*/
|
||||
load_dr6(rdr6() & 0xfffffff0);
|
||||
return;
|
||||
}
|
||||
/*
|
||||
* Fall through (TRCTRAP kernel mode, kernel address)
|
||||
*/
|
||||
|
@ -522,24 +522,24 @@ trap(frame)
|
||||
frame.tf_eflags &= ~PSL_T;
|
||||
return;
|
||||
}
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
if (user_dbreg_trap()) {
|
||||
/*
|
||||
* Reset breakpoint bits because the
|
||||
* processor doesn't
|
||||
*/
|
||||
load_dr6(rdr6() & 0xfffffff0);
|
||||
return;
|
||||
}
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
if (user_dbreg_trap()) {
|
||||
/*
|
||||
* Reset breakpoint bits because the
|
||||
* processor doesn't
|
||||
*/
|
||||
load_dr6(rdr6() & 0xfffffff0);
|
||||
return;
|
||||
}
|
||||
/*
|
||||
* Fall through (TRCTRAP kernel mode, kernel address)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user