* elfread.c (elf_symfile_read): Don't call
authorTom Tromey <tromey@redhat.com>
Wed, 10 Mar 2010 18:37:24 +0000 (18:37 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 10 Mar 2010 18:37:24 +0000 (18:37 +0000)
commitbe391dcafc991c4761cb8447f629263decfd55b4
tree5ac541a19f7e6972848357035a4840651d6155ce
parente38df1d074456c912b31d672bde73afcea5b5c92
* elfread.c (elf_symfile_read): Don't call
dwarf2_build_frame_info.
* dwarf2read.c (struct dwarf2_section_info) <readin>: New field.
(struct dwarf2_per_objfile) <objfile>: New field.
(dwarf2_has_info): Now idempotent.  Set objfile field.
(dwarf2_read_section): Check and set readin field.  Call
posix_madvise.
(dwarf2_build_psymtabs): Don't read all sections.
(read_type_comp_unit_head): Read types section.
(create_debug_types_hash_table): Likewise.
(init_cu_die_reader): Add asserts.
(process_type_comp_unit): Add assert.
(dwarf2_build_psymtabs_hard): Read info section.
(load_partial_comp_unit): Add assert.
(create_all_comp_units): Read info section.
(load_full_comp_unit): Likewise.
(dwarf2_ranges_read): Read ranges section.
(dwarf2_record_block_ranges): Add assert.
(dwarf2_read_abbrevs): Read abbrev section.
(read_indirect_string): Read str section.
(dwarf_decode_line_header): Read line section.
(read_signatured_type_at_offset): Read types section.
(dwarf_decode_macros): Read macinfo section.
(dwarf2_symbol_mark_computed): Read loc section.
* dwarf2-frame.c (dwarf2_frame_find_fde): Call
dwarf2_build_frame_info.
(dwarf2_build_frame_info): Unconditionally set
dwarf2_frame_objfile_data on the objfile.
* configure.ac: Check for posix_madvise.
* config.in, configure: Rebuild.
gdb/ChangeLog
gdb/config.in
gdb/configure
gdb/configure.ac
gdb/dwarf2-frame.c
gdb/dwarf2read.c
gdb/elfread.c