* [Buildroot] Debug symbols in staging, but stripped on target?
@ 2010-08-31 20:54 Grant Edwards
2010-08-31 22:25 ` Grant Edwards
0 siblings, 1 reply; 2+ messages in thread
From: Grant Edwards @ 2010-08-31 20:54 UTC (permalink / raw)
To: buildroot
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).
It also appears to force BR2_PACKAGE_GDB_SERVER. What if I'm using an
external toolchain that provides my gdb server?
Is there any way to enable debugging symbols for just one package?
Can the target binaries still be stripped?
--
Grant Edwards grant.b.edwards Yow! I didn't order any
at WOO-WOO ... Maybe a YUBBA
gmail.com ... But no WOO-WOO!
^ permalink raw reply [flat|nested] 2+ messages in thread* [Buildroot] Debug symbols in staging, but stripped on target?
2010-08-31 20:54 [Buildroot] Debug symbols in staging, but stripped on target? Grant Edwards
@ 2010-08-31 22:25 ` Grant Edwards
0 siblings, 0 replies; 2+ messages in thread
From: Grant Edwards @ 2010-08-31 22:25 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-31 22:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-31 20:54 [Buildroot] Debug symbols in staging, but stripped on target? Grant Edwards
2010-08-31 22:25 ` Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox