From: Andreas Glatz <andi.glatz@gmail.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] How to keep DWARF debugging symbols for libunwind?
Date: Mon, 13 Mar 2017 08:32:00 +0000 [thread overview]
Message-ID: <CAKJ14Ndg93erxEpnk_yKADXMDG1VnNw-9grmdP8q7oZLw0PKmg@mail.gmail.com> (raw)
Hi
I'm using libunwind [1] on i.MX6 together with my application to
generate proper backtraces. I found that compiling my app with
debugging symbols (-g) and then preloading libunwind with
UNW_ARM_METHOD_DWARF gives quite meaningful backtraces.
However, after flashing the target I cannot get backtraces anymore as
ptxdist seems to strip the DWARF debugging symbols. I was wondering if
there is a way to instruct ptxdist to retain the debugging symbols for
a specific application? (Or if I should be looking e.g. into
UNW_ARM_METHOD_EXIDX ?)
Kind regards,
Andreas
[1] https://wiki.linaro.org/KenWerner/Sandbox/libunwind
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2017-03-13 8:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-13 8:32 Andreas Glatz [this message]
2017-03-13 9:04 ` Michael Olbrich
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=CAKJ14Ndg93erxEpnk_yKADXMDG1VnNw-9grmdP8q7oZLw0PKmg@mail.gmail.com \
--to=andi.glatz@gmail.com \
--cc=ptxdist@pengutronix.de \
/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