This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] New class allocate_on_obstack


Yao Qi <qiyaoltc@gmail.com> writes:

> 2018-02-06  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.

I pushed it in.

-- 
Yao (齐尧)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]