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