summaryrefslogtreecommitdiff
path: root/gdb/inferior.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-08-22 15:31:10 +0000
committerTom Tromey <tromey@redhat.com>2012-08-22 15:31:10 +0000
commitc4780b7ad5baaee7a84bef83839b4ca43156387e (patch)
treecbac853c43e75f509e1de18ddf87e68eaa23883f /gdb/inferior.c
parentb786bc9853154980d210b688c850b081fc14f22e (diff)
downloadgdb-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/inferior.c')
-rw-r--r--gdb/inferior.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inferior.c b/gdb/inferior.c
index c812d3980ff..f45058aa815 100644
--- a/gdb/inferior.c
+++ b/gdb/inferior.c
@@ -39,7 +39,7 @@ void _initialize_inferiors (void);
/* Keep a registry of per-inferior data-pointers required by other GDB
modules. */
-DEFINE_REGISTRY (inferior)
+DEFINE_REGISTRY (inferior, REGISTRY_ACCESS_FIELD)
struct inferior *inferior_list = NULL;
static int highest_inferior_num;