This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/4] Improve elfutils diagnostics


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]