diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-07-07 18:37:49 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-07-07 18:37:49 +0000 |
commit | 9ea910feca0f2283b30c2b0e6d4db52398d77391 (patch) | |
tree | fbfb4f6b8bf6bcced1f2356bb62217ad00ba1e0b /sys/arch | |
parent | 9b2eb7308ce791d99e06e3fe85e7759d099f6ea5 (diff) |
Don't panic if uvm_fault fails, but enter ddb such that we can inspect the
state that caused the fault.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa64/hppa64/trap.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/hppa64/hppa64/trap.c b/sys/arch/hppa64/hppa64/trap.c index 262f942f9db..d3b93f6d196 100644 --- a/sys/arch/hppa64/hppa64/trap.c +++ b/sys/arch/hppa64/hppa64/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.19 2011/04/16 22:02:32 kettenis Exp $ */ +/* $OpenBSD: trap.c,v 1.20 2011/07/07 18:37:48 kettenis Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -471,9 +471,10 @@ printf("here\n"); frame->tf_iir = 0; #endif } else { - panic("trap: " - "uvm_fault(%p, %lx, %d, %d): %d", + printf("trap: " + "uvm_fault(%p, %lx, %d, %d): %d\n", map, va, fault, vftype, ret); + goto dead_end; } } } |