gdb: make target_ops::make_corefile_notes return a unique ptr
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a976442f9a41384d44113b799573c8e76dd41812..0319b9a7b041cba71920007cde468986c00f8513 100644 (file)
@@ -1,3 +1,38 @@
+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
This page took 0.050893 seconds and 4 git commands to generate.