Introduce common-debug.h
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7dd366b63c0690317e273e7bcd13825f9a37e48c..55a94f077427080cc42de0939496d66b4384bd98 100644 (file)
@@ -1,3 +1,183 @@
+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.
+
+2014-08-15  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
+       unused.
+
+2014-08-15  Eli Zaretskii  <eliz@gnu.org>
+
+       * dcache.h: Include target.h, to avoid compile time warnings.
+
+2014-08-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbarch.sh: #include "frame.h" in gdbarch.h.  Delete "struct
+       frame_info" partial declaration.
+       * gdbarch.h: Regenerate.
+
+2014-08-15  Yao Qi  <yao@codesourcery.com>
+
+       * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
+       Add parameter 'decode_for_pst_p'.  Callers update.
+
+2014-08-13  Yao Qi  <yao@codesourcery.com>
+
+       PR build/17104
+       * configure.ac: Use local variable 'pos'.
+       * configure: Regenerated.
+
+2014-08-11  Doug Evans  <dje@google.com>
+
+       * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
+       message, it is redundant with "Reading symbols from ..." message.
+
+2014-08-10  Doug Evans  <xdje42@gmail.com>
+
+       * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
+
+2014-08-09  Yao Qi  <yao@codesourcery.com>
+
+       PR remote/9053
+       * remote.c (remote_xfer_partial): Remove dead code.
+
 2014-08-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
 
        * ia64-linux-tdep.c: Include "regset.h".
This page took 0.02611 seconds and 4 git commands to generate.