aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-08-22 15:31:12 +0000
committerTom Tromey <tromey@redhat.com>2012-08-22 15:31:12 +0000
commit6b81941e358ef95a24d90b971dd05f6c30dfa9a7 (patch)
treeb26940e2b9b05fa33f60aa5b2a4a9f169bc9f859 /gdb/objfiles.c
parent * auto-load.c (_initialize_auto_load): Update. (diff)
downloadbinutils-gdb-6b81941e358ef95a24d90b971dd05f6c30dfa9a7.tar.gz
binutils-gdb-6b81941e358ef95a24d90b971dd05f6c30dfa9a7.tar.bz2
binutils-gdb-6b81941e358ef95a24d90b971dd05f6c30dfa9a7.zip
* 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/objfiles.c')
-rw-r--r--gdb/objfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index b33a0cf4499..57dd5946350 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -58,7 +58,7 @@
/* Keep a registry of per-objfile data-pointers required by other GDB
modules. */
-DEFINE_REGISTRY (objfile)
+DEFINE_REGISTRY (objfile, REGISTRY_ACCESS_FIELD)
/* Externally visible variables that are owned by this module.
See declarations in objfile.h for more info. */