From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 20 06:44:21 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C99B9106564A; Sun, 20 Jun 2010 06:44:21 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D9CCD8FC0A; Sun, 20 Jun 2010 06:44:20 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id JAA19488; Sun, 20 Jun 2010 09:44:19 +0300 (EEST) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1OQEGR-000HwS-3L; Sun, 20 Jun 2010 09:44:19 +0300 Message-ID: <4C1DB8C2.2030906@freebsd.org> Date: Sun, 20 Jun 2010 09:44:18 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100603) MIME-Version: 1.0 To: vbox@freebsd.org, freebsd-emulation@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: emulators/virtualbox-ose-kmod: DEBUG option does nothing? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 06:44:21 -0000 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