OSDN Git Service

2002-03-20 Daniel Berlin <dan@dberlin.org>
authordberlin <dberlin>
Thu, 21 Mar 2002 05:00:57 +0000 (05:00 +0000)
committerdberlin <dberlin>
Thu, 21 Mar 2002 05:00:57 +0000 (05:00 +0000)
commit4e4c86ccc8766876ea4d2c9a5587b0f1d87a7de9
tree96bbc5b959fe2847e5520144d593963b65db2581
parent4a6ca97e4ebd2301d9c2a08ff1f971748d012edd
2002-03-20  Daniel Berlin  <dan@dberlin.org>

* readelf.c: Add support for displaying dwarf2 location lists.
(do_debug_loc, debug_loc_section, debug_loc_size): New.
(parse_args): Use 'O' as shorthand for displaying location list
section.
(process_section_headers): Handle debug_loc as well.
(load_debug_loc): New.
(free_debug_loc): New.
(fetch_location_list): New.
(display_debug_loc): New.
(display_debug_info): Call load_debug_loc and free_debug_loc.
(debug_displays): We can display .debug_loc now, too.
(usage): Update usage string.
(read_and_display_attr_value): Note location lists, but don't
display them inline.
binutils/ChangeLog
binutils/readelf.c