Fix another build failure in tui-selftests.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 1465c756abc9b6510ba572ec49f4e67f5025ea32..8837a23888142ed3e5e6f60efebd45b7b58f38cf 100644 (file)
@@ -1,3 +1,104 @@
+2019-12-04  Tom Tromey  <tromey@adacore.com>
+
+       * unittests/tui-selftests.c: Conditionally include tui-winsource.h.
+
+2019-12-04  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2read.c (process_structure_scope): Initialize
+       "discr_offset".
+
+2019-12-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * mi/mi-symbol-cmds.c (mi_symbol_info): Take extra parameter, and
+       add it into the search spec.
+       (parse_max_results_option): New function.
+       (mi_info_functions_or_variables): Parse -max-results flag and pass
+       it to mi_symbol_info.
+       (mi_cmd_symbol_info_modules): Likewise.
+       (mi_cmd_symbol_info_types): Likewise.
+       * symtab.c (global_symbol_searcher::add_matching_symbols): Change
+       return type to bool, change result container into a set, and don't
+       add new results if we have enough already.
+       (global_symbol_searcher::add_matching_msymbols): Change return
+       type to bool, and don't add new results if we have enough already.
+       (sort_search_symbols_remove_dups): Delete.
+       (global_symbol_searcher::search): Early exit from search loop when
+       we have enough results.  Use a std::set to collect the results
+       from calling add_matching_symbols.
+       * symtab.h (global_symbol_searcher) <set_max_seach_results>: New
+       member function.
+       (global_symbol_searcher) <m_max_search_results>: New member
+       variable.
+       (global_symbol_searcher) <add_matching_symbols>: Update header
+       comment and change return type to bool.
+       (global_symbol_searcher) <add_matching_msymbols>: Update header
+       comment and change return type to bool.
+
+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.030154 seconds and 4 git commands to generate.