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


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.]


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