Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm26/arm26 Make cpu_coredump return ENOSYS rather ...



details:   https://anonhg.NetBSD.org/src/rev/d9504c4c3693
branches:  trunk
changeset: 493914:d9504c4c3693
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Mon Jun 26 22:36:33 2000 +0000

description:
Make cpu_coredump return ENOSYS rather than panicking.

diffstat:

 sys/arch/arm26/arm26/stubs.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f7e5e6e00248 -r d9504c4c3693 sys/arch/arm26/arm26/stubs.c
--- a/sys/arch/arm26/arm26/stubs.c      Mon Jun 26 21:55:25 2000 +0000
+++ b/sys/arch/arm26/arm26/stubs.c      Mon Jun 26 22:36:33 2000 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: stubs.c,v 1.2 2000/05/13 17:57:15 bjh21 Exp $ */
+/* $NetBSD: stubs.c,v 1.3 2000/06/26 22:36:33 bjh21 Exp $ */
 /*
  * stubs.c -- functions I haven't written yet
  */
 
 #include <sys/param.h>
 
-__RCSID("$NetBSD: stubs.c,v 1.2 2000/05/13 17:57:15 bjh21 Exp $");
+__RCSID("$NetBSD: stubs.c,v 1.3 2000/06/26 22:36:33 bjh21 Exp $");
 
 #include <sys/kernel.h>
 #include <sys/systm.h>
@@ -107,7 +107,8 @@
        struct ucred *cred;
        struct core *chdr;
 {
-       panic("cpu_coredump not implemented");
+       printf("FIXME: cpu_coredump() not implemented.\n");
+       return ENOSYS;
 }
 
 int



Home | Main Index | Thread Index | Old Index