Pass the symbol table size, like a.out.
This commit is contained in:
parent
2d7f8f3343
commit
7fa243e59e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: machdep.c,v 1.156 1998/11/20 03:58:23 ross Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.157 1998/12/04 20:22:36 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -82,7 +82,7 @@
|
|||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.156 1998/11/20 03:58:23 ross Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.157 1998/12/04 20:22:36 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -901,7 +901,7 @@ nobootinfo:
|
|||
*/
|
||||
#ifdef DDB
|
||||
db_machine_init();
|
||||
ddb_init(ksym_start, ksym_end);
|
||||
ddb_init((int)(ksym_end - ksym_start), ksym_start, ksym_end);
|
||||
if (boothowto & RB_KDB)
|
||||
Debugger();
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: machdep.c,v 1.28 1998/11/18 09:05:18 sakamoto Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.29 1998/12/04 20:22:37 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
|
@ -349,7 +349,7 @@ initppc(startkernel, endkernel, args, btinfo)
|
|||
pmap_bootstrap(startkernel, endkernel);
|
||||
|
||||
#ifdef DDB
|
||||
ddb_init(startsym, endsym);
|
||||
ddb_init((int)(endsym - startsym), startsym, endsym);
|
||||
#endif
|
||||
#if NIPKDB > 0
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: machdep.c,v 1.22 1998/10/19 22:09:20 tron Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.23 1998/12/04 20:22:37 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
|
@ -318,7 +318,7 @@ initppc(startkernel, endkernel, args)
|
|||
}
|
||||
|
||||
#ifdef DDB
|
||||
/* ddb_init(startsym, endsym); */
|
||||
/* ddb_init((int)(endsym - startsym), startsym, endsym); */
|
||||
#endif
|
||||
#if NIPKDB > 0
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: machdep.c,v 1.30 1998/10/19 22:09:19 tron Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.31 1998/12/04 20:22:37 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
|
@ -271,7 +271,7 @@ initppc(startkernel, endkernel, args)
|
|||
}
|
||||
|
||||
#ifdef DDB
|
||||
/* ddb_init(startsym, endsym); */
|
||||
/* ddb_init((int)(endsym - startsym), startsym, endsym); */
|
||||
#endif
|
||||
#if NIPKDB > 0
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: autoconf.c,v 1.9 1998/10/06 18:58:09 thorpej Exp $ */
|
||||
/* $NetBSD: autoconf.c,v 1.10 1998/12/04 20:22:37 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996
|
||||
|
@ -213,7 +213,7 @@ bootstrap(nctx)
|
|||
#ifdef DDB
|
||||
db_machine_init();
|
||||
#ifdef DB_ELF_SYMBOLS
|
||||
ddb_init(ssym, esym); /* No symbols as yet */
|
||||
ddb_init((int)(esym - ssym), ssym, esym); /* No symbols as yet */
|
||||
#else
|
||||
ddb_init();
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue