2002-03-20 Daniel Berlin <dan@dberlin.org>
authorDaniel Berlin <dberlin@dberlin.org>
Thu, 21 Mar 2002 05:00:58 +0000 (05:00 +0000)
committerDaniel Berlin <dberlin@dberlin.org>
Thu, 21 Mar 2002 05:00:58 +0000 (05:00 +0000)
commita2f14207f3e8dfb5234e8d50b10bf4ed5a6d64a5
tree6ae5f7ce1610fd42b6a5af64352cb7b010c8b7ec
parentbdbe574731e474b9e2e4a9ff69357542527a87cc
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