* registry.h (struct registry_fields): New.
(REGISTRY_FIELDS): Redefine. (REGISTRY_ACCESS_FIELD): New macro. (DEFINE_REGISTRY): Add ACCESS argument. Update defined functions.
This commit is contained in:
parent
8e260fc026
commit
6b81941e35
5 changed files with 63 additions and 27 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue