NetBSD-Bugs archive

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

toolchain/52865: missing option to build kernel modules with debug info



>Number:         52865
>Category:       toolchain
>Synopsis:       missing option to build kernel modules with debug info
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 26 12:10:00 +0000 2017
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.9
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.9 NetBSD 8.99.9 (NIGHT-OWL) #567: Mon Dec 18 19:06:05 CET 2017 martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

We are lacking a build option like MKKDEBUG for kernel modules. Something
like MKKMODDEBUG (better names welcome) that causes all $mod.kmod to have
a corresponding $mod.kmod.gdb file in the object directory.

>How-To-Repeat:

Read src/share/mk/bsd.README and look for module debug info.

>Fix:
n/a



Home | Main Index | Thread Index | Old Index