Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2005 15:02:07 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Axel.Gruner@suedfactoring.de
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Antwort: Re: How to disable debugging in userland?
Message-ID:  <20050907120207.GA7915@orion.daedalusnetworks.priv>
In-Reply-To: <OFB03A68A8.0280EDF1-ONC1257075.00401A5D-C1257075.00401A61@suedfac.com>
References:  <OFB03A68A8.0280EDF1-ONC1257075.00401A5D-C1257075.00401A61@suedfac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050907120207.GA7915>