From c4780b7ad5baaee7a84bef83839b4ca43156387e Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 22 Aug 2012 15:31:10 +0000 Subject: * registry.h (struct registry_fields): New. (REGISTRY_FIELDS): Redefine. (REGISTRY_ACCESS_FIELD): New macro. (DEFINE_REGISTRY): Add ACCESS argument. Update defined functions. --- gdb/inferior.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/inferior.c') 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; -- cgit v1.2.1