New class allocate_on_obstack
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 5c6f67a0fec359efaad1482f44ad07a09c1116e7..250362e91281ba1a538890bafae7558a2f72a157 100644 (file)
@@ -1,3 +1,13 @@
+2018-02-16  Yao Qi  <yao.qi@linaro.org>
+
+       * block.c (block_namespace_info): Inherit allocate_on_obstack.
+       (block_initialize_namespace): Use new.
+       * dwarf2read.c (dwarf2_per_objfile): Inherit allocate_on_obstack.
+       (dwarf2_free_objfile): Use delete.
+       * gdbtypes.c (type_pair): Inherit allocate_on_obstack.
+       (copy_type_recursive): Use new.
+       * gdb_obstack.h (allocate_on_obstack): New.
+
 2018-02-15  Yao Qi  <yao.qi@linaro.org>
 
        PR gdb/22849
This page took 0.0256150000000001 seconds and 4 git commands to generate.