gdb: make target_ops::make_corefile_notes return a unique ptr
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index d67de7c05a738fce3120d5ba4186e33f88fbf943..0319b9a7b041cba71920007cde468986c00f8513 100644 (file)
@@ -1,3 +1,53 @@
+2020-10-22  Simon Marchi  <simon.marchi@efficios.com>
+
+       * target.h (struct target_ops) <make_corefile_notes>:
+       Change return type to unique pointer.
+       * target.c (dummy_make_corefile_notes): Likewise.
+       * exec.c (struct exec_target) <make_corefile_notes>:
+       Likewise.
+       (exec_target::make_corefile_notes): Likewise.
+       * procfs.c (class procfs_target) <make_corefile_notes>:
+       Likewise.
+       (procfs_do_thread_registers): Adjust to unique pointer.
+       (struct procfs_corefile_thread_data): Add constructor.
+       <note_data>: Change type to unique pointer.
+       (procfs_corefile_thread_callback): Adjust to unique pointer.
+       (procfs_target::make_corefile_notes): Change return type to
+       unique pointer.
+       * target-delegates.c: Re-generate.
+       * gcore.c (write_gcore_file_1): Adjust.
+       * target-debug.h (target_debug_print_gdb_unique_xmalloc_ptr_char):
+       New.
+
+2020-10-22  Tom de Vries  <tdevries@suse.de>
+
+       * block.c (find_block_in_blockvector): Make sure the returned block
+       contains pc.
+
+2020-10-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR gdb/26693
+       * dwarf2/read.c (load_full_comp_unit): Add existing_cu
+       parameter.
+       (load_cu): Pass existing CU.
+       (process_imported_unit_die): Likewise.
+       (follow_die_offset): Likewise.
+
+2020-10-22  Luis Machado  <luis.machado@linaro.org>
+
+       * corelow.c (core_target::xfer_partial): Also check for an empty
+       m_core_unavailable_mappings vector.
+
+2020-10-22  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * expprint.c (dump_subexp_body_standard): Print RANGE_HAS_STRIDE.
+       * expression.h (enum range_type): Add RANGE_HAS_STRIDE.
+       * f-exp.y (arglist): Allow for a series of subranges.
+       (subrange): Add cases for subranges with strides.
+       * f-lang.c (value_f90_subarray): Catch use of array strides and
+       throw an error.
+       * parse.c (operator_length_standard): Handle RANGE_HAS_STRIDE.
+
 2020-10-22  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * expprint.c (print_subexp_standard): Change enum range_type to
This page took 0.028216 seconds and 4 git commands to generate.