diff options
author | Fred Fish <fnf@specifix.com> | 2005-04-03 20:36:37 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 2005-04-03 20:36:37 +0000 |
commit | a13afe8eb58e80f96cae0cd5d2e1c990b1a8ce44 (patch) | |
tree | 2b14123414606cc9587c883cdf03bfec8a50d083 /gdb/rom68k-rom.c | |
parent | 14a88c496bef288d66f245d1d07c7bfa7f6062fb (diff) | |
download | gdb-a13afe8eb58e80f96cae0cd5d2e1c990b1a8ce44.zip gdb-a13afe8eb58e80f96cae0cd5d2e1c990b1a8ce44.tar.gz gdb-a13afe8eb58e80f96cae0cd5d2e1c990b1a8ce44.tar.bz2 |
Apply patch for binutils bug 806, approved by nickc@redhat.com.
2005-04-03 Fred Fish <fnf@specifixinc.com>
* dwarf2.c (struct dwarf2_debug): Add dwarf_ranges_buffer and
dwarf_ranges_size members.
(struct comp_unit): Add base_address member.
(struct funcinfo): Replace low/high members with an arange.
(arange_add): Replace incoming "unit" parameter with "abfd" and
"first_arange" pointers. Reorganize/rewrite function body.
(decode_line_info): Change arange_add call to pass bfd and arange
pointers.
(lookup_address_in_line_info_table): Use arange list instead of
individual low/high members. Walk function's arange list to find
lowest PC in list, to test for overlapping functions.
(read_debug_ranges): New function, reads the debug_ranges section.
(lookup_address_in_function_table): Use arange list instead of
individual low/high members. Rewrite to find smallest range that
matches.
(read_rangelist): Read a given rangelist from debug_ranges.
(scan_unit_for_functions): Use arange list instead of individual
low/high members. Handle a DW_AT_ranges attribute.
(parse_comp_unit): Use arange list instead of individual low/high
members. Save comp unit base address. Handle a DW_AT_ranges
attribute.
Diffstat (limited to 'gdb/rom68k-rom.c')
0 files changed, 0 insertions, 0 deletions