This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/5] Add REGISTRY for struct address_space.
- From: Tom Tromey <tromey at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Mon, 28 Oct 2013 14:46:29 -0600
- Subject: Re: [PATCH 1/5] Add REGISTRY for struct address_space.
- Authentication-results: sourceware.org; auth=none
- References: <1382516855-32218-1-git-send-email-yao at codesourcery dot com> <1382516855-32218-2-git-send-email-yao at codesourcery dot com>
>>>>> "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