diff options
| author | Mark Wielaard <[email protected]> | 2014-05-01 14:48:27 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2014-05-02 17:00:48 +0200 |
| commit | df85bf99021119fcbb2ced66dd69f1cceafb180c (patch) | |
| tree | a0ee033052e69b9b00e87ee31bf4962dac3cec17 /libdw/dwarf_setalt.c | |
| parent | d81d32d2a4f92355e4c677b578147dfe819251b9 (diff) | |
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 <[email protected]>
Diffstat (limited to 'libdw/dwarf_setalt.c')
| -rw-r--r-- | libdw/dwarf_setalt.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libdw/dwarf_setalt.c b/libdw/dwarf_setalt.c index 3b5b9353..9bd566ff 100644 --- a/libdw/dwarf_setalt.c +++ b/libdw/dwarf_setalt.c @@ -35,9 +35,6 @@ void dwarf_setalt (Dwarf *main, Dwarf *alt) { - if (main->free_alt) - INTUSE (dwarf_end) (main->alt_dwarf); - main->free_alt = false; main->alt_dwarf = alt; } INTDEF (dwarf_setalt) |
