public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* Re: Some eu-addr2line improvements
@ 2015-05-27 15:30 Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2015-05-27 15:30 UTC (permalink / raw)
  To: elfutils-devel

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

On Wed, 2015-05-20 at 16:35 +0200, Mark Wielaard wrote:
> A couple of testcases were added. All patches can also be found on the
> mjw/addr2line git branch.

I pushed this to master now including the changes discussed with Roland.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Some eu-addr2line improvements
@ 2015-05-20 14:35 Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2015-05-20 14:35 UTC (permalink / raw)
  To: elfutils-devel

[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]

Hi,

eu-addr2line is mostly nicer to use than binutils addr2line IMHO,
because it can work with symbol offsets, separate debuginfo, pids,
core files, process maps, etc. But binutils addr2line has a couple of
options that are also useful that prevented using eu-addr2line as a drop
in replacement.

This patch set cleans up a few things and adds three new options.

[PATCH 1/5] addr2line: Split options in input and output format
Is a simple cleanup of the --help output.

[PATCH 2/5] addr2line: Always parse addresses as hex numbers.
Matches what binutils addr2line does, which IMHO makes more sense than
trying to parse the input as octal or decimal if we aren't sure they
are hex.

[PATCH 3/5] addr2line: Add -a, --address. Print address before for each entry.
Is even more useful with our implementation since we accept symbol+offset
as input. So this then returns what address that really translates to.

[PATCH 4/5] addr2line: Add demangler support.
Implemented as was done for eu-stack and eu-nm earlier.

[PATCH 5/5] addr2line: Add --pretty-print option
A more compact output format that is easier to parse.

A couple of testcases were added. All patches can also be found on the
mjw/addr2line git branch.

Cheers,

Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-27 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-27 15:30 Some eu-addr2line improvements Mark Wielaard
  -- strict thread matches above, loose matches on Subject: below --
2015-05-20 14:35 Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).