Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/conf Add DDB_COMMANDONENTER="trace; show regist...



details:   https://anonhg.NetBSD.org/src/rev/f6e3548bec77
branches:  trunk
changeset: 762239:f6e3548bec77
user:      jym <jym%NetBSD.org@localhost>
date:      Thu Feb 17 22:00:36 2011 +0000

description:
Add DDB_COMMANDONENTER="trace;show registers" to Xen kernels; amd64
does it already, and it is helpful for debugging under Xen anyway.

diffstat:

 sys/arch/i386/conf/XEN3_DOM0 |  3 ++-
 sys/arch/i386/conf/XEN3_DOMU |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 49ceda9cfb66 -r f6e3548bec77 sys/arch/i386/conf/XEN3_DOM0
--- a/sys/arch/i386/conf/XEN3_DOM0      Thu Feb 17 21:15:31 2011 +0000
+++ b/sys/arch/i386/conf/XEN3_DOM0      Thu Feb 17 22:00:36 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: XEN3_DOM0,v 1.42 2010/11/27 20:18:46 christos Exp $
+#      $NetBSD: XEN3_DOM0,v 1.43 2011/02/17 22:00:36 jym Exp $
 #
 #      XEN3_0: Xen 3.0 domain0 kernel
 
@@ -76,6 +76,7 @@
 #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"
 
 # Compatibility options
 options        COMPAT_NOMID    # NetBSD 0.8, 386BSD, and BSDI
diff -r 49ceda9cfb66 -r f6e3548bec77 sys/arch/i386/conf/XEN3_DOMU
--- a/sys/arch/i386/conf/XEN3_DOMU      Thu Feb 17 21:15:31 2011 +0000
+++ b/sys/arch/i386/conf/XEN3_DOMU      Thu Feb 17 22:00:36 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.27 2010/11/23 11:14:00 hannken Exp $
+# $NetBSD: XEN3_DOMU,v 1.28 2011/02/17 22:00:36 jym Exp $
 
 include        "arch/xen/conf/std.xen"
 
@@ -56,6 +56,7 @@
 #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"
 
 # Compatibility options
 options        COMPAT_NOMID    # NetBSD 0.8, 386BSD, and BSDI



Home | Main Index | Thread Index | Old Index