building virtualbox-kmod with debugging

Andriy Gapon avg at FreeBSD.org
Sun Dec 4 22:46:01 UTC 2011


This is a gentle reminder that DEBUG config option in virtualbox-ose-kmod ports
doesn't have proper (any?) effect.

On the other hand one can run make DEBUG_FLAGS="-O1 -g" to achieve a desired
effect in the same way as with "normal" kernel modules.  Of course the port
doesn't know to install the *.symbols files and they are not in pkg-plist.

BTW, WITH_CTF option also works from command line.

Would be nice to have these features conveniently integrated into the port.

-- 
Andriy Gapon


More information about the freebsd-emulation mailing list