This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix readelf problems displaying loclists in .dwo files


This patch fixes some problems with loclists in .dwo files, and adds
support for the type 4 loclist entry (described at
http://gcc.gnu.org/wiki/DebugFission).

I've also updated both loclist displays to update the offset for each
line printed, and adjusted the formatting for the .debug_addr section.

OK to commit?

-cary


binutils/
        * dwarf.c (display_loc_list): Update offset for each line
        printed.
        (print_addr_index): New function.
        (display_loc_list_dwo): Update offset for each line printed.
        Fix problems displaying loclists in .dwo files.  Add support
        for type 4 entries.
        (display_debug_loc): Remove custom header for .dwo files.
        (display_debug_addr): Adjust formatting.

Attachment: readelf-loclist-patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]