]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/dwarf2read.c
* dwarf2read.c (dwarf_info_offset, dwarf_abbrev_offset)
authorDaniel Jacobowitz <drow@false.org>
Tue, 2 Dec 2003 16:41:39 +0000 (16:41 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 2 Dec 2003 16:41:39 +0000 (16:41 +0000)
commit188dd5d64fcfd149e6c9b27e8f39002a8e1a9632
tree8f192d7565ab3d4380d1f8ec63b5e4335ddaf007
parentda8bce141c0fb5262b21bbd923d0116a3c082b88
* dwarf2read.c (dwarf_info_offset, dwarf_abbrev_offset)
(dwarf_line_offset, dwarf_pubnames_offset, dwarf_aranges_offset)
(dwarf_loc_offset, dwarf_macinfo_offset, dwarf_str_offset)
(dwarf_ranges_offset, dwarf_frame_offset, dwarf_eh_frame_offset):
Delete.
(dwarf2_read_section): Remove offset and size arguments.  Use
bfd_get_section_size_before_reloc and sectp->filepos.
(dwarf2_has_info): Clear section variables instead of offsets.
(dwarf2_locate_sections): Don't initialize the deleted variables.
(dwarf2_build_psymtabs): Update calls to dwarf2_read_section.
(dwarf2_build_psymtabs_easy): Likewise.
* dwarf2-frame.c (dwarf_frame_offset, dwarf_frame_size)
(dwarf_eh_frame_offset, dwarf_eh_frame_size): Remove extern
declarations.
(dwarf2_read_section): Update prototype.
(dwarf2_build_frame_info): Update calls to dwarf2_read_section.
Use bfd_get_section_size_before_reloc instead of global size
variables.
gdb/ChangeLog
gdb/dwarf2-frame.c
gdb/dwarf2read.c