summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf.h
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2018-05-29 09:44:38 +0200
committerMark Wielaard <[email protected]>2018-05-31 14:20:25 +0200
commitc7fc54a27c0eac667f0060f277606df8208f05d7 (patch)
treef4f815614409709425eb7aafdea062ffa051a7ae /libdw/dwarf.h
parente9e64f6748499d458b951e0dcd46d6cc9d850886 (diff)
readelf: Fix regression with multiple files and implicit debug_info reading.
Commit 314e9d7d "readelf: Handle .debug_info first if any other debug section needs it" introduced a regression when handling multiple files. The implicit and explicit printing of debuginfo weren't reset and so the second file would not show (or scan) the .debug_info section when needed. Fix by resetting the implicit and explicit section printing flags. Add a testcase that prints the .debug_loc section for two files and check that the CUs are resolved. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libdw/dwarf.h')
0 files changed, 0 insertions, 0 deletions