Dump DDB_* and SYMTAB_SPACE options to opt_ddbparam.h rather than opt_ddb.h.
These options are used in limited files but #include "opt_ddb.h" are everywhere, and changing them caused almost full recompilation.
This commit is contained in:
parent
af5c630516
commit
94b2e6e61d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: footbridge_com.c,v 1.10 2002/11/03 21:43:30 chris Exp $ */
|
||||
/* $NetBSD: footbridge_com.c,v 1.11 2002/11/04 06:24:38 itohy Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 Mark Brinicombe
|
||||
|
@ -36,6 +36,7 @@
|
|||
*/
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_ddbparam.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -601,7 +602,7 @@ fcom_rxintr(arg)
|
|||
break;
|
||||
byte = bus_space_read_4(iot, ioh, UART_DATA);
|
||||
status = bus_space_read_4(iot, ioh, UART_RX_STAT);
|
||||
#if DDB_KEYCODE > 0
|
||||
#if defined(DDB) && DDB_KEYCODE > 0
|
||||
/*
|
||||
* Temporary hack so that I can force the kernel into
|
||||
* the debugger via the serial port
|
||||
|
@ -799,7 +800,7 @@ fcomcngetc(dev)
|
|||
c = bus_space_read_4(iot, ioh, UART_DATA);
|
||||
stat = bus_space_read_4(iot, ioh, UART_RX_STAT);
|
||||
(void)splx(s);
|
||||
#if DDB_KEYCODE > 0
|
||||
#if defined(DDB) && DDB_KEYCODE > 0
|
||||
/*
|
||||
* Temporary hack so that I can force the kernel into
|
||||
* the debugger via the serial port
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sa11x0_com.c,v 1.12 2002/10/23 09:10:47 jdolecek Exp $ */
|
||||
/* $NetBSD: sa11x0_com.c,v 1.13 2002/11/04 06:24:38 itohy Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -76,6 +76,7 @@
|
|||
|
||||
#include "opt_com.h"
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_ddbparam.h"
|
||||
#include "opt_kgdb.h"
|
||||
|
||||
#include "rnd.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: locore.s,v 1.270 2002/11/02 07:41:30 yamt Exp $ */
|
||||
/* $NetBSD: locore.s,v 1.271 2002/11/04 06:24:39 itohy Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
|
||||
|
@ -76,6 +76,7 @@
|
|||
|
||||
#include "opt_cputype.h"
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_ddbparam.h"
|
||||
#include "opt_ipkdb.h"
|
||||
#include "opt_vm86.h"
|
||||
#include "opt_user_ldt.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: machdep.c,v 1.281 2002/10/28 00:55:15 chs Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.282 2002/11/04 06:24:39 itohy Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -78,6 +78,7 @@
|
|||
|
||||
#include "opt_adb.h"
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_ddbparam.h"
|
||||
#include "opt_kgdb.h"
|
||||
#include "opt_compat_netbsd.h"
|
||||
#include "akbd.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: locore.S,v 1.9 2002/07/14 12:20:45 fvdl Exp $ */
|
||||
/* $NetBSD: locore.S,v 1.10 2002/11/04 06:24:40 itohy Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright-o-rama!
|
||||
|
@ -115,6 +115,7 @@
|
|||
*/
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_ddbparam.h"
|
||||
#include "opt_user_ldt.h"
|
||||
#include "opt_multiprocessor.h"
|
||||
#include "opt_lockdebug.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: files,v 1.576 2002/10/29 12:31:21 blymn Exp $
|
||||
# $NetBSD: files,v 1.577 2002/11/04 06:24:41 itohy Exp $
|
||||
|
||||
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
|
||||
|
||||
|
@ -140,7 +140,7 @@ defflag opt_mbr.h COMPAT_386BSD_MBRPART
|
|||
# debugging options
|
||||
#
|
||||
defflag opt_ddb.h DDB
|
||||
defparam opt_ddb.h DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE
|
||||
defparam opt_ddbparam.h DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE
|
||||
DDB_BREAK_CHAR DDB_KEYCODE SYMTAB_SPACE
|
||||
defflag opt_kgdb.h KGDB
|
||||
defparam opt_kgdb.h KGDB_DEV KGDB_DEVNAME
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: db_input.c,v 1.18 2002/11/02 07:20:42 perry Exp $ */
|
||||
/* $NetBSD: db_input.c,v 1.19 2002/11/04 06:24:41 itohy Exp $ */
|
||||
|
||||
/*
|
||||
* Mach Operating System
|
||||
|
@ -30,9 +30,9 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: db_input.c,v 1.18 2002/11/02 07:20:42 perry Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: db_input.c,v 1.19 2002/11/04 06:24:41 itohy Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_ddbparam.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/proc.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: db_sym.c,v 1.31 2002/02/15 07:33:52 simonb Exp $ */
|
||||
/* $NetBSD: db_sym.c,v 1.32 2002/11/04 06:24:41 itohy Exp $ */
|
||||
|
||||
/*
|
||||
* Mach Operating System
|
||||
|
@ -27,9 +27,9 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: db_sym.c,v 1.31 2002/02/15 07:33:52 simonb Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: db_sym.c,v 1.32 2002/11/04 06:24:41 itohy Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_ddbparam.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/proc.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: db_variables.c,v 1.24 2002/02/15 07:33:53 simonb Exp $ */
|
||||
/* $NetBSD: db_variables.c,v 1.25 2002/11/04 06:24:41 itohy Exp $ */
|
||||
|
||||
/*
|
||||
* Mach Operating System
|
||||
|
@ -27,9 +27,9 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: db_variables.c,v 1.24 2002/02/15 07:33:53 simonb Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: db_variables.c,v 1.25 2002/11/04 06:24:41 itohy Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_ddbparam.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/proc.h>
|
||||
|
|
Loading…
Reference in New Issue