ref: 02fef73b8f09679bcd230d002e748bd945541372
parent: 2a4f7a1eb1473067353494a426e6f0ae17a45a08
author: cinap_lenrek <[email protected]>
date: Sun Feb 2 04:39:58 EST 2014
pc64: dont dump registers for user process on pagefault error, was experiment
--- a/sys/src/9/pc64/trap.c
+++ b/sys/src/9/pc64/trap.c
@@ -655,8 +655,8 @@
up->insyscall = 1;
n = fault(addr, read);
if(n < 0){
- dumpregs(ureg);
if(!user){
+ dumpregs(ureg);
panic("fault: %#p", addr);
}
checkpages();