Re: [PATCH] libdw: Handle DWARF5 line tables in dwarf_getsrclines.

2018-05-11 Thread Mark Wielaard
On Tue, 2018-05-08 at 00:06 +0200, Mark Wielaard wrote: > In DWARF5 the actual line number table format doesn't change, except for > not allowing DW_LNE_define_file (but we still just accept it). The > changes are the header having new fields for address and segment > selector sizes, and new format

[PATCH] libdw: Handle DWARF5 line tables in dwarf_getsrclines.

2018-05-07 Thread Mark Wielaard
In DWARF5 the actual line number table format doesn't change, except for not allowing DW_LNE_define_file (but we still just accept it). The changes are the header having new fields for address and segment selector sizes, and new formats for the directory and file names tables. The directory and fi