diff options
author | Tom Tromey <tromey@redhat.com> | 2012-08-22 15:31:12 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-08-22 15:31:12 +0000 |
commit | 6b81941e358ef95a24d90b971dd05f6c30dfa9a7 (patch) | |
tree | b26940e2b9b05fa33f60aa5b2a4a9f169bc9f859 /gdb/inferior.c | |
parent | 8e260fc026e568894546d065e63ecec2c346f6a4 (diff) | |
download | gdb-6b81941e358ef95a24d90b971dd05f6c30dfa9a7.zip gdb-6b81941e358ef95a24d90b971dd05f6c30dfa9a7.tar.gz gdb-6b81941e358ef95a24d90b971dd05f6c30dfa9a7.tar.bz2 |
* 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inferior.c b/gdb/inferior.c index c812d39..f45058a 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; |