Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/arch/arm/arm32 Pull up revision 1.23 (requested by ...
details: https://anonhg.NetBSD.org/src/rev/82a330120c2d
branches: netbsd-1-6
changeset: 529127:82a330120c2d
user: lukem <lukem%NetBSD.org@localhost>
date: Tue Oct 01 23:50:15 2002 +0000
description:
Pull up revision 1.23 (requested by nathanw in ticket #885):
In the fault handler, record growth of the stack, so that core dumps
actually contain the entire stack.
diffstat:
sys/arch/arm/arm32/fault.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r a080cc036603 -r 82a330120c2d sys/arch/arm/arm32/fault.c
--- a/sys/arch/arm/arm32/fault.c Tue Oct 01 23:46:58 2002 +0000
+++ b/sys/arch/arm/arm32/fault.c Tue Oct 01 23:50:15 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fault.c,v 1.18 2002/04/12 18:50:31 thorpej Exp $ */
+/* $NetBSD: fault.c,v 1.18.4.1 2002/10/01 23:50:15 lukem Exp $ */
/*
* Copyright (c) 1994-1997 Mark Brinicombe.
@@ -511,9 +511,11 @@
pcb->pcb_onfault = NULL;
rv = uvm_fault(map, va, 0, ftype);
pcb->pcb_onfault = onfault;
- if (rv == 0)
+ if (rv == 0) {
+ if (user != 0) /* Record any stack growth... */
+ uvm_grow(p, trunc_page(va));
goto out;
-
+ }
if (user == 0) {
if (pcb->pcb_onfault)
goto copyfault;
Home |
Main Index |
Thread Index |
Old Index