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 1/5] Add REGISTRY for struct address_space.


>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

Yao> This patch adds REGISTRY for struct address_space.

Yao> 2013-10-23  Yao Qi  <yao@codesourcery.com>

Yao> 	* progspace.c: DEFINE_REGISTRY for address_space.
Yao> 	(new_address_space): Call address_space_alloc_data.
Yao> 	(free_address_space): Call address_space_free_data.
Yao> 	(struct address_space): Move it to ...
Yao> 	* progspace.h: ... here.
Yao> 	(struct address_space) <REGISTRY_FIELDS>: New.
Yao> 	Use DECLARE_REGISTRY.

This is fine, though I think it's best to hold it until the series as a
whole has been approved.

Tom


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