public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "fei huang" <daniel.huangfei@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Is there a way to debug /sbin/init process?
Date: Fri, 25 Aug 2006 21:23:42 +0800	[thread overview]
Message-ID: <5cd9791d0608250623m238c98fcv83bc0fd7b2d191a@mail.gmail.com> (raw)
In-Reply-To: <7573e9640608250244s2ffd8467v6cbf6553122c8e2f@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1053 bytes --]

On 8/25/06, Richard Fish <bigfish@asmallpond.org> wrote:
>
> On 8/25/06, fei huang <daniel.huangfei@gmail.com> wrote:
> > wonder why gentoo does not support debug flag on ALL packages, but just
> to a
> > small range of ebuilds?
> > any good reason for that .?  don't know.
>
> The debug use flag is normally (and IMO should only be) used for
> optional debugging/logging systems that can be built-in to packages,
> not for debug symbols like you get with CFLAGS=-g.  It sometimes also
> adds -g, but it is really more for the optional parts of packages that
> can be included regardless of the CFLAGS.


so, they are distinct concepts.

To illustrate my point, USE=debug has the following effects on:
>
> * app-emulation/wine: enables the use of the WINE_DEBUG environment
> variable to generate debug output.
> * media-sound/alsa-driver: adds extra logging about the sound card
> configuration and inner-workings of alsa to the system logs.
>
> -Richard
> --


It does make sense.. thank you so much..

daniel

gentoo-user@gentoo.org mailing list
>
>

[-- Attachment #2: Type: text/html, Size: 1809 bytes --]

  reply	other threads:[~2006-08-25 13:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-24 15:22 [gentoo-user] Is there a way to debug /sbin/init process? fei huang
2006-08-25  5:57 ` Dirk Heinrichs
2006-08-25  7:10   ` fei huang
2006-08-25  7:56     ` Dirk Heinrichs
2006-08-25  8:30     ` Etaoin Shrdlu
     [not found]       ` <5cd9791d0608250212t1a201d45u334713792c91d412@mail.gmail.com>
2006-08-25  9:44         ` Richard Fish
2006-08-25 13:23           ` fei huang [this message]
2006-08-25 13:46       ` Michael Crute

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5cd9791d0608250623m238c98fcv83bc0fd7b2d191a@mail.gmail.com \
    --to=daniel.huangfei@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox