vla: enable sizeof operator for indirection
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 2184479588972b566539ba0df78dbe2597445b09..c7efe6298ba654a4225324860e3ee10c48f98ba0 100644 (file)
@@ -1,3 +1,45 @@
+2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
+       value and retrieve the dynamic type size.
+
+2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
+       passed to sizeof is dynamic evaluate the argument to compute the length.
+
+2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
+           Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
+       (dwarf2_evaluate_property): New function.
+       * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
+       * dwarf2read.c (attr_to_dynamic_prop): New function.
+       (read_subrange_type): Use attr_to_dynamic_prop to read high bound
+       attribute.
+       * gdbtypes.c: Include dwarf2loc.h.
+       (is_dynamic_type): New function.
+       (resolve_dynamic_type): New function.
+       (resolve_dynamic_bounds): New function.
+       (get_type_length): New function.
+       (check_typedef): Use get_type_length to compute type length.
+       * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
+       (TYPE_LOW_BOUND_KIND): New macro.
+       (is_dynamic_type): New function prototype.
+       * value.c (value_from_contents_and_address): Call resolve_dynamic_type
+       to resolve dynamic properties of the type. Update comment.
+       * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
+
+2014-04-14  Richard Henderson  <rth@redhat.com>
+
+       * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
+
+2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
+           Doug Evans  <xdje42@gmail.com>
+
+       * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
+       dereference TYPE_CODE_REF values.
+
 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
 
        Revert the following changes due to regressions:
This page took 0.023825 seconds and 4 git commands to generate.