gdb: Split global symbol search into separate functions
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 1465c756abc9b6510ba572ec49f4e67f5025ea32..391b23e9e3fddd51e8ba32dd9d83e14df970a531 100644 (file)
@@ -1,3 +1,68 @@
+2019-12-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * symtab.c (symbol_search::compare_search_syms): Update header
+       comment.
+       (global_symbol_searcher::is_suitable_msymbol): New function.
+       (global_symbol_searcher::expand_symtabs): New function.
+       (global_symbol_searcher::add_matching_symbols): New function.
+       (global_symbol_searcher::add_matching_msymbols): New function.
+       (global_symbol_searcher::search): Move most of the content
+       into the new functions above, and call them as needed.
+       * symtab.h (global_symbol_searcher) <expand_symtabs>: New member
+       function.
+       (global_symbol_searcher) <add_matching_symbols>: New member
+       function.
+       (global_symbol_searcher) <add_matching_msymbols>: New member
+       function.
+       (global_symbol_searcher) <is_suitable_msymbol>: New member
+       function.
+
+2019-12-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * mi/mi-cmds.c (mi_cmds): Add -symbol-info-module-functions and
+       -symbol-info-module-variables entries.
+       * mi/mi-cmds.h (mi_cmd_symbol_info_module_functions): Declare.
+       (mi_cmd_symbol_info_module_variables): Declare.
+       * mi/mi-symbol-cmds.c
+       (module_symbol_search_iterator): New typedef.
+       (output_module_symbols_in_single_module_and_file): New function.
+       (output_module_symbols_in_single_module): New function.
+       (mi_info_module_functions_or_variables): New function.
+       (mi_cmd_symbol_info_module_functions): New function.
+       (mi_cmd_symbol_info_module_variables): New function.
+       * NEWS: Mention new MI command.
+
+2019-12-03  Christian Biesinger  <cbiesinger@google.com>
+
+       * bcache.c (hash): Remove.
+       (hash_continue): Remove.
+       * bcache.h (hash): Remove.
+       (hash_continue): Remove.
+       (struct bcache) <ctor>: Update.
+       * psymtab.c (psymbol_hash): Update.
+       * stabsread.c (hashname): Update.
+       * utils.h (fast_hash): Add an argument for a start value,
+       defaulting to zero.
+
+2019-12-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+       * symtab.c (symbol_cache_clear_slot):  Move close to cleared type.
+       (destroy_block_symbol_cache): New function.
+       (symbol_cache:~symbol_cache) Call destroy_block_symbol_cache.
+       (resize_symbol_cache): Likewise.
+
+2019-12-02  Tom Tromey  <tom@tromey.com>
+
+       * unittests/tui-selftests.c (run_tests): Make conditional.
+       (_initialize_tui_selftest): Make conditional.
+
+2019-12-02  Christian Biesinger  <cbiesinger@google.com>
+
+       * aix-thread.c (debug_aix_thread): Change type to bool.
+
+2019-12-02  Luis Machado  <luis.machado@linaro.org>
+
+       * infrun.c (follow_fork_inferior): Remove outdated FIXME comment.
+
 2019-12-01  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * dwarf2read.c (read_tag_string_type): Read the fields required to
This page took 0.03954 seconds and 4 git commands to generate.