public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Lebon <jlebon@redhat.com>
To: elfutils-devel@lists.fedorahosted.org
Subject: [PATCH 0/4] Improve elfutils diagnostics
Date: Mon, 11 May 2015 15:38:12 -0400	[thread overview]
Message-ID: <1431373096-9212-1-git-send-email-jlebon@redhat.com> (raw)

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

Hi,

This patch series attempts to improve elfutils feedback to help guide
the user towards fixing erroneous situations.

The first two patches enable elfutils to give a more specific error when
compressed sections fail to be decompressed.

The third patch add the new function dwfl_errmsg_details(), which can be
used to provide dynamic freeform information to the user to supplement
the static error message from dwfl_errmsg().

The fourth patch makes use of this facility to provide the user with all
the paths that were attempted while looking for the debug file.

Suggestions and comments welcome!

Related: RHBZ507682, RHBZ1184245.

Jonathan Lebon (4):
  dwarf_begin_elf: decouple section searching from reading
  dwarf_begin_elf: new error for compression failure
  dwfl_error: support error details
  dwfl_module_getdwarf: report paths tried

 libdw/dwarf_begin_elf.c          | 195 ++++++++++++++++++++++-----------------
 libdw/dwarf_error.c              |   1 +
 libdw/libdw.map                  |   1 +
 libdw/libdwP.h                   |   1 +
 libdwfl/dwfl_build_id_find_elf.c |  21 +++++
 libdwfl/dwfl_error.c             |  27 ++++++
 libdwfl/dwfl_module.c            |   3 +
 libdwfl/dwfl_module_getdwarf.c   |  10 ++
 libdwfl/find-debuginfo.c         | 120 +++++++++++++++++-------
 libdwfl/libdwfl.h                |   3 +
 libdwfl/libdwflP.h               |   3 +
 11 files changed, 269 insertions(+), 116 deletions(-)

-- 
2.1.0


             reply	other threads:[~2015-05-11 19:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-11 19:38 Jonathan Lebon [this message]
2015-05-13 16:28 Mark Wielaard
2015-05-13 17:31 Frank Ch. Eigler
2015-05-13 18:44 Jonathan Lebon
2015-05-14 11:16 Mark Wielaard
2015-05-14 11:46 Mark Wielaard
2015-05-15 16:10 Frank Ch. Eigler
2015-05-15 21:21 Mark Wielaard

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=1431373096-9212-1-git-send-email-jlebon@redhat.com \
    --to=jlebon@redhat.com \
    --cc=elfutils-devel@lists.fedorahosted.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).