From owner-freebsd-questions@FreeBSD.ORG Wed Sep 7 12:02:11 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ACA416A41F for ; Wed, 7 Sep 2005 12:02:11 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 885AF43D49 for ; Wed, 7 Sep 2005 12:02:10 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by rosebud.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j87C288J010974; Wed, 7 Sep 2005 15:02:08 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) by orion.daedalusnetworks.priv (8.13.4/8.13.4) with ESMTP id j87C28aY007960; Wed, 7 Sep 2005 15:02:08 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by orion.daedalusnetworks.priv (8.13.4/8.13.4/Submit) id j87C28fn007959; Wed, 7 Sep 2005 15:02:08 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) X-Authentication-Warning: orion.daedalusnetworks.priv: keramida set sender to keramida@ceid.upatras.gr using -f Date: Wed, 7 Sep 2005 15:02:07 +0300 From: Giorgos Keramidas To: Axel.Gruner@suedfactoring.de Message-ID: <20050907120207.GA7915@orion.daedalusnetworks.priv> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-questions@freebsd.org Subject: Re: Antwort: Re: How to disable debugging in userland? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2005 12:02:11 -0000 On 2005-09-07 13:40, Axel.Gruner@suedfactoring.de wrote: >> Userland programs are not installed with debugging information by >> default. You have to specifically request that debugging *is* enabled, >> instead (by setting DEBUG_FLAGS either in your environment or in your >> /etc/make.conf file) and rebuild. > > But /usr/src/UPDATING tells me that both, kernel- and userland debugging is > enabled per default. Part of this is true for FreeBSD-CURRENT[1]. Releases are built without any debugging information, to save some space on the release CD-ROMs and the installed area. > So, maybe i misunderstood UPDATING or your answer ;-). It could also be that both me and UPDATING are partly wrong. > Ok, setting DEBUG_FLAGS looks fine, but, where can i find these? I can > not see them in "man make.conf" also not in make.conf example. Good point. I just noticed this while writing my post to you. I'll try to add a description of DEBUG_FLAGS in the make.conf(5) manpage. I found the description of DEBUG_FLAGS after a post by Ruslan Ermilov in one of the other lists and a bit of searching in /usr/share/mk/* files. IMHO, it shouldn't be that hard to find it. - Giorgos