diff options
author | Tom Tromey <tom@tromey.com> | 2019-04-09 21:46:16 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-05-08 16:01:45 -0600 |
commit | 3017b94d60f1e8929886be6992547973ad354f4c (patch) | |
tree | 0a6753535a856514959fbd1c1431d9241bfdee4e /gdb/linux-tdep.c | |
parent | a32ad8c55c5c6bcdbc6773b6b825c4505fd44c16 (diff) | |
download | gdb-3017b94d60f1e8929886be6992547973ad354f4c.zip gdb-3017b94d60f1e8929886be6992547973ad354f4c.tar.gz gdb-3017b94d60f1e8929886be6992547973ad354f4c.tar.bz2 |
Convert symbol_cache to type-safe registry API
This changes the symbol_cache to use the type-safe registry API.
gdb/ChangeLog
2019-05-08 Tom Tromey <tom@tromey.com>
* symtab.c (struct symbol_cache): Add destructor and
initializers.
(symbol_cache_key): Move. Change type.
(make_symbol_cache, free_symbol_cache): Remove.
(get_symbol_cache): Update.
(symbol_cache_cleanup): Remove.
(ALL_PSPACES, symbol_cache_flush)
(maintenance_print_symbol_cache)
(maintenance_print_symbol_cache_statistics, _initialize_symtab):
Update.
Diffstat (limited to 'gdb/linux-tdep.c')
0 files changed, 0 insertions, 0 deletions