Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Debug symbols in staging, but stripped on target?
Date: Tue, 31 Aug 2010 22:25:02 +0000 (UTC)	[thread overview]
Message-ID: <i5jvfu$j4d$1@dough.gmane.org> (raw)
In-Reply-To: i5jq5c$s5d$1@dough.gmane.org

On 2010-08-31, Grant Edwards <grant.b.edwards@gmail.com> wrote:
> I need to do some debugging of a package's application, so I need
> debugging symbols enabled for that package.
>
> The only option I can find that appears related is
>
>   BR2_ENABLE_DEBUG
>
> There are a couple issues with that:
>
>  1) It enables debug symbols for all packages, and I only want them
>     for one.
>
>  2) It apprently disables stripping of target executables.  I don't
>     have room (nor any use) for debugging symbols on the target -- I
>     only need them on the development host (e.g. in the staging
>     directory).

My current work-around is to get rid of the BR2_ENABLE_DEBUG
dependancy in the BR2_STRIP_xxxxx choices.

That way I can enable BR2_ENABLE_DEBUG and still have stripped
binaries on the target.

[I don't really understand why the two were connected like that, they
seem to me to be orthogonal choices.]

-- 
Grant Edwards               grant.b.edwards        Yow! I Know A Joke!!
                                  at               
                              gmail.com            

      reply	other threads:[~2010-08-31 22:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-31 20:54 [Buildroot] Debug symbols in staging, but stripped on target? Grant Edwards
2010-08-31 22:25 ` Grant Edwards [this message]

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='i5jvfu$j4d$1@dough.gmane.org' \
    --to=grant.b.edwards@gmail.com \
    --cc=buildroot@busybox.net \
    /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