This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] New class allocate_on_obstack
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 16 Feb 2018 16:22:12 +0000
- Subject: Re: [PATCH] New class allocate_on_obstack
- Authentication-results: sourceware.org; auth=none
- References: <1517996444-8605-1-git-send-email-yao.qi@linaro.org>
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 (齐尧)