Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/conf amd64/XEN3_DOMU: Pass -g to build debug ...



details:   https://anonhg.NetBSD.org/src/rev/877ae87cca45
branches:  trunk
changeset: 378140:877ae87cca45
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Jul 22 15:18:48 2023 +0000

description:
amd64/XEN3_DOMU: Pass -g to build debug data like GENERIC.

Needed for CTF data by dtrace when MKDEBUG=no MKDEBUGKERNEL=no.

XXX pullup-10

diffstat:

 sys/arch/amd64/conf/XEN3_DOMU |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b9c68ece28e6 -r 877ae87cca45 sys/arch/amd64/conf/XEN3_DOMU
--- a/sys/arch/amd64/conf/XEN3_DOMU     Sat Jul 22 10:31:35 2023 +0000
+++ b/sys/arch/amd64/conf/XEN3_DOMU     Sat Jul 22 15:18:48 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.101 2023/07/21 02:04:52 riastradh Exp $
+# $NetBSD: XEN3_DOMU,v 1.102 2023/07/22 15:18:48 riastradh Exp $
 
 include        "arch/amd64/conf/std.xen"
 
@@ -11,7 +11,7 @@ options       INCLUDE_CONFIG_FILE     # embed con
 #options       UVMHIST_PRINT
 #options       SYSCALL_DEBUG
 
-#ident         "XEN3_DOMU-$Revision: 1.101 $"
+#ident         "XEN3_DOMU-$Revision: 1.102 $"
 
 maxusers       32              # estimated number of users
 
@@ -51,7 +51,7 @@ options       DDB_ONPANIC=1   # see also sysctl
 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
+makeoptions    DEBUG="-g"      # compile full symbol table for CTF
 makeoptions    COPTS="-O2 -fno-omit-frame-pointer"
 options DDB_COMMANDONENTER="trace;show registers"
 options        KDTRACE_HOOKS   # kernel DTrace hooks



Home | Main Index | Thread Index | Old Index