Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Add `pseudo-device ksyms' where `options DDB' is us...



details:   https://anonhg.NetBSD.org/src/rev/dfa831e42dc2
branches:  trunk
changeset: 340044:dfa831e42dc2
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Fri Aug 21 01:52:07 2015 +0000

description:
Add `pseudo-device ksyms' where `options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)

diffstat:

 sys/arch/acorn32/conf/INSTALL        |  5 +++--
 sys/arch/acorn32/conf/NC             |  3 ++-
 sys/arch/algor/conf/P4032            |  5 +++--
 sys/arch/algor/conf/P5064            |  5 +++--
 sys/arch/algor/conf/P6032            |  5 +++--
 sys/arch/alpha/conf/INSTALL          |  3 ++-
 sys/arch/alpha/conf/RAWHIDE          |  3 ++-
 sys/arch/amiga/conf/INSTALL          |  5 +++--
 sys/arch/amiga/conf/MDINSTALL        |  3 ++-
 sys/arch/arc/conf/ARCTIC             |  3 ++-
 sys/arch/arc/conf/M403               |  3 ++-
 sys/arch/arc/conf/MIMORI             |  3 ++-
 sys/arch/arc/conf/PICA               |  3 ++-
 sys/arch/arc/conf/RPC44              |  5 +++--
 sys/arch/cats/conf/INSTALL           |  3 ++-
 sys/arch/cobalt/conf/INSTALL         |  5 +++--
 sys/arch/emips/conf/RAMDISK          |  3 ++-
 sys/arch/evbarm/conf/DNS323          |  3 ++-
 sys/arch/evbarm/conf/GEMINI_SLAVE    |  1 +
 sys/arch/evbarm/conf/HAWK            |  3 ++-
 sys/arch/evbarm/conf/IMX23_OLINUXINO |  3 ++-
 sys/arch/evbarm/conf/OSK5912         |  1 +
 sys/arch/evbppc/conf/VIRTEX_DFC      |  3 ++-
 sys/arch/evbppc/conf/VIRTEX_GSRD1    |  3 ++-
 sys/arch/evbppc/conf/VIRTEX_GSRD2    |  3 ++-
 sys/arch/hpcmips/conf/LCARD          |  3 ++-
 sys/arch/hpcmips/conf/LROUTER        |  3 ++-
 sys/arch/hpcmips/conf/MPC303         |  5 +++--
 sys/arch/hpcmips/conf/NULLCONF       |  3 ++-
 sys/arch/hpcmips/conf/TX3912         |  3 ++-
 sys/arch/hpcmips/conf/TX3922         |  3 ++-
 sys/arch/hpcmips/conf/VR41XX         |  5 +++--
 sys/arch/hpcsh/conf/DEBUG            |  3 ++-
 sys/arch/hpcsh/conf/HPW650PA         |  3 ++-
 sys/arch/i386/conf/GENERIC_PS2TINY   |  3 ++-
 sys/arch/i386/conf/INSTALL_FLOPPY    |  3 ++-
 sys/arch/i386/conf/NET4501           |  5 +++--
 sys/arch/ia64/conf/GENERIC           |  5 +++--
 sys/arch/mac68k/conf/INSTALL         |  3 ++-
 sys/arch/macppc/conf/POWERMAC        |  3 ++-
 sys/arch/mvmeppc/conf/GENERIC        |  5 +++--
 sys/arch/news68k/conf/NEWS1200       |  3 ++-
 sys/arch/newsmips/conf/DEJIKO        |  3 ++-
 sys/arch/newsmips/conf/WAPIKO        |  3 ++-
 sys/arch/next68k/conf/SLAB           |  3 ++-
 sys/arch/playstation2/conf/AGATE     |  3 ++-
 sys/arch/playstation2/conf/DEBUG     |  3 ++-
 sys/arch/shark/conf/INSTALL          |  3 ++-
 sys/arch/shark/conf/OFWGENCFG        |  3 ++-
 sys/arch/sparc/conf/TADPOLE3GX       |  3 ++-
 sys/arch/sparc64/conf/NONPLUS64      |  5 +++--
 sys/arch/sun2/conf/DISKLESS          |  5 +++--
 sys/arch/sun2/conf/VME               |  5 +++--
 53 files changed, 119 insertions(+), 66 deletions(-)

