Re: [PATCH 06/10] Add REGISTRY for struct address_space.

Doug Evans
2013-11-17T20:55:51Z

On Sat, Nov 2, 2013 at 10:54 PM, Yao Qi <yao@codesourcery.com> wrote:
> This patch adds REGISTRY for struct address_space.
>
> gdb:
>
> 2013-11-02 Yao Qi <yao@codesourcery.com>
>
> * progspace.c: DEFINE_REGISTRY for address_space.
> (new_address_space): Call address_space_alloc_data.
> (free_address_space): Call address_space_free_data.
> (struct address_space): Move it to ...
> * progspace.h: ... here.
> (struct address_space) <REGISTRY_FIELDS>: New.
> Use DECLARE_REGISTRY.

Ok.

[Maybe struct address_space could be kept in progspace.c, dunno.
Perhaps a later patch requires moving it to a header.]