Make the objfile constructor private
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 766cff499e3666c604d3ed3ab334400f670e29a9..393d43ef3169f1e738a6a53fd7dd06b6e8011bb8 100644 (file)
@@ -1,3 +1,22 @@
+2019-12-12  Tom Tromey  <tom@tromey.com>
+
+       * symfile.c (symbol_file_add_with_addrs): Use objfile::make.
+       * objfiles.h (struct objfile): Make constructor private.
+       <make>: New static method.
+       * jit.c (jit_object_close_impl): Update.
+
+2019-12-12  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * jit.c (jit_reader_try_read_symtab): Replace xmalloc/xfree with
+       gdb::byte_vector.
+
+2019-12-12  Tom Tromey  <tromey@adacore.com>
+
+       * xml-support.c (xml_fetch_content_from_file): Don't call
+       malloc_failure.
+       * utils.h (class gdb_argv): Remove malloc_failure comment.
+       * utils.c (gdb_argv::reset): Don't call malloc_failure.
+
 2019-12-12  Tom Tromey  <tromey@adacore.com>
 
        * Makefile.in (ALL_TARGET_OBS): Add riscv-ravenscar-thread.o.
This page took 0.028018 seconds and 4 git commands to generate.