From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] glibc: add debug symbols when BR2_ENABLE_DEBUG
Date: Thu, 1 Jan 2015 12:36:48 +0200 [thread overview]
Message-ID: <20150101103648.GU16594@tarshish> (raw)
In-Reply-To: <20150101112940.0d1859fa@free-electrons.com>
Hi Thomas,
On Thu, Jan 01, 2015 at 11:29:40AM +0100, Thomas Petazzoni wrote:
> On Thu, 1 Jan 2015 12:16:43 +0200, Baruch Siach wrote:
> > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> > ---
> > package/glibc/glibc.mk | 4 ++++
> > 1 file changed, 4 insertions(+)
>
> Thanks!
>
> Do you know if there's an easy way of checking if ELF binaries have
> debugging symbols? If so, we could add a check to verify that all ELF
> binaries have debugging symbols when BR2_ENABLE_DEBUG=y, and add this
> check in the autobuilders.
I guess looking for '.debug_info' in the output of 'objdump -h' or 'readelf
-S' should be enough.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
next prev parent reply other threads:[~2015-01-01 10:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-01 10:16 [Buildroot] [PATCH] glibc: add debug symbols when BR2_ENABLE_DEBUG Baruch Siach
2015-01-01 10:29 ` Thomas Petazzoni
2015-01-01 10:36 ` Baruch Siach [this message]
2015-01-07 22:00 ` Thomas Petazzoni
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=20150101103648.GU16594@tarshish \
--to=baruch@tkos.co.il \
--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