summaryrefslogtreecommitdiffstats
path: root/tests/run-readelf-zdebug.sh
Commit message (Collapse)AuthorAgeFilesLines
* readelf: Add DWARF5 .debug_line support.Mark Wielaard2018-05-151-9/+11
| | | | | | | | | | | | This only changes the parsing of the directory and file name tables. It does this by sharing the printing of (non-CU based) from data from the .debug_macro code. Adding support for printing strx[1234] form data by sharing the code that detects the correct str_offsets_base in libdw. The header format is also cleaned up a bit so that it better lines out. Testcases adjusted and new ones added. Signed-off-by: Mark Wielaard <[email protected]>
* readelf: Print CU, base address and unresolved .debug_loc entries.Mark Wielaard2017-11-291-6/+11
| | | | | | | | | Also adjust the formatting for the resolved addresses to print them on separate lines so they nicely line up even when the addresses are resolved to symbol+offset names. And print the operands starting on a new line. Signed-off-by: Mark Wielaard <[email protected]>
* readelf: Print CU, base address and unresolved .debug_range entries.Mark Wielaard2017-11-291-1/+3
| | | | | | | | Also adjust the formatting for the resolved addresses to print them on separate lines so they nicely line up even when the addresses are resolved to symbol+offset names. Signed-off-by: Mark Wielaard <[email protected]>
* readelf: Adjust print_ops formatting.Mark Wielaard2017-11-291-15/+15
| | | | | | | Use only 2 spaces for index (there are never 10000, the most seen in the wild is 64). Adjust re-indenting after GNU_entry_value. Signed-off-by: Mark Wielaard <[email protected]>
* readelf: Read the decompressed data when processing .zdebug DWARF sections.Mark Wielaard2014-04-151-0/+539
readelf uses libdw to open the Dwarf and read some of the DWARF data. But it also uses its own parsers to display some of the low-level unprocessed data. If the DWARF debug section was zlib compressed it should actually use the decompressed section data from libdw instead of the raw section data. Includes a testcase for those sections that couldn't be properly displayed when compressed before. Signed-off-by: Mark Wielaard <[email protected]>