[Buildroot] Generating Debug Info Files

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu May 14 19:59:14 UTC 2015


Dear John OSullivan,

On Wed, 13 May 2015 17:40:31 +0100, John OSullivan wrote:

> When I run perf on my buildroot based system it complains about missing
> symbols for my libraries and applications. I know it is possible to generate
> binaries with symbolic information in the staging area by selecting 'build
> packages with debugging symbols', but is there any way of generating
> separate .debug type files or do I need to do this in postBuild with a
> script based on objcopy.

No, we don't have support for separate .debug files currently.

But how would it work exactly, since perf is running on the target?

Don't you simply need to have debugging symbols on the target? If
that's the case, you can simply do BR2_ENABLE_DEBUG=y and
BR2_strip_none=y.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list