diffs (truncated from 1039 to 300 lines):

diff -r f7e7ec3095d5 -r dfa831e42dc2 sys/arch/acorn32/conf/INSTALL
--- a/sys/arch/acorn32/conf/INSTALL     Thu Aug 20 23:08:33 2015 +0000
+++ b/sys/arch/acorn32/conf/INSTALL     Fri Aug 21 01:52:07 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: INSTALL,v 1.72 2015/08/12 07:53:57 maxv Exp $
+#      $NetBSD: INSTALL,v 1.73 2015/08/21 01:52:07 uebayasi Exp $
 #
 #      INSTALL -- NetBSD/acorn32 install configuration
 #
@@ -22,7 +22,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "INSTALL-$Revision: 1.72 $"
+#ident         "INSTALL-$Revision: 1.73 $"
 
 # estimated number of users
 maxusers       32
@@ -134,6 +134,7 @@
 options        DIAGNOSTIC      # internal consistency checks
 #options       PMAP_DEBUG      # Enable pmap_debug_level code
 options        DDB             # in-kernel debugger
+pseudo-device  ksyms
 #options       DDB_HISTORY_SIZE=100    # Enable history editing in DDB
 #makeoptions   DEBUG="-g"      # compile full symbol table
 
diff -r f7e7ec3095d5 -r dfa831e42dc2 sys/arch/acorn32/conf/NC
--- a/sys/arch/acorn32/conf/NC  Thu Aug 20 23:08:33 2015 +0000
+++ b/sys/arch/acorn32/conf/NC  Fri Aug 21 01:52:07 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: NC,v 1.65 2015/08/07 13:53:28 maxv Exp $
+#      $NetBSD: NC,v 1.66 2015/08/21 01:52:07 uebayasi Exp $
 #
 #      NC - with wscons
 #
@@ -106,6 +106,7 @@
 options        DIAGNOSTIC      # internal consistency checks
 #options       PMAP_DEBUG      # Enable pmap_debug_level code
 options        DDB             # in-kernel debugger
+pseudo-device  ksyms
 options        DDB_HISTORY_SIZE=100    # Enable history editing in DDB
 #makeoptions   DEBUG="-g"      # compile full symbol table
 
diff -r f7e7ec3095d5 -r dfa831e42dc2 sys/arch/algor/conf/P4032
--- a/sys/arch/algor/conf/P4032 Thu Aug 20 23:08:33 2015 +0000
+++ b/sys/arch/algor/conf/P4032 Fri Aug 21 01:52:07 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: P4032,v 1.72 2014/08/23 20:26:56 dholland Exp $
+#      $NetBSD: P4032,v 1.73 2015/08/21 01:52:07 uebayasi Exp $
 #
 # Algorithmics P-4032 kernel.
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "P4032-$Revision: 1.72 $"
+#ident                 "P4032-$Revision: 1.73 $"
 
 maxusers 32
 
@@ -28,6 +28,7 @@
 # Diagnostic/debugging support options
 options        DIAGNOSTIC              # Cheap kernel consistency checks
 options        DDB                     # kernel debugger
+pseudo-device  ksyms
 makeoptions    DEBUG="-g"
 #makeoptions   DEBUGLIST="pattern1 pattern2 ..."
 makeoptions    COPY_SYMTAB=1
