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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"

Reply via email to