Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Is there a way to debug /sbin/init process?
Date: Fri, 25 Aug 2006 09:48:38
Message-Id: 7573e9640608250244s2ffd8467v6cbf6553122c8e2f@mail.gmail.com
1 On 8/25/06, fei huang <daniel.huangfei@×××××.com> wrote:
2 > wonder why gentoo does not support debug flag on ALL packages, but just to a
3 > small range of ebuilds?
4 > any good reason for that .? don't know.
5
6 The debug use flag is normally (and IMO should only be) used for
7 optional debugging/logging systems that can be built-in to packages,
8 not for debug symbols like you get with CFLAGS=-g. It sometimes also
9 adds -g, but it is really more for the optional parts of packages that
10 can be included regardless of the CFLAGS.
11
12 To illustrate my point, USE=debug has the following effects on:
13
14 * app-emulation/wine: enables the use of the WINE_DEBUG environment
15 variable to generate debug output.
16 * media-sound/alsa-driver: adds extra logging about the sound card
17 configuration and inner-workings of alsa to the system logs.
18
19 -Richard
20 --
21 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Is there a way to debug /sbin/init process? fei huang <daniel.huangfei@×××××.com>