diff options
author | Tom Tromey <tromey@redhat.com> | 2012-08-22 15:31:10 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-08-22 15:31:10 +0000 |
commit | c4780b7ad5baaee7a84bef83839b4ca43156387e (patch) | |
tree | cbac853c43e75f509e1de18ddf87e68eaa23883f /gdb/progspace.c | |
parent | b786bc9853154980d210b688c850b081fc14f22e (diff) | |
download | gdb-c4780b7ad5baaee7a84bef83839b4ca43156387e.tar.gz |
* registry.h (struct registry_fields): New.
(REGISTRY_FIELDS): Redefine.
(REGISTRY_ACCESS_FIELD): New macro.
(DEFINE_REGISTRY): Add ACCESS argument. Update defined
functions.
Diffstat (limited to 'gdb/progspace.c')
-rw-r--r-- | gdb/progspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/progspace.c b/gdb/progspace.c index 6498738909a..db8c5a3b096 100644 --- a/gdb/progspace.c +++ b/gdb/progspace.c @@ -42,7 +42,7 @@ static int highest_address_space_num; /* Keep a registry of per-program_space data-pointers required by other GDB modules. */ -DEFINE_REGISTRY (program_space) +DEFINE_REGISTRY (program_space, REGISTRY_ACCESS_FIELD) |