Re: [PATCH] libdw, readelf: Handle .debug_*.dwo section name variants.

2018-05-19 Thread Mark Wielaard
On Tue, May 15, 2018 at 12:33:33PM +0200, Mark Wielaard wrote: > The .debug_*.dwo section names are handled just like their none .dwo > variants. The section contents is the same as sections without the .dwo > name, but they are only found in split-dwarf files. This patch allows > opening and ins

Re: [PATCH] libdw: Add GNU DebugFission attributes, tags, forms and operands.

2018-05-19 Thread Mark Wielaard
On Tue, May 15, 2018 at 01:27:00PM +0200, Mark Wielaard wrote: > Most are handled just like their DWARF5 counterparts. Pushed to master.

Re: [PATCH] libdw: Recognize GNU DebugFission split units.

2018-05-19 Thread Mark Wielaard
On Tue, May 15, 2018 at 02:04:31PM +0200, Mark Wielaard wrote: > The split dwarf dwo unit id and type are not in the CU header itself, but > can be found in the CU DIE DW_AT_GNU_dwo attributes. Use this to set the > correct unit_type and id for GNU DebugFission split units. Also show this > informa

[PATCH] libdw: Handle GNU DebugFission split ranges.

2018-05-19 Thread Mark Wielaard
GNU DebugFission split dwarf handles DW_FORM_sec_offset specially for attributes that point to ranges. The .debug_ranges section is not in the .dwo file, but in the main/skeleton object file. The sec_offset is not relocated (in the ELF file), but is an offset against the skeleton DIE DW_AT_GNU_rang

Re: [PATCH] libdw: dwarf_get_units find split units from .dwo.

2018-05-19 Thread Mark Wielaard
On Wed, May 16, 2018 at 09:15:01PM +0200, Mark Wielaard wrote: > For a skeleton DIE dwarf_get_units should provide the split DIE as subdie. > This implements that by trying to find the (named) .dwo file and finding > the matching CU in it. The .dwo file is search relative to the current > DWARF or

[COMMITTED] Mark __libdw_find_split_unit mark as internal_function.

2018-05-19 Thread Mark Wielaard
As pointed out by the i386-debian buildbot. The prototype and definition should match. On i386 this is important because it changes the calling convention. Signed-off-by: Mark Wielaard --- libdw/ChangeLog | 4 libdw/libdwP.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff -