Introduce common-debug.h
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 23bc2149728a510efdb274199c20ac7dd7bdcb19..55a94f077427080cc42de0939496d66b4384bd98 100644 (file)
@@ -1,3 +1,104 @@
+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
This page took 0.027479 seconds and 4 git commands to generate.