objfile_per_bfd_storage non-POD
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 15344682f0725b8cdce84fe54b794891329baf34..c455d41d2f78faa9a1cbe10cab8dbd415e4ad3b4 100644 (file)
@@ -1,3 +1,14 @@
+2017-06-27  Pedro Alves  <palves@redhat.com>
+
+       * objfiles.c (get_objfile_bfd_data): Call bfd_alloc instead of
+       bfd_zalloc.  Call objfile_per_bfd_storage's ctor.
+       (free_objfile_per_bfd_storage): Call objfile_per_bfd_storage's
+       dtor.
+       * objfiles.h (objfile_per_bfd_storage): Add ctor.  Make
+       'storage_obstack' field an auto_obstack.  In-class initialize all
+       non-bitfield fields.  Make minsyms_read bool.
+       * symfile.c (read_symbols): Adjust.
+
 2017-06-27  Alan Hayward  <alan.hayward@arm.com>
 
        * remote-sim.c (gdbsim_fetch_register): Use byte_vector.
This page took 0.023458 seconds and 4 git commands to generate.