From owner-freebsd-questions@FreeBSD.ORG Wed Sep 7 11:24:19 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 5913016A41F for ; Wed, 7 Sep 2005 11:24:19 +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 714AF43D7F for ; Wed, 7 Sep 2005 11:24:14 +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 j87BOC65012230; Wed, 7 Sep 2005 14:24:12 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) by orion.daedalusnetworks.priv (8.13.4/8.13.4) with ESMTP id j87BOC5Y007561; Wed, 7 Sep 2005 14:24:12 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by orion.daedalusnetworks.priv (8.13.4/8.13.4/Submit) id j87BOBGD007560; Wed, 7 Sep 2005 14:24:11 +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 14:24:11 +0300 From: Giorgos Keramidas To: Axel.Gruner@suedfactoring.de Message-ID: <20050907112411.GC7415@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: 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 11:24:19 -0000 On 2005-09-07 13:03, Axel.Gruner@suedfactoring.de wrote: > i know how to disable debugging for the kernel in 6.0, but how do i disable > debugging for the userland? > So is > ln -s 'aj' malloc.conf > the right choice (i did this with an early 5.x). 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.