diff -r f7e7ec3095d5 -r dfa831e42dc2 sys/arch/algor/conf/P5064
--- a/sys/arch/algor/conf/P5064 Thu Aug 20 23:08:33 2015 +0000
+++ b/sys/arch/algor/conf/P5064 Fri Aug 21 01:52:07 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: P5064,v 1.82 2014/08/23 20:26:56 dholland Exp $
+#      $NetBSD: P5064,v 1.83 2015/08/21 01:52:07 uebayasi Exp $
 #
 # Algorithmics P-5064 kernel.
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "P5064-$Revision: 1.82 $"
+#ident                 "P5064-$Revision: 1.83 $"
 
 maxusers 32
 
@@ -23,6 +23,7 @@
 # Diagnostic/debugging support options
 options        DIAGNOSTIC              # Cheap kernel consistency checks
 options        DDB                     # kernel debugger
+pseudo-device  ksyms
 makeoptions    DEBUG="-g"
 #makeoptions   DEBUGLIST="pattern1 pattern2 ..."
 makeoptions    COPY_SYMTAB=1
diff -r f7e7ec3095d5 -r dfa831e42dc2 sys/arch/algor/conf/P6032
--- a/sys/arch/algor/conf/P6032 Thu Aug 20 23:08:33 2015 +0000
+++ b/sys/arch/algor/conf/P6032 Fri Aug 21 01:52:07 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: P6032,v 1.73 2014/08/23 20:26:56 dholland Exp $
+#      $NetBSD: P6032,v 1.74 2015/08/21 01:52:07 uebayasi Exp $
 #
 # Algorithmics P-6032 kernel.
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "P6032-$Revision: 1.73 $"
+#ident                 "P6032-$Revision: 1.74 $"
 
 maxusers 32
 
@@ -23,6 +23,7 @@
 # Diagnostic/debugging support options
 options        DIAGNOSTIC              # Cheap kernel consistency checks
 options        DDB                     # kernel debugger
+pseudo-device  ksyms
 makeoptions    DEBUG="-g"
 #makeoptions   DEBUGLIST="pattern1 pattern2 ..."
 makeoptions    COPY_SYMTAB=1
diff -r f7e7ec3095d5 -r dfa831e42dc2 sys/arch/alpha/conf/INSTALL
--- a/sys/arch/alpha/conf/INSTALL       Thu Aug 20 23:08:33 2015 +0000
+++ b/sys/arch/alpha/conf/INSTALL       Fri Aug 21 01:52:07 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.108 2014/10/11 09:16:15 uebayasi Exp $
+# $NetBSD: INSTALL,v 1.109 2015/08/21 01:52:07 uebayasi Exp $
 #
 # Alpha INSTALL kernel.
 
@@ -39,6 +39,7 @@
 
 # Diagnostic/debugging support options
 options        DDB                     # kernel debugger
+pseudo-device  ksyms
 #makeoptions   DEBUG="-g"
 
 # File systems
diff -r f7e7ec3095d5 -r dfa831e42dc2 sys/arch/alpha/conf/RAWHIDE
--- a/sys/arch/alpha/conf/RAWHIDE       Thu Aug 20 23:08:33 2015 +0000
+++ b/sys/arch/alpha/conf/RAWHIDE       Fri Aug 21 01:52:07 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: RAWHIDE,v 1.39 2015/08/07 07:29:33 maxv Exp $
+# $NetBSD: RAWHIDE,v 1.40 2015/08/21 01:52:07 uebayasi Exp $
 #
 # Alpha 4100 stripped for action server kernel.
 #
@@ -12,6 +12,7 @@
 #options       SYSCTL_INCLUDE_DESCR    # Include sysctl descriptions in kernel
 options        DIAGNOSTIC      # Cheap kernel consistency checks
 options        DDB             # Kernel Dynamic Debugger
+pseudo-device  ksyms
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
diff -r f7e7ec3095d5 -r dfa831e42dc2 sys/arch/amiga/conf/INSTALL
--- a/sys/arch/amiga/conf/INSTALL       Thu Aug 20 23:08:33 2015 +0000
+++ b/sys/arch/amiga/conf/INSTALL       Fri Aug 21 01:52:07 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.125 2014/07/05 10:00:42 tsutsui Exp $
+# $NetBSD: INSTALL,v 1.126 2015/08/21 01:52:07 uebayasi Exp $
 #
 # This file was automatically created.
 # Changes will be lost when make is run in this directory.
@@ -29,7 +29,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.125 $"
+#ident                 "GENERIC-$Revision: 1.126 $"
 
 makeoptions    COPTS="-Os"
 
@@ -142,6 +142,7 @@
 # Misc. debugging options
 #
 options        DDB             # Kernel debugger
+pseudo-device  ksyms
 #options       DDB_HISTORY_SIZE=100    # Enable history editing in DDB
 #options       DIAGNOSTIC      # Extra kernel sanity checks
 #options       DEBUG           # Enable misc. kernel debugging code
diff -r f7e7ec3095d5 -r dfa831e42dc2 sys/arch/amiga/conf/MDINSTALL
--- a/sys/arch/amiga/conf/MDINSTALL     Thu Aug 20 23:08:33 2015 +0000
+++ b/sys/arch/amiga/conf/MDINSTALL     Fri Aug 21 01:52:07 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: MDINSTALL,v 1.31 2013/10/04 15:13:51 rkujawa Exp $
+#      $NetBSD: MDINSTALL,v 1.32 2015/08/21 01:52:07 uebayasi Exp $
 
 #
 # INSTALL kernel for ramdisk installation
@@ -66,6 +66,7 @@
 # Misc. debugging options
 #
 options        DDB             # Kernel debugger
+pseudo-device  ksyms
 #options       DDB_HISTORY_SIZE=100    # Enable history editing in DDB
 options        DIAGNOSTIC      # Extra kernel sanity checks
 #options       DEBUG           # Enable misc. kernel debugging code
diff -r f7e7ec3095d5 -r dfa831e42dc2 sys/arch/arc/conf/ARCTIC
--- a/sys/arch/arc/conf/ARCTIC  Thu Aug 20 23:08:33 2015 +0000
+++ b/sys/arch/arc/conf/ARCTIC  Fri Aug 21 01:52:07 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: ARCTIC,v 1.68 2015/08/12 07:53:57 maxv Exp $
+#      $NetBSD: ARCTIC,v 1.69 2015/08/21 01:52:07 uebayasi Exp $
 #      $OpenBSD: ARCTIC,v 1.12 1999/08/29 12:14:03 niklas Exp $
 #
 #      configuration file for DeskStation
@@ -37,6 +37,7 @@
 options        DIAGNOSTIC              # cheap kernel consistency checks
 #options       DEBUG                   # expensive debugging checks/support
 options        DDB                     # in-kernel debugger
+pseudo-device  ksyms
 #options       DDB_HISTORY_SIZE=100    # enable history editing in DDB
 #options       KGDB                    # remote gdb
 #options       KGDB_DEVRATE=19200      # kernel gdb port rate (default 9600)
diff -r f7e7ec3095d5 -r dfa831e42dc2 sys/arch/arc/conf/M403
--- a/sys/arch/arc/conf/M403    Thu Aug 20 23:08:33 2015 +0000
+++ b/sys/arch/arc/conf/M403    Fri Aug 21 01:52:07 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: M403,v 1.64 2015/08/07 13:53:28 maxv Exp $
+#      $NetBSD: M403,v 1.65 2015/08/21 01:52:07 uebayasi Exp $
 #
 #      configuration file for MIPS Magnum 4000 system
 #
@@ -30,6 +30,7 @@
 options        DIAGNOSTIC              # cheap kernel consistency checks
 #options       DEBUG                   # expensive debugging checks/support
 options        DDB                     # in-kernel debugger
+pseudo-device  ksyms
 #options       DDB_HISTORY_SIZE=100    # enable history editing in DDB
 #options       KGDB                    # remote gdb
 #options       KGDB_DEVRATE=19200      # kernel gdb port rate (default 9600)
