Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jun 2010 09:44:18 +0300
From:      Andriy Gapon <avg@freebsd.org>
To:        vbox@freebsd.org, freebsd-emulation@freebsd.org
Subject:   emulators/virtualbox-ose-kmod: DEBUG option does nothing?
Message-ID:  <4C1DB8C2.2030906@freebsd.org>

next in thread | raw e-mail | index | archive | help

It looks like setting DEBUG option in config dialog of
emulators/virtualbox-ose-kmod doesn't result in any debugging flags being passed
to actual module(s) make.
Perhaps, src/VBox/HostDrivers/freebsd/Makefile or a kbuild/make-file above need
to set DEBUG_FLAGS if KBUILD_TYPE is "debug".

Further, building with debug symbols would result in "*.ko" and "*.ko.symbols"
files produced.  Right now only the former are installed, there is no provision
for installing symbols files.  And without them debug symbols will not be available.

Last, it would be neat to add a port config option to enable building modules
with CTF, so that they could be examined with dtrace.

Thanks!
-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C1DB8C2.2030906>