This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH]: Add support for displaying location lists to readelf
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- To: Daniel Berlin <dan at dberlin dot org>
- Cc: binutils at sources dot redhat dot com
- Date: 20 Mar 2002 23:02:37 +0000
- Subject: Re: [PATCH]: Add support for displaying location lists to readelf
- References: <1016644047.1944.2.camel@localhost.localdomain>
Hi Daniel,
> 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.
Approved - please apply.
Cheers
Nick