Add REGISTRY for struct address_space.
authorYao Qi <yao@codesourcery.com>
Mon, 21 Oct 2013 08:31:17 +0000 (16:31 +0800)
committerYao Qi <yao@codesourcery.com>
Wed, 20 Nov 2013 04:41:25 +0000 (12:41 +0800)
commit3a8356ffac809056cb3650c50a00f4adb30cc147
tree4cb0dadc6a7b290ee358e2cdb18c5bbf90adf69e
parentb12039c63764299237a899c986be7a557aa62807
Add REGISTRY for struct address_space.

This patch adds REGISTRY for struct address_space.

gdb:

2013-11-20  Yao Qi  <yao@codesourcery.com>

* progspace.c (struct address_space): Update comments.
<REGISTRY_FIELDS>: New fields.
DEFINE_REGISTRY for address_space.
(new_address_space): Call address_space_alloc_data.
(free_address_space): Call address_space_free_data.
* progspace.h: Use DECLARE_REGISTRY.
gdb/ChangeLog
gdb/progspace.c
gdb/progspace.h