[PATCH]: Add support for displaying location lists to readelf

Nick Clifton nickc@cambridge.redhat.com
Wed Mar 20 15:02:00 GMT 2002


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



More information about the Binutils mailing list