* dwarf2read.c (dwarf2_cu): Add ranges_base.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 857fde806ea9f9e8f76936ac9bf1477d96c89b8e..abb6b5652146cf3bf7557b4450b503ab6fd12040 100644 (file)
@@ -1,3 +1,156 @@
+2012-06-27  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf2_cu): Add ranges_base.
+       Delete have_addr_base, unused.  All uses updated.
+       (init_cutu_and_read_dies): Process DW_AT_GNU_ranges_base.
+       (dwarf2_get_pc_bounds): Add ranges_base.
+       (dwarf2_record_block_ranges): Ditto.
+
+2012-06-27  Tom Tromey  <tromey@redhat.com>
+
+       PR macros/7961:
+       * varobj.c (varobj_create): Update.
+       (varobj_set_value): Update.
+       * tracepoint.c (validate_actionline): Update.
+       (encode_actions_1): Update.
+       * parse.c (parse_exp_1): Add 'pc' argument.
+       (parse_exp_in_context): Add 'pc' argument.  Change how
+       expression_context_pc is set.
+       (parse_expression): Update.
+       (parse_field_expression): Update.
+       * expression.h (parse_exp_1): Update.
+       * eval.c (parse_to_comma_and_eval): Update.
+       * breakpoint.c (set_breakpoint_condition): Update.
+       (update_watchpoint): Update.
+       (init_breakpoint_sal): Update
+       (find_condition_and_thread): Update.
+       (watch_command_1): Update.
+       (update_breakpoint_locations): Update.
+       * ada-lang.c (ada_read_renaming_var_value): Update.
+       (create_excep_cond_exprs): Update.
+
+2012-06-27  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (per_cu_header_read_in): Simplify, and handle
+       type units.
+
+2012-06-26  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (read_and_check_comp_unit_head): Delete unnecessary
+       prototype.
+       (error_check_comp_unit_head): New arg abbrev_section.  All callers
+       updated.
+       (read_and_check_comp_unit_head): Ditto.
+       (read_and_check_type_unit_head): Ditto.
+
+2012-06-26  Siva Chandra Reddy  <sivachandra@google.com>
+
+       New attribute 'last' for gdb.Symtab_and_line.
+       * NEWS (Python Scripting): Add entry about the new attribute.
+       * python/py-symtab.c (salpy_get_last): New function which
+       implements the get method for the 'last' attribute of
+       gdb.Symtab_and_line.
+       (sal_object_getset): Add entry for the 'last' attribute.
+
+2012-06-26  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwo_section_names): Add macinfo_dwo, macro_dwo.
+       (dwo_sections): Add macinfo, macro.
+       (dwarf2_locate_dwo_sections): Watch for macro sections.
+       (dwarf_decode_macros): Remove args lh, abfd, section, section_name.
+       All callers updated.  Handle DWO files.
+
+       * NEWS: Mention new options "set debug dwarf2-read" and
+       "set debug symtab-create".
+       * dwarf2read.c (dwarf2_read_debug): New static global.
+       (dwarf2_build_psymtabs_hard): Add debugging printfs.
+       (process_queue): Ditto.
+       (process_full_comp_unit): Ditto.
+       (_initialize_dwarf2_read): Add new option "set debug dwarf2-read".
+       * elfread.c (elf_symfile_read): Add debugging printf.
+       * minsyms.c (install_minimal_symbols): Ditto.
+       * psymtab.c (allocate_psymtab): Ditto.
+       * symfile.c (allocate_symtab): Ditto.
+       * symtab.c (symtab_create_debug): New global.
+       (_initialize_symtab): Add new option "set debug symtab-create".
+       * symtab.h (symtab_create_debug): Declare.
+
+       * dwarf2read.c (lookup_dwo_comp_unit): Enhance comment.
+       (lookup_dwo_type_unit): Ditto.
+
+2012-06-26  Roland McGrath  <roland@hack.frob.com>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-linux-nat.c: Include <sys/user.h>.
+       (ps_get_thread_area): Use PTRACE_PEEKUSER to get fs_base/gs_base
+       if HAVE_STRUCT_USER_REGS_STRUCT_FS_BASE or
+       HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE is defined.
+
+       * configure.ac: Check if the fs_base and gs_base members of
+       `struct user_regs_struct' exist.
+       * config.in: Regenerated.
+       * configure: Likewise.
+
+2012-06-25  Michael Eager  <eager@eagercon.com>
+
+       PR python/14291
+       * python/python.c (gdbpy_write): Check for interrupted output. 
+
+2012-06-25  Greta Yorsh  <greta.yorsh@arm.com>
+
+       * arm-tdep.c (arm_in_function_epilogue_p): Recognize POP with a single
+       register as a stack alignment in ARM mode.
+
+2012-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e.
+       * gnulib/config.in: Regenerate.
+       * gnulib/configure: Likewise.
+       * gnulib/import/m4/extensions.m4: Update it.
+       * gnulib/import/m4/gnulib-common.m4: Likewise.
+       * gnulib/import/m4/memmem.m4: Likewise.
+       * gnulib/import/m4/mmap-anon.m4: Likewise.
+       * gnulib/import/m4/multiarch.m4: Likewise.
+       * gnulib/import/stdint.in.h: Likewise.
+
+2012-06-24  Yao Qi  <yao@codesourcery.com>
+
+       * corefile.c (write_memory_with_notification): New.
+       * gdbcore.h: Declare write_memory_with_notification.
+       * ada-lang.c (ada_value_assign): Replace 'write_memory' and
+       'observer_notify_memory_changed' with 'write_memory_with_notification'.
+       * valops.c (value_assign): Likewise.
+       * python/py-inferior.c (infpy_write_memory): Call
+       'write_memory_with_notification'.
+
+2012-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * cc-with-index.sh: Use also -ex "set auto-load no".
+
+2012-06-23  Doug Evans  <dje@google.com>
+
+       PR 14125
+       * NEWS: Document additions to .gdb_index.
+       * dwarf2read.c: #include "gdb/gdb-index.h".
+       (DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE): New macro.
+       (DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE): New macro.
+       (DW2_GDB_INDEX_CU_SET_VALUE): New macro.
+       (dwarf2_read_index): Recognize version 7.
+       (dw2_do_expand_symtabs_matching): New args want_specific_block,
+       block_kind, domain): All callers updated.
+       (dw2_find_symbol_file): Handle new index CU values.
+       (dw2_expand_symtabs_matching): Match symbol kind if requested.
+       (add_index_entry): New args is_static, kind.  All callers updated.
+       (offset_type_compare, uniquify_cu_indices): New functions
+       (symbol_kind): New function.
+       (write_psymtabs_to_index): Remove duplicate CU values.
+       (write_psymtabs_to_index): Write .gdb_index version 7.
+
+2012-06-22  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure.ac (build_warnings): Add -Wdeclaration-after-statement.
+       * configure: Regenerate.
+
 2012-06-20  Yao Qi  <yao@codesourcery.com>
 
        * python/py-inferior.c: Update comments of infpy_read_memory
This page took 0.026534 seconds and 4 git commands to generate.