* readelf.c (process_debug_info): New.
(debug_info): Add num_loc_offsets, loc_offsets and
last_loc_offset_p.
(get_debug_info): Use process_debug_info.
(display_debug_loc): Properly handle location list. Warn if bad
location lists are encoutnered.
(read_and_process_attr_value): New.
(read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
(display_debug_info): Use process_debug_info.
(process_object): Also free loc_offsets in debug_information.
This commit is contained in:
Nick Clifton 2005-01-04 11:20:45 +00:00
parent 18af0b39e6
commit 5b18a4bc09
2 changed files with 1442 additions and 1218 deletions

File diff suppressed because it is too large Load diff