*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index b047f3505b1e28425db7728c44f34cf19e0b62ce..0bb6d75d356c2603d24c37fc0bfdda12357aae2f 100644 (file)
@@ -1,3 +1,265 @@
+2012-05-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (solaris_pid_to_str): Make static.
+       (_initialize_sol_thread): Add prototype.
+
+2012-05-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (procfs_pid_to_str): Delete extern declaration.
+
+2012-05-02  Christopher Faylor  <me.cygwin2012@cgf.cx>
+
+       * MAINTAINERS: Remove myself.
+
+2012-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix --without-auto-load-safe-path for MS-Windows host platform.
+       * auto-load.c (filename_is_in_dir): Return 1 for DIR_LEN 0.
+
+2012-05-02  Eli Zaretskii  <eliz@gnu.org>
+
+       * gdb_curses.h: Undefine KEY_EVENT before including curses
+       headers.  Move "#undef MOUSE_MOVED" before any curses header
+       inclusion.
+
+2012-05-02  Sergio Durigan Junior  <sergiodj@gmail.com>
+
+       * features/i386/i386-mmx-linux.c: Regenerate.
+       * features/rs6000/powerpc-32.c: Likewise.
+       * features/rs6000/powerpc-32l.c: Likewise.
+       * features/rs6000/powerpc-403.c: Likewise.
+       * features/rs6000/powerpc-403gc.c: Likewise.
+       * features/rs6000/powerpc-405.c: Likewise.
+       * features/rs6000/powerpc-505.c: Likewise.
+       * features/rs6000/powerpc-601.c: Likewise.
+       * features/rs6000/powerpc-602.c: Likewise.
+       * features/rs6000/powerpc-603.c: Likewise.
+       * features/rs6000/powerpc-604.c: Likewise.
+       * features/rs6000/powerpc-64.c: Likewise.
+       * features/rs6000/powerpc-64l.c: Likewise.
+       * features/rs6000/powerpc-750.c: Likewise.
+       * features/rs6000/powerpc-860.c: Likewise.
+       * features/rs6000/powerpc-e500.c: Likewise.
+       * features/rs6000/powerpc-e500l.c: Likewise.
+       * features/rs6000/powerpc-isa205-32l.c: Likewise.
+       * features/rs6000/powerpc-isa205-64l.c: Likewise.
+       * features/rs6000/rs6000.c: Likewise.
+
+2012-05-02  Sergio Durigan Junior  <sergiodj@gmail.com>
+
+       * i386-tdep.c (i386_stap_parse_special_token) <s>: Remove unused
+       variable.
+       * stap-probe.c (stap_parse_single_operand) <reg_suffix,
+       reg_ind_suffix, reg_suffix_len, reg_ind_suffix_len>: Likewise.
+       (stap_parse_argument) <e>: Likewise.
+       (handle_stap_probe) <byte_order>: Likewise.
+
+2012-04-30  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (init_cutu_and_read_dies): Renamed from
+       init_and_read_dies_worker.  All callers updated.
+       (init_cu_and_read_dies, init_tu_and_read_dies): Delete.  All calls
+       replaced with init_cutu_and_read_dies.
+       (load_partial_comp_unit): Pass 1 for use_existing_cu.
+       (find_partial_die): Remove FIXME.  Don't free current CU.
+
+2012-04-30  Sterling Augustine  <saugustine@google.com>
+
+       * contrib: New directory.
+       * contrib/test_pubnames_and_indexes.py: New file.
+
+2012-04-30  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf_decode_macros): New arg section_name.
+       All callers updated.
+       (init_cu_die_reader): Verify the section is non-empty.
+       (dwarf_decode_line_header): Don't dereference section->asection
+       until we know the section is present.
+
+2012-04-29  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * tracepoint.c (start_tracing, stop_tracing): Checking for NULL
+       probes.
+
+2012-04-29  Yao Qi  <yao@codesourcery.com>
+
+       * gdb-code-style.el: New hook gdb-markup-hook
+       and gdb-comment-hook.
+
+2012-04-28  Doug Evans  <dje@google.com>
+
+       Initial support for Fission.  http://gcc.gnu.org/wiki/DebugFission
+       * symfile.c (default_symfile_relocate): Use sectp->owner instead of
+       objfile->obfd.
+       * symfile.h (dwarf2_debug_sections): New member addr.
+       * dwarf2expr.c (execute_stack_op): New case DW_OP_GNU_addr_index.
+       (ctx_no_get_addr_index): New function.
+       * dwarf2expr.h (dwarf_expr_context_funcs): New member get_addr_index.
+       (ctx_no_get_addr_index): Declare.
+       * dwarf2-frame.c (dwarf2_frame_ctx_funcs): Update.
+       * dwarf2loc.c (dwarf_expr_get_addr_index): New function.
+       (dwarf_expr_ctx_funcs): Update.
+       (needs_get_addr_index): New function.
+       (needs_frame_ctx_funcs): Update.
+       * dwarf2loc.h (dwarf2_read_addr_index): Declare.
+       * dwarf2read.c: #include "gdbcore.h".
+       (dwarf2_per_objfile): New members addr, dwo_files.
+       (dwarf2_elf_names): Add entry for addr.
+       (struct dwo_section_names): New type.
+       (dwo_section_names): New static global.
+       (dwarf2_cu): New members dwo_unit, addr_base, have_addr_base.
+       (dwarf2_per_cu_data): New member is_debug_types, all boolean uses of
+       old debug_types_section member updated to use this.
+       Rename member debug_types_section to info_or_types_section,
+       all uses updated.
+       (signatured_type): Rename member type_offset to type_offset_in_tu,
+       all uses updated.  New member type_offset_in_section.
+       (struct dwo_sections): New type.
+       (struct dwo_unit): New type.
+       (struct dwo_file): New type.
+       (die_reader_specs): New member dwo_file.
+       (dwarf2_locate_sections): Watch for .debug_addr.
+       (zlib_decompress_section): Use sectp->owner instead of objfile->obfd.
+       (dwarf2_read_section): Get bfd of section from bfd's asection,
+       instead of objfile.
+       (create_cus_from_index): Initialize the_cu->info_or_types_section.
+       (create_signatured_type_table_from_index): Initialize
+       sig_type->info_or_types_section.
+       (dw2_get_file_names): Statement lists for type units with DWO files
+       live in the DWO file.
+       (create_debug_types_hash_table): New function.
+       (create_all_type_units): Rewrite.
+       (init_cu_die_reader): New arg dwo_file, all callers updated.
+       (init_and_read_dies_worker): Get section from
+       this_cu->info_or_types_section.  Set sig_type->type_offset_in_section.
+       Watch for DW_AT_GNU_dwo_name and if present lookup the file and
+       continue reading the CU/TU from there.
+       (init_cutu_and_read_dies_no_follow): New arg dwo_file, all callers
+       updated.  Get section from this_cu->info_or_types_section.
+       (create_all_comp_units): Initialize this_cu->info_or_types_section.
+       (skip_one_die): New cases DW_FORM_GNU_addr_index,
+       DW_FORM_GNU_str_index.
+       (hash_dwo_file, eq_dwo_file): New functions.
+       (allocate_dwo_file_hash_table): New function.
+       (hash_dwo_unit, eq_dwo_unit): New functions.
+       (allocate_dwo_unit_table): New function.
+       (dwarf2_locate_dwo_sections): New function.
+       (struct create_dwo_info_table_data): New type.
+       (create_debug_info_hash_table_reader): New function.
+       (create_debug_info_hash_table): New function.
+       (try_open_dwo_file, open_dwo_file, init_dwo_file): New function.
+       (lookup_dwo_file): New function.
+       (lookup_dwo_comp_unit, lookup_dwo_type_unit): New functions.
+       (free_dwo_file, free_dwo_file_cleanup): New functions.
+       (free_dwo_file_from_slot, free_dwo_files): New functions.
+       (dwarf2_get_pc_bounds): Handle DW_FORM_GNU_addr_index.
+       (dwarf2_record_block_ranges): Ditto.
+       (read_partial_die): Ditto.
+       (process_enumeration_scope): Update to use type_offset_in_section.
+       (read_full_die_1): New function.
+       (read_full_die): Rewrite.
+       (read_attribute_value): New cases DW_FORM_GNU_addr_index,
+       DW_FORM_GNU_str_index.
+       (read_addr_index_1, read_addr_index): New functions.
+       (read_addr_index_from_leb128): New function.
+       (struct dwarf2_read_addr_index_data): New type.
+       (dwarf2_read_addr_index_reader): New function.
+       (dwarf2_read_addr_index): New function.
+       (read_str_index): New function.
+       (leb128_size): New function.
+       (dwarf_decode_line_header): Delete arg abfd, all callers updated.
+       If processing a type unit from a DWO file, get the line section
+       from the DWO file.
+       (var_decode_location): Watch for DW_OP_GNU_addr_index.
+       (dwarf2_const_value_attr): New cases DW_FORM_GNU_addr_index,
+       DW_FORM_GNU_str_index.
+       (lookup_die_type): Check whether section offset of type's die is
+       known before looking it up.  Remove assert.  Condition can
+       legimately happen for inter-cu type references.
+       (dwarf_attr_name): Handle Fission attributes.
+       (dwarf_form_name): Handle Fission forms.
+       (dump_die_shallow): New cases DW_FORM_GNU_addr_index,
+       DW_FORM_GNU_str_index.
+       (follow_die_sig): Update to use type_offset_in_section.
+       (decode_locdesc): New case DW_OP_GNU_addr_index.
+       (skip_form_bytes): New cases DW_FORM_GNU_addr_index,
+       DW_FORM_GNU_str_index.
+       (cu_debug_loc_section): New function.
+       (fill_in_loclist_baton, dwarf2_symbol_mark_computed): Call it.
+       (dwarf2_per_objfile_free): Unmap .debug_addr section.
+       Free DWO files if present.
+       * xcoffread.c (dwarf2_xcoff_names): Add .debug_addr.
+
+       Refactor DIE reading.
+       * dwarf2read.c (dwarf2_per_objfile): Replace members
+       debug_info_type_hash and debug_types_type_hash with die_type_hash.
+       (die_reader_specs): New member "die_section".  Temporarily make
+       member "buffer" non-const, pending constifying all info_ptr uses.
+       (die_reader_func_ftype): New typedef.
+       (dw2_get_file_names_reader): New function.
+       (dw2_get_file_names): Rewrite.
+       (read_and_check_type_unit_head): Rename arg type_offset to
+       type_offset_in_tu.
+       (create_all_type_units): Improve debugging message.
+       Improve dummy type unit check.
+       (init_cu_die_reader): New arg "section".  All callers updated.
+       (init_and_read_dies_worker): New function.
+       (init_cu_and_read_dies, init_tu_and_read_dies): New functions.
+       (init_cutu_and_read_dies_no_follow): New function.
+       (init_cutu_and_read_dies_simple): New function.
+       (process_psymtab_comp_unit_reader): New function.
+       (process_psymtab_comp_unit): Delete args section,
+       is_debug_types_section.  Rewrite.  All callers updated.
+       (process_psymtab_type_unit): Renamed from process_type_comp_unit.
+       All callers updated.  Rewrite.
+       (load_partial_comp_unit_reader): New function.
+       (load_partial_comp_unit): Rewrite.
+       (skip_children): New arg reader.  Delete args buffer, cu.
+       All callers updated.
+       (skip_one_die): New arg reader.  Delete args buffer, cu.
+       All callers updated.
+       (locate_pdi_sibling): New arg reader.  Delete args buffer, abfd, cu.
+       All callers updated.
+       (load_full_comp_unit_reader): New function.
+       (load_full_comp_unit): Rewrite.
+       (read_comp_unit): Delete.
+       (read_die_and_children_1): Delete, contents moved ...
+       (read_die_and_children): ... here.
+       (dwarf2_read_abbrevs): New arg abbrev_section.  All callers updated.
+       (load_partial_dies): New arg reader.  Delete args abfd, buffer, cu.
+       All callers updated.
+       (read_partial_die): New arg reader.  Delete args abfd, buffer, cu.
+       All callers updated.
+       (find_partial_die): Rewrite load_all_dies support.
+       (read_attribute_value): New arg reader.  Delete args abfd, cu.
+       All callers updated.
+       (read_attribute): New arg reader.  Delete args abfd, cu.
+       All callers updated.
+       (load_full_type_unit): Add assert.
+       (read_signatured_type_reader): New function.
+       (read_signatured_type): Rewrite.
+       (free_stack_comp_unit): Remove call to age_cached_comp_units.
+       (free_one_cached_comp_unit): Change target_cu arg to target_per_cu.
+       All callers updated.  Set per_cu->cu = NULL after freeing it.
+       (dwarf2_per_cu_offset_and_type): Renamed from dwarf2_offset_and_type.
+       (per_cu_offset_and_type_hash): Renamed from offset_and_type_hash.
+       (per_cu_offset_and_type_eq): Renamed from offset_and_type_eq.
+       (set_die_type): Update.
+       (get_die_type_at_offset): Update.
+       (read_file_scope): Call prepare_one_comp_unit.
+       (read_type_unit_scope): Ditto.
+       (prepare_one_comp_unit): Set producer if present.
+
+2012-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * probe.c (compile_rx_or_error): Silence ARI warning about missing
+        gettext function on `error'.
+
+2012-04-27  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf2_read_index): Don't use index if symbol table
+       is empty.
+
 2012-04-27  Sergio Durigan Junior  <sergiodj@redhat.com>
            Tom Tromey  <tromey@redhat.com>
 
This page took 0.026124 seconds and 4 git commands to generate.