diff options
author | Tom Tromey <tromey@redhat.com> | 2010-03-10 18:37:24 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-03-10 18:37:24 +0000 |
commit | be391dcafc991c4761cb8447f629263decfd55b4 (patch) | |
tree | 5ac541a19f7e6972848357035a4840651d6155ce /gdb/config.in | |
parent | e38df1d074456c912b31d672bde73afcea5b5c92 (diff) | |
download | gdb-be391dcafc991c4761cb8447f629263decfd55b4.zip gdb-be391dcafc991c4761cb8447f629263decfd55b4.tar.gz gdb-be391dcafc991c4761cb8447f629263decfd55b4.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/config.in')
-rw-r--r-- | gdb/config.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/config.in b/gdb/config.in index ebde876..5414b08 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -294,6 +294,9 @@ /* Define to 1 if you have the <poll.h> header file. */ #undef HAVE_POLL_H +/* Define to 1 if you have the `posix_madvise' function. */ +#undef HAVE_POSIX_MADVISE + /* Define to 1 if you have the `pread64' function. */ #undef HAVE_PREAD64 |