diff options
author | peter <peter@FreeBSD.org> | 2003-10-28 01:06:37 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-10-28 01:06:37 +0000 |
commit | 6af25febc6da91f86a273cb168e61ec4246b0ba8 (patch) | |
tree | 1578d541aa04e600283a762cfda00a6d16eff2de | |
parent | 23e5537e11ff51eae18842960e3440f3192d66b7 (diff) | |
download | FreeBSD-src-6af25febc6da91f86a273cb168e61ec4246b0ba8.zip FreeBSD-src-6af25febc6da91f86a273cb168e61ec4246b0ba8.tar.gz |
Oops. Remove some rather noisy debug printfs that slipped in there
somehow.
-rw-r--r-- | sys/amd64/amd64/trap.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 612a692..024a9d5 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -258,9 +258,6 @@ trap(frame) default: ucode = code + BUS_SEGM_FAULT ; i = SIGBUS; -printf("trap %d: pid %d err %p eva %p, rip %p, rax %p, rbx %p, rcx %p, rdx %p, rsp %p, rbp %p, rsi %p, rdi %p\n", type, p->p_pid, (void *)frame.tf_err, -(void *)frame.tf_addr, (void *)frame.tf_rip, (void *)frame.tf_rax, (void *)frame.tf_rbx, (void *)frame.tf_rcx, (void *)frame.tf_rdx, (void *)frame.tf_rsp, (void *)frame.tf_rbp, (void *)frame.tf_rsi, (void *)frame.tf_rdi); - break; case T_PAGEFLT: /* page fault */ @@ -545,12 +542,6 @@ nogo: return (-1); } -printf("trap_pfault: pid %d %s %s %s eva %p, rip %p, rax %p, rbx %p, rcx %p, rdx %p, rsp %p, rbp %p, rsi %p, rdi %p\n", p->p_pid, - frame->tf_err & PGEX_U ? "user" : "supervisor", - frame->tf_err & PGEX_W ? "write" : "read", - frame->tf_err & PGEX_P ? "protection violation" : "page not present", -(void *)eva, (void *)frame->tf_rip, (void *)frame->tf_rax, (void *)frame->tf_rbx, (void *)frame->tf_rcx, (void *)frame->tf_rdx, (void *)frame->tf_rsp, (void *)frame->tf_rbp, (void *)frame->tf_rsi, (void *)frame->tf_rdi); - return((rv == KERN_PROTECTION_FAILURE) ? SIGBUS : SIGSEGV); } |