summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/NOTES8
-rw-r--r--sys/conf/files1
-rw-r--r--sys/conf/options1
3 files changed, 10 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index c5f1f7f..06f4ed3 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -186,6 +186,14 @@ options SYSVMSG
options DDB
#
+# Use direct symbol lookup routines for ddb instead of the kernel linker
+# ones, so that symbols (mostly) work before the kernel linker has been
+# initialized. This is not the default because it breaks ddb's lookup of
+# symbols in loaded modules.
+#
+#!options DDB_NOKLDSYM
+
+#
# Don't drop into DDB for a panic. Intended for unattended operation
# where you may want to drop to DDB from the console, but still want
# the machine to recover from a panic
diff --git a/sys/conf/files b/sys/conf/files
index 605d654..e7f520a 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -177,6 +177,7 @@ crypto/sha2/sha2.c optional ipsec
ddb/db_access.c optional ddb
ddb/db_break.c optional ddb
ddb/db_command.c optional ddb
+ddb/db_elf.c optional ddb
ddb/db_examine.c optional ddb
ddb/db_expr.c optional ddb
ddb/db_input.c optional ddb
diff --git a/sys/conf/options b/sys/conf/options
index 55eeecc..dc617f3 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -62,6 +62,7 @@ COMPAT_SUNOS opt_compat.h
COMPILING_LINT opt_global.h
CY_PCI_FASTINTR
DDB
+DDB_NOKLDSYM opt_ddb.h
DDB_UNATTENDED opt_ddb.h
GDB_REMOTE_CHAT opt_ddb.h
NODEVFS opt_devfs.h
OpenPOWER on IntegriCloud