Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun3/sun3 Make sure Debugger is declared (even if n...
details: https://anonhg.NetBSD.org/src/rev/08a516401f5f
branches: trunk
changeset: 471718:08a516401f5f
user: gwr <gwr%NetBSD.org@localhost>
date: Fri Apr 09 04:01:09 1999 +0000
description:
Make sure Debugger is declared (even if no DDB).
The sun3 has one regardless of the DDB option.
Fixes kernel compile warning/errors.
diffstat:
sys/arch/sun3/sun3/machdep.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 4418ebe26057 -r 08a516401f5f sys/arch/sun3/sun3/machdep.h
--- a/sys/arch/sun3/sun3/machdep.h Fri Apr 09 02:47:03 1999 +0000
+++ b/sys/arch/sun3/sun3/machdep.h Fri Apr 09 04:01:09 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.h,v 1.19 1999/02/27 19:31:58 is Exp $ */
+/* $NetBSD: machdep.h,v 1.20 1999/04/09 04:01:09 gwr Exp $ */
/*
* Copyright (c) 1994 Gordon W. Ross
@@ -70,6 +70,13 @@
extern vm_offset_t vmmap; /* XXX - See mem.c */
+/* Note: This arch ALWAYS has a Debugger() function! */
+/* Do not assume this conditional is backwards! */
+#if defined(DDB) == 0 /* No DDB! */
+/* In this case, our "Debugger" is the PROM. */
+extern void Debugger __P((void));
+#endif /* !DDB */
+
/* Cache flush functions. */
void DCIA __P((void));
void DCIU __P((void));
Home |
Main Index |
Thread Index |
Old Index