Convert symbol_cache to type-safe registry API
authorTom Tromey <tom@tromey.com>
Wed, 10 Apr 2019 03:46:16 +0000 (21:46 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 8 May 2019 22:01:45 +0000 (16:01 -0600)
commit3017b94d60f1e8929886be6992547973ad354f4c
tree0a6753535a856514959fbd1c1431d9241bfdee4e
parenta32ad8c55c5c6bcdbc6773b6b825c4505fd44c16
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.
gdb/ChangeLog
gdb/symtab.c
This page took 0.040646 seconds and 4 git commands to generate.