With the introduction of ddb.dumpstack which is enabled by default, we no longer

need to explicitly set DDB_COMMANDONENTER to run a trace.
This commit is contained in:
sevan 2018-02-17 01:31:01 +00:00
parent fdcb4b3a84
commit f32d105ac2
7 changed files with 18 additions and 18 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: XEN3_DOM0,v 1.148 2018/02/05 11:19:55 bouyer Exp $
# $NetBSD: XEN3_DOM0,v 1.149 2018/02/17 01:31:01 sevan Exp $
include "arch/amd64/conf/std.xen"
@ -10,7 +10,7 @@ options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#options UVMHIST_PRINT
#options SYSCALL_DEBUG
#ident "XEN3_DOM0-$Revision: 1.148 $"
#ident "XEN3_DOM0-$Revision: 1.149 $"
maxusers 32 # estimated number of users
@ -63,7 +63,7 @@ options DDB_HISTORY_SIZE=512 # enable history editing in DDB
#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
#makeoptions DEBUG="-g" # compile full symbol table
makeoptions COPTS="-O2 -fno-omit-frame-pointer"
options DDB_COMMANDONENTER="trace;show registers"
options DDB_COMMANDONENTER="show registers"
# Compatibility options
include "conf/compat_netbsd15.config"

View File

@ -1,4 +1,4 @@
# $NetBSD: XEN3_DOMU,v 1.83 2018/01/23 14:47:53 sevan Exp $
# $NetBSD: XEN3_DOMU,v 1.84 2018/02/17 01:31:01 sevan Exp $
include "arch/amd64/conf/std.xen"
@ -10,7 +10,7 @@ options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#options UVMHIST_PRINT
#options SYSCALL_DEBUG
#ident "XEN3_DOMU-$Revision: 1.83 $"
#ident "XEN3_DOMU-$Revision: 1.84 $"
maxusers 32 # estimated number of users
@ -55,7 +55,7 @@ options DDB_HISTORY_SIZE=512 # enable history editing in DDB
#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
#makeoptions DEBUG="-g" # compile full symbol table
makeoptions COPTS="-O2 -fno-omit-frame-pointer"
options DDB_COMMANDONENTER="trace;show registers"
options DDB_COMMANDONENTER="show registers"
# Compatibility options
include "conf/compat_netbsd15.config"

View File

@ -1,4 +1,4 @@
# $NetBSD: MARVELL_NAS,v 1.28 2017/09/14 07:58:40 mrg Exp $
# $NetBSD: MARVELL_NAS,v 1.29 2018/02/17 01:31:02 sevan Exp $
#
# This configuration supports for generically Marvell NAS.
@ -241,7 +241,7 @@ options BUFQ_PRIOCSCAN
options DDB # in-kernel debugger
options DDB_ONPANIC=0
options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
options DDB_COMMANDONENTER="bt"
#options DDB_COMMANDONENTER="bt"
#options KGDB
#options SYSCALL_DEBUG

View File

@ -1,4 +1,4 @@
# $NetBSD: XEN3_DOM0,v 1.126 2018/02/05 11:19:55 bouyer Exp $
# $NetBSD: XEN3_DOM0,v 1.127 2018/02/17 01:34:45 sevan Exp $
#
# XEN3_0: Xen 3.0 domain0 kernel
@ -75,7 +75,7 @@ options DDB_HISTORY_SIZE=512 # enable history editing in DDB
#options KGDB # remote debugger
#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
#makeoptions DEBUG="-g" # compile full symbol table
options DDB_COMMANDONENTER="trace;show registers"
options DDB_COMMANDONENTER="show registers"
# Compatibility options
include "conf/compat_netbsd09.config"

View File

@ -1,4 +1,4 @@
# $NetBSD: XEN3_DOMU,v 1.88 2018/01/23 15:08:12 sevan Exp $
# $NetBSD: XEN3_DOMU,v 1.89 2018/02/17 01:34:45 sevan Exp $
include "arch/xen/conf/std.xen"
@ -59,7 +59,7 @@ options DDB_HISTORY_SIZE=512 # enable history editing in DDB
#options KGDB # remote debugger
#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
#makeoptions DEBUG="-g" # compile full symbol table
options DDB_COMMANDONENTER="trace;show registers"
options DDB_COMMANDONENTER="show registers"
# Compatibility options
include "conf/compat_netbsd09.config"

View File

@ -1,4 +1,4 @@
# $NetBSD: GENERIC,v 1.339 2018/01/23 14:47:55 sevan Exp $
# $NetBSD: GENERIC,v 1.340 2018/02/17 01:31:02 sevan Exp $
#
# GENERIC machine description file
#
@ -22,7 +22,7 @@ include "arch/macppc/conf/std.macppc"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#ident "GENERIC-$Revision: 1.339 $"
#ident "GENERIC-$Revision: 1.340 $"
maxusers 32
@ -59,7 +59,7 @@ options DDB # in-kernel debugger
#options DDB_ONPANIC=0 # don't go into ddb on panic.
options DDB_HISTORY_SIZE=512 # enable history editing in DDB
#options TRAP_PANICWAIT
options DDB_COMMANDONENTER="bt"
#options DDB_COMMANDONENTER="bt"
#makeoptions DEBUG="-g" # compile full symbol table

View File

@ -1,4 +1,4 @@
# $NetBSD: GENERIC_601,v 1.16 2018/01/23 14:47:55 sevan Exp $
# $NetBSD: GENERIC_601,v 1.17 2018/02/17 01:31:02 sevan Exp $
#
# GENERIC machine description file
#
@ -28,7 +28,7 @@ include "arch/macppc/conf/std.macppc.601"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
ident "GENERIC-$Revision: 1.16 $"
ident "GENERIC-$Revision: 1.17 $"
maxusers 32
@ -63,7 +63,7 @@ options DDB # in-kernel debugger
#options DDB_ONPANIC=0 # don't go into ddb on panic.
options DDB_HISTORY_SIZE=512 # enable history editing in DDB
#options TRAP_PANICWAIT
options DDB_COMMANDONENTER="bt"
#options DDB_COMMANDONENTER="bt"
#makeoptions DEBUG="-g" # compile full symbol table