BZ 615
authorNick Clifton <nickc@redhat.com>
Tue, 4 Jan 2005 11:20:45 +0000 (11:20 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 4 Jan 2005 11:20:45 +0000 (11:20 +0000)
commit5b18a4bc0911700a6c81bb39cf4397ef02849131
tree38564000c278b1087f6205dcc1e7654f72452cc3
parent18af0b39e6429361f1e3a93e63f045d5db1bed72
BZ 615
* 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.
binutils/ChangeLog
binutils/readelf.c