Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmppc/pmppc Make sure DDB is set up correctly when ...



details:   https://anonhg.NetBSD.org/src/rev/91cc405d342c
branches:  trunk
changeset: 541097:91cc405d342c
user:      augustss <augustss%NetBSD.org@localhost>
date:      Wed Jan 01 16:18:49 2003 +0000

description:
Make sure DDB is set up correctly when we have SYMTAB_SPACE.

diffstat:

 sys/arch/pmppc/pmppc/machdep.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 3c7f42168809 -r 91cc405d342c sys/arch/pmppc/pmppc/machdep.c
--- a/sys/arch/pmppc/pmppc/machdep.c    Wed Jan 01 16:18:03 2003 +0000
+++ b/sys/arch/pmppc/pmppc/machdep.c    Wed Jan 01 16:18:49 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.3 2002/09/25 22:21:17 thorpej Exp $      */
+/*     $NetBSD: machdep.c,v 1.4 2003/01/01 16:18:49 augustss Exp $     */
 
 /*
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -263,8 +263,12 @@
        pmap_bootstrap(startkernel, endkernel, NULL);
 
 #ifdef DDB
+#ifdef SYMTAB_SPACE
+       ddb_init(0, NULL, NULL);
+#else
        ddb_init((int)((u_int)endsym - (u_int)startsym), startsym, endsym);
 #endif
+#endif
 #ifdef IPKDB
        /*
         * Now trap to IPKDB



Home | Main Index | Thread Index | Old Index