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/ChangeLog | |
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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2642249..c12fdd5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,18 @@ 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. + +2019-05-08 Tom Tromey <tom@tromey.com> + * symtab.c (struct main_info): Add destructor and initializers. (main_progspace_key): Move. Change type. (get_main_info): Update. |