[PR gdb/19893] Fix handling of synthetic C++ references
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 681cb2e38d2aa6e08992c87ffc676e626b410f0a..7b25bc0d0a535a415e2810c9039073d385fc0bb2 100644 (file)
@@ -1,3 +1,46 @@
+2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
+
+       PR c++/19893
+       * dwarf2loc.c (coerce_pieced_ref, indirect_synthetic_pointer,
+       fetch_const_value_from_synthetic_pointer): New functions.
+       (indirect_pieced_value): Move lower half to indirect_synthetic_pointer.
+       (pieced_value_funcs): Implement coerce_ref.
+       * valops.c (value_addr): Call coerce_ref for synthetic references.
+       * valprint.c (valprint_check_validity): Return true for synthetic
+       references.  Also, don't show "<synthetic pointer>" if they reference
+       addressable values.
+       (generic_val_print_ref): Handle synthetic references.  Also move some
+       code to print_ref_address.
+       (print_ref_address, get_value_addr_contents): New functions.
+
+2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR c++/15231
+       * dwarf2read.c (enum pc_bounds_kind): Add PC_BOUNDS_INVALID.
+       (process_psymtab_comp_unit_reader, read_func_scope): Adjust callers.
+       (read_lexical_block_scope): Import DIEs from bare DW_TAG_lexical_block.
+       (read_call_site_scope): Adjust callers.
+       (dwarf2_get_pc_bounds): Implement pc_bounds_invalid.
+       (dwarf2_get_subprogram_pc_bounds, get_scope_pc_bounds): Adjust callers.
+
+2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup: dwarf2_get_pc_bounds: -1/0/+1 -> enum
+       * dwarf2read.c (enum pc_bounds_kind) New.
+       (dwarf2_get_pc_bounds): Use it in the declaration.
+       (process_psymtab_comp_unit_reader): Adjust caller.  Rename has_pc_info
+       to cu_bounds_kind.
+       (read_func_scope, read_lexical_block_scope, read_call_site_scope):
+       Adjust callers.
+       (dwarf2_get_pc_bounds): Use enum pc_bounds_kind in the definition.
+       (dwarf2_get_subprogram_pc_bounds, get_scope_pc_bounds): Adjust callers.
+
+2016-05-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * NEWS (QCatchSyscalls): Remove the parameter.  Include ...
+       (QCatchSyscalls:1 in qSupported) ... this separate entry which got
+       deleted.
+
 2016-05-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * NEWS (N stop reply): Remove empty line.
This page took 0.024738 seconds and 4 git commands to generate.