+2014-08-20 Yao Qi <yao@codesourcery.com>
+
+ * amd64-tdep.c (amd64_classify): Add a blank line after the
+ example. Move "*/" to a new line.
+ * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
+ * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
+ * dwarf2read.c (psymtab_include_file_name): Likewise.
+
+2014-08-19 Andrew Burgess <aburgess@broadcom.com>
+ Pedro Alves <palves@redhat.com>
+
+ PR symtab/14604
+ PR symtab/14605
+ * ada-lang.c (coerce_unspec_val_to_type): Use
+ value_contents_copy_raw.
+ * ada-valprint.c (val_print_packed_array_elements): Adjust.
+ * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
+ * cp-valprint.c (cp_print_value_fields): Let the common printing
+ code handle optimized out values.
+ (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
+ * d-valprint.c (dynamic_array_type): Use
+ value_bits_any_optimized_out.
+ * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
+ check_any_valid fields.
+ (check_pieced_value_bits): Delete and inline ...
+ (check_pieced_synthetic_pointer): ... here.
+ (check_pieced_value_validity): Delete.
+ (check_pieced_value_invalid): Delete.
+ (pieced_value_funcs): Remove check_validity and check_any_valid
+ fields.
+ (read_pieced_value): Use mark_value_bits_optimized_out.
+ (write_pieced_value): Switch to use
+ mark_value_bytes_optimized_out.
+ (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
+ of assuming the whole value is optimized out.
+ * findvar.c (read_frame_register_value): Remove special handling
+ of optimized out registers.
+ (value_from_register): Use mark_value_bytes_optimized_out.
+ * frame-unwind.c (frame_unwind_got_optimized): Use
+ mark_value_bytes_optimized_out.
+ * jv-valprint.c (java_value_print): Adjust.
+ (java_print_value_fields): Let the common printing code handle
+ optimized out values.
+ * mips-tdep.c (mips_print_register): Remove special handling of
+ optimized out registers.
+ * opencl-lang.c (lval_func_check_validity): Delete.
+ (lval_func_check_any_valid): Delete.
+ (opencl_value_funcs): Remove check_validity and check_any_valid
+ fields.
+ * p-valprint.c (pascal_object_print_value_fields): Let the common
+ printing code handle optimized out values.
+ * stack.c (read_frame_arg): Remove special handling of optimized
+ out values. Fetch both VAL and ENTRYVAL before comparing
+ contents. Adjust to value_available_contents_eq rename.
+ * valprint.c (valprint_check_validity)
+ (val_print_scalar_formatted): Use value_bits_any_optimized_out.
+ (val_print_array_elements): Adjust.
+ * value.c (struct value) <optimized_out>: Now a VEC(range_s).
+ (value_bits_any_optimized_out): New function.
+ (value_entirely_covered_by_range_vector): New function, factored
+ out from value_entirely_unavailable.
+ (value_entirely_unavailable): Reimplement.
+ (value_entirely_optimized_out): New function.
+ (insert_into_bit_range_vector): New function, factored out from
+ mark_value_bits_unavailable.
+ (mark_value_bits_unavailable): Reimplement.
+ (struct ranges_and_idx): New struct.
+ (find_first_range_overlap_and_match): New function, factored out
+ from value_available_contents_bits_eq.
+ (value_available_contents_bits_eq): Rename to ...
+ (value_contents_bits_eq): ... this. Check both unavailable
+ contents and optimized out contents.
+ (value_available_contents_eq): Rename to ...
+ (value_contents_eq): ... this.
+ (allocate_value_lazy): Remove reference to the old optimized_out
+ boolean.
+ (allocate_optimized_out_value): Use
+ mark_value_bytes_optimized_out.
+ (require_not_optimized_out): Adjust to check whether the
+ optimized_out vec is empty.
+ (ranges_copy_adjusted): New function, factored out from
+ value_contents_copy_raw.
+ (value_contents_copy_raw): Also copy the optimized out ranges.
+ Assert the destination ranges aren't optimized out.
+ (value_contents_copy): Update comment, remove call to
+ require_not_optimized_out.
+ (value_contents_equal): Adjust to check whether the optimized_out
+ vec is empty.
+ (set_value_optimized_out, value_optimized_out_const): Delete.
+ (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
+ New functions.
+ (value_entirely_optimized_out, value_bits_valid): Delete.
+ (value_copy): Take a VEC copy of the 'optimized_out' field.
+ (value_primitive_field): Remove special handling of optimized out.
+ (value_fetch_lazy): Assert that lazy values have no unavailable
+ regions. Use value_bits_any_optimized_out. Remove some special
+ handling for optimized out values.
+ * value.h: Add intro comment about <optimized out> and
+ <unavailable>.
+ (struct lval_funcs): Remove check_validity and check_any_valid
+ fields.
+ (set_value_optimized_out, value_optimized_out_const): Remove.
+ (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
+ New declarations.
+ (value_bits_any_optimized_out): New declaration.
+ (value_bits_valid): Delete declaration.
+ (value_available_contents_eq): Rename to ...
+ (value_contents_eq): ... this, and extend comments.
+
+2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix -fsanitize=address on unreadable inferior strings.
+ * valprint.c (val_print_string): Fix access before BUFFER.
+
+2014-08-19 Simon Marchi <simon.marchi@ericsson.com>
+
+ * target.c (target_struct_size): Remove.
+ (target_struct_allocsize): Remove.
+ (DEFAULT_ALLOCSIZE): Remove.
+ (target_ops_p): New typedef.
+ (DEF_VEC_P (target_ops_p)): New vector type.
+ (target_structs): Change type to VEC (target_ops_p).
+ (add_target_with_completer): Replace "push" code by VEC_safe_push.
+ (find_default_run_target): Rewrite for loop following changes to
+ target_structs.
+
+2014-08-19 Joel Brobecker <brobecker@adacore.com>
+
+ * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
+ Adjust code accordingly. Adjust function description comment.
+
+2014-08-19 Yao Qi <yao@codesourcery.com>
+
+ * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
+ types.
+
+2014-08-19 Alan Modra <amodra@gmail.com>
+
+ * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+
+2014-08-19 Tom Tromey <tromey@redhat.com>
+ Gary Benson <gbenson@redhat.com>
+
+ * common/common-debug.h: New file.
+ * common/common-debug.c: Likewise.
+ * debug.c: Likewise.
+ * Makefile.in (SFILES): Add common/common-debug.c.
+ (HFILES_NO_SRCDIR): Add common/common-debug.h.
+ (COMMON_OBS): Add common-debug.o and debug.o.
+ (common-debug.o): New rule.
+ * common/common-defs.h: Include common-debug.h.
+ * common/agent.c (debug_agent_printf): New function.
+ (DEBUG_AGENT): Redefine.
+ * nat/i386-dregs.c (debug_printf): Undefine.
+
+2014-08-19 Gary Benson <gbenson@redhat.com>
+
+ * common/common-defs.h: Include print-utils.h.
+ * utils.h: Do not include print-utils.h.
+
+2014-08-19 Tom Tromey <tromey@redhat.com>
+ Gary Benson <gbenson@redhat.com>
+
+ * common/common-types.h: New file.
+ * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
+ * common/common-defs.h: Include common-types.h.
+ * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
+ (ULONGEST): Remove.
+
+2014-08-19 Tom Tromey <tromey@redhat.com>
+ Gary Benson <gbenson@redhat.com>
+
+ * common/errors.h: New file.
+ * common/errors.c: Likewise.
+ * Makefile.in (SFILES): Add common/errors.c.
+ (HFILES_NO_SRCDIR): Add common/errors.h.
+ (COMMON_OBS): Add errors.o.
+ (errors.o): New rule.
+ * common/common-defs.h: Include errors.h.
+ * utils.h (perror_with_name, error, verror, warning, vwarning):
+ Don't declare.
+ * common/common-utils.h: (malloc_failure, internal_error):
+ Likewise.
+
+2014-08-19 Gary Benson <gbenson@redhat.com>
+
+ * utils.c (internal_vproblem): Always print the message.
+
+2014-08-18 Doug Evans <dje@google.com>
+
+ * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
+
+2014-08-18 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-typeprint.c (type_is_full_subrange_of_target_type):
+ Return 0 if TYPE is dynamic.
+ (print_range): Add handling of dynamic ranges.
+
+2014-08-18 Keven Boell <keven.boell@intel.com>
+ Joel Brobecker <brobecker@adacore.com>
+
+ * gdbtypes.h (struct main_type): Add field "data_location".
+ (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
+ (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
+ * gdbtypes.c (is_dynamic_type): Return 1 if the type has
+ a dynamic data location.
+ (resolve_dynamic_type): Add DW_AT_data_location handling.
+ (copy_recursive, copy_type): Copy the data_location information
+ when present.
+ * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
+ * value.c (value_from_contents_and_address): Add
+ DW_AT_data_location handling.
+
+2014-08-18 Keven Boell <keven.boell@intel.com>
+ Joel Brobecker <brobecker@adacore.com>
+
+ * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
+ field "get_object_address".
+ * dwarf2expr.c (execute_stack_op): Add handling for
+ DW_OP_push_object_address.
+ * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
+ * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
+ (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
+ (dwarf_expr_get_obj_addr): New function.
+ (dwarf_expr_ctx_funcs): Add get_object_address field.
+ (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
+ (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
+ (dwarf2_evaluate_property): Add parameter "address". Use it.
+ (needs_get_obj_addr): New function.
+ (needs_frame_ctx_funcs): Add get_object_address field.
+ (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
+ * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
+ (resolve_dynamic_array): Likewise.
+
+2014-08-18 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
+ When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
+ fixed value for records and unions for which some GNAT encodings
+ are present.
+
+2014-08-18 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
+ rewrite to avoid "else if" and "else" constructs. Should be
+ a no-op in practice.
+
+2014-08-18 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
+ of lexical block.
+
+2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
+
+ PR c++/17132
+ * eval.c: Update all calls to find_overload_match.
+ * valarith.c: Likewise.
+ (value_user_defined_cpp_op, value_user_defined_op): New
+ argument NOSIDE. Update all callers.
+ * valops.c (find_overload_match): New argument NOSIDE.
+ * value.h (find_overload_match): Update signature.
+
+2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
+
+ * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
+ 'items' methods instead of 'iteritems' method on dictionaries.
+
+2014-08-15 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
+ closer to use.
+
+2014-08-15 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (dwarf_decode_lines_1): Add comment.
+
2014-08-15 Doug Evans <dje@google.com>
* dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.