Merge from p4: minor formatting nits.
This commit is contained in:
parent
ea5c1281b0
commit
f5f4fa6dba
@ -277,11 +277,11 @@ undefinedinstruction(trapframe_t *frame)
|
|||||||
if ((fault_code & FAULT_USER) == 0) {
|
if ((fault_code & FAULT_USER) == 0) {
|
||||||
if (fault_instruction == KERNEL_BREAKPOINT) {
|
if (fault_instruction == KERNEL_BREAKPOINT) {
|
||||||
#ifdef KDB
|
#ifdef KDB
|
||||||
kdb_trap(T_BREAKPOINT, 0, frame);
|
kdb_trap(T_BREAKPOINT, 0, frame);
|
||||||
#else
|
#else
|
||||||
printf("No debugger in kernel.\n");
|
printf("No debugger in kernel.\n");
|
||||||
#endif
|
#endif
|
||||||
return;
|
return;
|
||||||
} else
|
} else
|
||||||
panic("Undefined instruction in kernel.\n");
|
panic("Undefined instruction in kernel.\n");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user