]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwfl: Move dwz alt multi file searching to find_debuginfo callback.
authorMark Wielaard <mjw@redhat.com>
Thu, 1 May 2014 12:48:27 +0000 (14:48 +0200)
committerMark Wielaard <mjw@redhat.com>
Fri, 2 May 2014 15:00:48 +0000 (17:00 +0200)
commitdf85bf99021119fcbb2ced66dd69f1cceafb180c
treea0ee033052e69b9b00e87ee31bf4962dac3cec17
parentd81d32d2a4f92355e4c677b578147dfe819251b9
libdwfl: Move dwz alt multi file searching to find_debuginfo callback.

Don't hard code the Dwarf dwz alt multi file search but allow the user
to override it through the standard Dwfl_Callbacks. Also move ownership
completely to the user of dwarf_setalt by removing free_alt from Dwarf
and adding alt, fd and elf fields to Dwfl_Module. Add a relative .dwz
file test case.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
16 files changed:
libdw/ChangeLog
libdw/dwarf_end.c
libdw/dwarf_setalt.c
libdw/libdwP.h
libdwfl/ChangeLog
libdwfl/dwfl_build_id_find_debuginfo.c
libdwfl/dwfl_build_id_find_elf.c
libdwfl/dwfl_module.c
libdwfl/dwfl_module_getdwarf.c
libdwfl/find-debuginfo.c
libdwfl/libdwflP.h
libdwfl/linux-kernel-modules.c
src/ChangeLog
src/readelf.c
tests/ChangeLog
tests/run-readelf-dwz-multi.sh