2009-06-16 Paul Pluzhnikov <ppluzhnikov@google.com>
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Tue, 16 Jun 2009 21:06:40 +0000 (21:06 +0000)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Tue, 16 Jun 2009 21:06:40 +0000 (21:06 +0000)
commitdce234bc19cdb9db9663872e25ccb456facdfb4f
tree439823606840e2fdc077df6281bad3b02688f09e
parent7eedccfa2afb7a44b513282cb138d85cde1f7f41
2009-06-16  Paul Pluzhnikov  <ppluzhnikov@google.com>

* dwarf2read.c (dwarf_info_section, dwarf_abbrev_section)
(dwarf_line_section, dwarf_pubnames_section, dwarf_aranges_section)
(dwarf_loc_section, dwarf_macinfo_section, dwarf_str_section)
(dwarf_ranges_section, dwarf_frame_section)
(dwarf_eh_frame_section): Removed.
(dwarf2_resize_section): Likewise.
(dwarf2_read_section): Now static, use bfd_mmap() if possible.
(dwarf2_get_section_info): New function.
(munmap_section_buffer): Likewise.
(dwarf2_per_objfile_cleanup): Likewise.
(section_is_p): Signature change.
* dwarf2-frame.c (dwarf2_build_frame_info): Use
dwarf2_get_section_info instead of dwarf2_read_section.
gdb/ChangeLog
gdb/dwarf2-frame.c
gdb/dwarf2read.c