diff -r f7e7ec3095d5 -r dfa831e42dc2 sys/arch/arc/conf/MIMORI
--- a/sys/arch/arc/conf/MIMORI  Thu Aug 20 23:08:33 2015 +0000
+++ b/sys/arch/arc/conf/MIMORI  Fri Aug 21 01:52:07 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: MIMORI,v 1.69 2015/08/12 07:53:57 maxv Exp $
+#      $NetBSD: MIMORI,v 1.70 2015/08/21 01:52:07 uebayasi Exp $
 #      NetBSD: GENERIC,v 1.31 2000/06/09 05:33:02 soda Exp
 #
 #      MIMORI -- My NEC RISCstation 2250 (ur)
@@ -32,6 +32,7 @@
 options        DIAGNOSTIC              # cheap kernel consistency checks
 #options       DEBUG                   # expensive debugging checks/support
 options        DDB                     # in-kernel debugger
+pseudo-device  ksyms
 #options       DDB_HISTORY_SIZE=100    # enable history editing in DDB
 #options       KGDB                    # remote gdb
 #options       KGDB_DEVRATE=19200      # kernel gdb port rate (default 9600)
diff -r f7e7ec3095d5 -r dfa831e42dc2 sys/arch/arc/conf/PICA
--- a/sys/arch/arc/conf/PICA    Thu Aug 20 23:08:33 2015 +0000
+++ b/sys/arch/arc/conf/PICA    Fri Aug 21 01:52:07 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: PICA,v 1.81 2015/08/07 13:53:28 maxv Exp $
+#      $NetBSD: PICA,v 1.82 2015/08/21 01:52:07 uebayasi Exp $
 #
 #      configuration file for ACER PICA system
 #
@@ -31,6 +31,7 @@
 options        DIAGNOSTIC              # cheap kernel consistency checks
 #options       DEBUG                   # expensive debugging checks/support
 options        DDB                     # in-kernel debugger
+pseudo-device  ksyms
 #options       DDB_HISTORY_SIZE=100    # enable history editing in DDB
 #options       KGDB                    # remote gdb
 #options       KGDB_DEVRATE=19200      # kernel gdb port rate (default 9600)
diff -r f7e7ec3095d5 -r dfa831e42dc2 sys/arch/arc/conf/RPC44
--- a/sys/arch/arc/conf/RPC44   Thu Aug 20 23:08:33 2015 +0000
+++ b/sys/arch/arc/conf/RPC44   Fri Aug 21 01:52:07 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: RPC44,v 1.50 2015/08/12 07:53:57 maxv Exp $
+# $NetBSD: RPC44,v 1.51 2015/08/21 01:52:07 uebayasi Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.50 $"
+#ident         "GENERIC-$Revision: 1.51 $"
 
 maxusers       32              # estimated number of users
 
@@ -57,6 +57,7 @@
 options        DIAGNOSTIC              # cheap kernel consistency checks
 #options       DEBUG                   # expensive debugging checks/support
 options        DDB                     # in-kernel debugger
+pseudo-device  ksyms
 #options       DDB_HISTORY_SIZE=100    # enable history editing in DDB
 #options       KGDB                    # remote gdb
 #options       KGDB_DEVRATE=19200      # kernel gdb port rate (default 9600)
diff -r f7e7ec3095d5 -r dfa831e42dc2 sys/arch/cats/conf/INSTALL
--- a/sys/arch/cats/conf/INSTALL        Thu Aug 20 23:08:33 2015 +0000
+++ b/sys/arch/cats/conf/INSTALL        Fri Aug 21 01:52:07 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: INSTALL,v 1.95 2015/08/08 06:36:25 maxv Exp $
+#      $NetBSD: INSTALL,v 1.96 2015/08/21 01:52:07 uebayasi Exp $
 #
 #      CATSINST -- CHALTECH CATS Install kernel



Home | Main Index | Thread Index | Old Index