diff options
author | obrien <obrien@FreeBSD.org> | 2001-04-15 19:37:28 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-04-15 19:37:28 +0000 |
commit | c7790304defd50842d2d5c8eb946fef9393baec4 (patch) | |
tree | 9d7e00ac800f37f145796348e7b61c7f99d498fc | |
parent | 406ae6ca2cb3f18c21e5b9dc566de193754d3cbf (diff) | |
download | FreeBSD-src-c7790304defd50842d2d5c8eb946fef9393baec4.zip FreeBSD-src-c7790304defd50842d2d5c8eb946fef9393baec4.tar.gz |
Turn on kernel debugging support (DDB, INVARIANTS, INVARIANT_SUPPORT, WITNESS)
by default while SMPng is still being developed.
Submitted by: jhb
-rw-r--r-- | release/Makefile | 1 | ||||
-rwxr-xr-x | release/alpha/dokern.sh | 15 | ||||
-rwxr-xr-x | release/amd64/dokern.sh | 15 | ||||
-rwxr-xr-x | release/i386/dokern.sh | 15 | ||||
-rwxr-xr-x | release/pc98/dokern.sh | 15 | ||||
-rwxr-xr-x | release/scripts/dokern.sh | 15 | ||||
-rw-r--r-- | sys/alpha/conf/GENERIC | 8 | ||||
-rw-r--r-- | sys/alpha/conf/NOTES | 8 | ||||
-rw-r--r-- | sys/amd64/conf/GENERIC | 8 | ||||
-rw-r--r-- | sys/i386/conf/GENERIC | 8 | ||||
-rw-r--r-- | sys/ia64/conf/GENERIC | 8 | ||||
-rw-r--r-- | sys/pc98/conf/GENERIC | 8 |
12 files changed, 118 insertions, 6 deletions
diff --git a/release/Makefile b/release/Makefile index 18644b0..c15e13e 100644 --- a/release/Makefile +++ b/release/Makefile @@ -847,6 +847,7 @@ doSTDKERNEL: make KERNEL=${KERNEL} DESTDIR=${RD}/kernels install && \ [ -r ${.CURDIR}/../sys/${MACHINE}/conf/${KERNEL}.hints ] && \ cp ${.CURDIR}/../sys/${MACHINE}/conf/${KERNEL}.hints ${RD}/kernels + make KERNEL=${kernel} DESTDIR=${RD}/kernels kernel-reinstall.debug # # --==## Put a filesystem into a BOOTMFS kernel ##==-- diff --git a/release/alpha/dokern.sh b/release/alpha/dokern.sh index 955663c..572ad5d 100755 --- a/release/alpha/dokern.sh +++ b/release/alpha/dokern.sh @@ -54,6 +54,11 @@ sed -e '/ pci$/d' \ -e '/SOFTUPDATES/d' \ -e '/MFS/d' \ -e '/NFS_ROOT/d' \ + -e '/DEBUG/d' \ + -e '/DDB/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/WITNESS/d' \ -e '/pcm/d' \ -e '/atapist/d' \ -e '/ugen/d' \ @@ -82,6 +87,11 @@ sed -e '/pty/d' \ -e '/SOFTUPDATES/d' \ -e '/MFS/d' \ -e '/NFS_ROOT/d' \ + -e '/DEBUG/d' \ + -e '/DDB/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/WITNESS/d' \ -e '/ ncr/d' \ -e '/pcm/d' \ -e '/atapist/d' \ @@ -118,6 +128,11 @@ sed \ -e '/SYSV/d' \ -e '/P1003_1B/d' \ -e '/_KPOSIX_PRIORITY_SCHEDULING/d' \ + -e '/DEBUG/d' \ + -e '/DDB/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/WITNESS/d' \ -e '/atapist/d' \ -e '/ ncr/d' \ -e '/pass/d' \ diff --git a/release/amd64/dokern.sh b/release/amd64/dokern.sh index 955663c..572ad5d 100755 --- a/release/amd64/dokern.sh +++ b/release/amd64/dokern.sh @@ -54,6 +54,11 @@ sed -e '/ pci$/d' \ -e '/SOFTUPDATES/d' \ -e '/MFS/d' \ -e '/NFS_ROOT/d' \ + -e '/DEBUG/d' \ + -e '/DDB/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/WITNESS/d' \ -e '/pcm/d' \ -e '/atapist/d' \ -e '/ugen/d' \ @@ -82,6 +87,11 @@ sed -e '/pty/d' \ -e '/SOFTUPDATES/d' \ -e '/MFS/d' \ -e '/NFS_ROOT/d' \ + -e '/DEBUG/d' \ + -e '/DDB/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/WITNESS/d' \ -e '/ ncr/d' \ -e '/pcm/d' \ -e '/atapist/d' \ @@ -118,6 +128,11 @@ sed \ -e '/SYSV/d' \ -e '/P1003_1B/d' \ -e '/_KPOSIX_PRIORITY_SCHEDULING/d' \ + -e '/DEBUG/d' \ + -e '/DDB/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/WITNESS/d' \ -e '/atapist/d' \ -e '/ ncr/d' \ -e '/pass/d' \ diff --git a/release/i386/dokern.sh b/release/i386/dokern.sh index 955663c..572ad5d 100755 --- a/release/i386/dokern.sh +++ b/release/i386/dokern.sh @@ -54,6 +54,11 @@ sed -e '/ pci$/d' \ -e '/SOFTUPDATES/d' \ -e '/MFS/d' \ -e '/NFS_ROOT/d' \ + -e '/DEBUG/d' \ + -e '/DDB/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/WITNESS/d' \ -e '/pcm/d' \ -e '/atapist/d' \ -e '/ugen/d' \ @@ -82,6 +87,11 @@ sed -e '/pty/d' \ -e '/SOFTUPDATES/d' \ -e '/MFS/d' \ -e '/NFS_ROOT/d' \ + -e '/DEBUG/d' \ + -e '/DDB/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/WITNESS/d' \ -e '/ ncr/d' \ -e '/pcm/d' \ -e '/atapist/d' \ @@ -118,6 +128,11 @@ sed \ -e '/SYSV/d' \ -e '/P1003_1B/d' \ -e '/_KPOSIX_PRIORITY_SCHEDULING/d' \ + -e '/DEBUG/d' \ + -e '/DDB/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/WITNESS/d' \ -e '/atapist/d' \ -e '/ ncr/d' \ -e '/pass/d' \ diff --git a/release/pc98/dokern.sh b/release/pc98/dokern.sh index 955663c..572ad5d 100755 --- a/release/pc98/dokern.sh +++ b/release/pc98/dokern.sh @@ -54,6 +54,11 @@ sed -e '/ pci$/d' \ -e '/SOFTUPDATES/d' \ -e '/MFS/d' \ -e '/NFS_ROOT/d' \ + -e '/DEBUG/d' \ + -e '/DDB/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/WITNESS/d' \ -e '/pcm/d' \ -e '/atapist/d' \ -e '/ugen/d' \ @@ -82,6 +87,11 @@ sed -e '/pty/d' \ -e '/SOFTUPDATES/d' \ -e '/MFS/d' \ -e '/NFS_ROOT/d' \ + -e '/DEBUG/d' \ + -e '/DDB/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/WITNESS/d' \ -e '/ ncr/d' \ -e '/pcm/d' \ -e '/atapist/d' \ @@ -118,6 +128,11 @@ sed \ -e '/SYSV/d' \ -e '/P1003_1B/d' \ -e '/_KPOSIX_PRIORITY_SCHEDULING/d' \ + -e '/DEBUG/d' \ + -e '/DDB/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/WITNESS/d' \ -e '/atapist/d' \ -e '/ ncr/d' \ -e '/pass/d' \ diff --git a/release/scripts/dokern.sh b/release/scripts/dokern.sh index 955663c..572ad5d 100755 --- a/release/scripts/dokern.sh +++ b/release/scripts/dokern.sh @@ -54,6 +54,11 @@ sed -e '/ pci$/d' \ -e '/SOFTUPDATES/d' \ -e '/MFS/d' \ -e '/NFS_ROOT/d' \ + -e '/DEBUG/d' \ + -e '/DDB/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/WITNESS/d' \ -e '/pcm/d' \ -e '/atapist/d' \ -e '/ugen/d' \ @@ -82,6 +87,11 @@ sed -e '/pty/d' \ -e '/SOFTUPDATES/d' \ -e '/MFS/d' \ -e '/NFS_ROOT/d' \ + -e '/DEBUG/d' \ + -e '/DDB/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/WITNESS/d' \ -e '/ ncr/d' \ -e '/pcm/d' \ -e '/atapist/d' \ @@ -118,6 +128,11 @@ sed \ -e '/SYSV/d' \ -e '/P1003_1B/d' \ -e '/_KPOSIX_PRIORITY_SCHEDULING/d' \ + -e '/DEBUG/d' \ + -e '/DDB/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/WITNESS/d' \ -e '/atapist/d' \ -e '/ ncr/d' \ -e '/pass/d' \ diff --git a/sys/alpha/conf/GENERIC b/sys/alpha/conf/GENERIC index 6340bb2..21edd45 100644 --- a/sys/alpha/conf/GENERIC +++ b/sys/alpha/conf/GENERIC @@ -30,7 +30,7 @@ maxusers 32 #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" -#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols +makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols # Platforms supported options API_UP1000 # UP1000, UP1100 (Nautilus) @@ -70,6 +70,12 @@ options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extentions options _KPOSIX_PRIORITY_SCHEDULING +# Debugging for use in -current +options DDB +options INVARIANTS +options INVARIANT_SUPPORT +options WITNESS + # Standard busses device isa device pci diff --git a/sys/alpha/conf/NOTES b/sys/alpha/conf/NOTES index 6340bb2..21edd45 100644 --- a/sys/alpha/conf/NOTES +++ b/sys/alpha/conf/NOTES @@ -30,7 +30,7 @@ maxusers 32 #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" -#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols +makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols # Platforms supported options API_UP1000 # UP1000, UP1100 (Nautilus) @@ -70,6 +70,12 @@ options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extentions options _KPOSIX_PRIORITY_SCHEDULING +# Debugging for use in -current +options DDB +options INVARIANTS +options INVARIANT_SUPPORT +options WITNESS + # Standard busses device isa device pci diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC index b612434..2dada59 100644 --- a/sys/amd64/conf/GENERIC +++ b/sys/amd64/conf/GENERIC @@ -27,7 +27,7 @@ maxusers 32 #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" #Default places to look for devices. -#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols +makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking @@ -55,6 +55,12 @@ options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV # install a CDEV entry in /dev +# Debugging for use in -current +options DDB +options INVARIANTS +options INVARIANT_SUPPORT +options WITNESS + # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O diff --git a/sys/i386/conf/GENERIC b/sys/i386/conf/GENERIC index b612434..2dada59 100644 --- a/sys/i386/conf/GENERIC +++ b/sys/i386/conf/GENERIC @@ -27,7 +27,7 @@ maxusers 32 #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" #Default places to look for devices. -#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols +makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking @@ -55,6 +55,12 @@ options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV # install a CDEV entry in /dev +# Debugging for use in -current +options DDB +options INVARIANTS +options INVARIANT_SUPPORT +options WITNESS + # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O diff --git a/sys/ia64/conf/GENERIC b/sys/ia64/conf/GENERIC index effabbc..9c6f5a0 100644 --- a/sys/ia64/conf/GENERIC +++ b/sys/ia64/conf/GENERIC @@ -29,7 +29,7 @@ maxusers 32 #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" -#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols +makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options INET #InterNETworking options INET6 #IPv6 communications protocols @@ -53,6 +53,12 @@ options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extentions options _KPOSIX_PRIORITY_SCHEDULING +# Debugging for use in -current +options DDB +options INVARIANTS +options INVARIANT_SUPPORT +options WITNESS + # Standard busses device isa device pci diff --git a/sys/pc98/conf/GENERIC b/sys/pc98/conf/GENERIC index 0df4da5..dd26cac 100644 --- a/sys/pc98/conf/GENERIC +++ b/sys/pc98/conf/GENERIC @@ -28,7 +28,7 @@ maxusers 32 #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" #Default places to look for devices. -#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols +makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options PC98 #PC98 options MATH_EMULATE #Support for x87 emulation @@ -60,6 +60,12 @@ options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV # install a CDEV entry in /dev +# Debugging for use in -current +options DDB +options INVARIANTS +options INVARIANT_SUPPORT +options WITNESS + # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O |