+2019-11-27 Christian Biesinger <cbiesinger@google.com>
+
+ * maint.c (n_worker_threads): Default to 0.
+ (worker_threads_disabled): New function.
+ * maint.h (worker_threads_disabled): New function.
+ * minsyms.c (minimal_symbol_reader::record_full): Call symbol_set_names
+ here if worker_threads_disabled () is true.
+ (minimal_symbol_reader::install): Skip all threading if
+ worker_threads_disabled () is true.
+
+2019-11-27 Christian Biesinger <cbiesinger@google.com>
+
+ * minsyms.c (add_minsym_to_hash_table): Use a previously computed
+ hash code if possible.
+ (add_minsym_to_demangled_hash_table): Likewise.
+ (minimal_symbol_reader::install): Compute the hash codes for msymbol
+ on the background thread.
+ * symtab.h (struct minimal_symbol) <hash_value, demangled_hash_value>:
+ Add these fields.
+
+2019-11-27 Christian Biesinger <cbiesinger@google.com>
+
+ * minsyms.c (minimal_symbol_reader::install): Also compute the hash
+ of the mangled name on the background thread.
+ * symtab.c (symbol_set_names): Allow passing in the hash of the
+ linkage_name.
+ * symtab.h (symbol_set_names): Likewise.
+
+2019-11-27 Kevin Buettner <kevinb@redhat.com>
+
+ * dwarf2read.c (inherit_abstract_dies): Ensure that delayed
+ physnames are computed for inherited DIEs.
+
+2019-11-27 Tom Tromey <tromey@adacore.com>
+
+ * dwarf2read.h (struct dwarf2_per_objfile): Remove unnecessary
+ backslashes.
+ * cp-support.c: Remove unnecessary backslashes.
+
+2019-11-27 Christian Biesinger <cbiesinger@google.com>
+
+ * ada-exp.y (write_ambiguous_var): Replace SYMBOL_SET_LINKAGE_NAME
+ with sym->set_linkage_name.
+ * coffread.c (coff_read_enum_type): Likewise.
+ * mdebugread.c (parse_symbol): Likewise.
+ * stabsread.c (patch_block_stabs): Likewise.
+ (define_symbol): Likewise.
+ (read_enum_type): Likewise.
+ (common_block_end): Likewise.
+ * symtab.h (struct general_symbol_info) <set_linkage_name>: New
+ function.
+ (SYMBOL_SET_LINKAGE_NAME): Remove.
+ * xcoffread.c (process_xcoff_symbol): Replace SYMBOL_SET_LINKAGE_NAME
+ with sym->set_linkage_name.
+
+2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * mi/mi-cmds.c (mi_cmds): Add 'symbol-info-modules' entry.
+ * mi/mi-cmds.h (mi_cmd_symbol_info_modules): Declare.
+ * mi/mi-symbol-cmds.c (mi_cmd_symbol_info_modules): New function.
+ * NEWS: Mention new MI command.
+
+2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * mi/mi-cmds.c (mi_cmds): Add '-symbol-info-functions',
+ '-symbol-info-types', and '-symbol-info-variables'.
+ * mi/mi-cmds.h (mi_cmd_symbol_info_functions): Declare.
+ (mi_cmd_symbol_info_types): Declare.
+ (mi_cmd_symbol_info_variables): Declare.
+ * mi/mi-symbol-cmds.c: Add 'source.h' and 'mi-getopt.h' includes.
+ (output_debug_symbol): New function.
+ (output_nondebug_symbol): New function.
+ (mi_symbol_info): New function.
+ (mi_info_functions_or_variables): New function.
+ (mi_cmd_symbol_info_functions): New function.
+ (mi_cmd_symbol_info_types): New function.
+ (mi_cmd_symbol_info_variables): New function.
+ * NEWS: Mention new commands.
+
+2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * symtab.c (symbol_to_info_string): New function, most content
+ moved from print_symbol_info, but updated to return a std::string.
+ (print_symbol_info): Update to use symbol_to_info_string and print
+ returned string.
+ * symtab.h (symbol_to_info_string): Declare new function.
+
+2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * python/python.c (gdbpy_rbreak): Convert to using
+ global_symbol_searcher.
+ * symtab.c (file_matches): Convert return type to bool, change
+ file list to std::vector, update header comment.
+ (search_symbols): Rename to...
+ (global_symbol_searcher::search): ...this and update now its
+ a member function of global_symbol_searcher. Take account of the
+ changes to file_matches.
+ (symtab_symbol_info): Convert to using global_symbol_searcher.
+ (rbreak_command): Likewise.
+ (search_module_symbols): Likewise.
+ * symtab.h (enum symbol_search): Update comment.
+ (search_symbols): Remove declaration.
+ (class global_symbol_searcher): New class.
+
+2019-11-26 Tom Tromey <tromey@adacore.com>
+
+ * cp-support.c (_initialize_cp_support): Conditionally initialize
+ gdb_demangle_attempt_core_dump.
+
+2019-11-26 Tom Tromey <tom@tromey.com>
+
+ * python/py-function.c (fnpy_init): Update.
+ * value.h (add_internal_function): Adjust declaration.
+ * value.c (function_destroyer): Remove.
+ (do_add_internal_function): Don't set destroyer or copy name.
+ (add_internal_function): Take unique_xmalloc_ptr<char> for name.
+ Set name_allocated.
+ * python/py-cmd.c (cmdpy_destroyer): Don't free "name".
+ (cmdpy_init): Set name_allocated.
+ * cli/cli-decode.h (struct cmd_list_element) <name_allocated>: New
+ member.
+ (~cmd_list_element): Free "name" if needed.
+
+2019-11-26 Tom Tromey <tom@tromey.com>
+
+ * value.h (add_internal_function): Add new overload. Move
+ documentation from value.h.
+ * value.c (do_add_internal_function): New function.
+ (add_internal_function): Use it. Add new overload.
+ (function_destroyer): Don't free doc.
+ * python/py-function.c (fnpy_init): Update.
+
+2019-11-26 Tom Tromey <tom@tromey.com>
+
+ * python/py-cmd.c (cmdpy_destroyer): Don't free "doc".
+ (cmdpy_init): Set "doc_allocated".
+
+2019-11-26 Tom Tromey <tom@tromey.com>
+
+ * gdbsupport/thread-pool.c (thread_pool::set_thread_count): Set
+ name of worker thread.
+ * gdbsupport/common.m4 (GDB_AC_COMMON): Check for
+ pthread_setname_np.
+ * configure, config.in: Rebuild.
+
+2019-11-26 Tom Tromey <tom@tromey.com>
+
+ * python/python.c (class gdbpy_gil): New.
+ (struct gdbpy_event): Add constructor, destructor, operator().
+ (gdbpy_post_event): Use run_on_main_thread.
+ (gdbpy_initialize_events): Remove.
+ (do_start_initialization): Update.
+
+2019-11-26 Tom Tromey <tom@tromey.com>
+
+ * NEWS: Add entry.
+ * maint.c (_initialize_maint_cmds): Add "worker-threads" maint
+ commands. Call update_thread_pool_size.
+ (update_thread_pool_size, maintenance_set_worker_threads): New
+ functions.
+ (n_worker_threads): New global.
+
+2019-11-26 Christian Biesinger <cbiesinger@google.com>
+ Tom Tromey <tom@tromey.com>
+
+ * minsyms.c (minimal_symbol_reader::install): Use
+ parallel_for_each.
+ * gdbsupport/parallel-for.h: New file.
+ * Makefile.in (HFILES_NO_SRCDIR): Add gdbsupport/parallel-for.h.
+
+2019-11-26 Christian Biesinger <cbiesinger@google.com>
+ Tom Tromey <tom@tromey.com>
+
+ * gdbsupport/thread-pool.h: New file.
+ * gdbsupport/thread-pool.c: New file.
+ * Makefile.in (COMMON_SFILES): Add thread-pool.c.
+ (HFILES_NO_SRCDIR): Add thread-pool.h.
+
+2019-11-26 Tom Tromey <tom@tromey.com>
+
+ * event-top.h (thread_local_segv_handler): Declare.
+ * event-top.c (thread_local_segv_handler): New global.
+ (install_handle_sigsegv, handle_sigsegv): New functions.
+ (async_init_signals): Install SIGSEGV handler.
+ * cp-support.c (gdb_demangle_jmp_buf): Change type. Now
+ thread-local.
+ (report_failed_demangle): New function.
+ (gdb_demangle): Make core_dump_allowed atomic. Remove signal
+ handler-setting code, instead use segv_handler. Run warning code
+ on main thread.
+
+2019-11-26 Tom Tromey <tom@tromey.com>
+
+ * run-on-main-thread.c: New file.
+ * run-on-main-thread.h: New file.
+ * unittests/main-thread-selftests.c: New file.
+ * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+ main-thread-selftests.c.
+ (HFILES_NO_SRCDIR): Add run-on-main-thread.h.
+ (COMMON_SFILES): Add run-on-main-thread.c.
+
+2019-11-26 Tom Tromey <tom@tromey.com>
+
+ * main.c (setup_alternate_signal_stack): Remove.
+ (captured_main_1): Use gdb::alternate_signal_stack.
+ * gdbsupport/alt-stack.h: New file.
+
+2019-11-26 Tom Tromey <tom@tromey.com>
+
+ * gdbsupport/signals-state-save-restore.c (original_signal_mask):
+ Remove comment.
+ (save_original_signals_state, restore_original_signals_state): Use
+ gdb_sigmask.
+ * linux-nat.c (block_child_signals, restore_child_signals_mask)
+ (_initialize_linux_nat): Use gdb_sigmask.
+ * guile/guile.c (_initialize_guile): Use block_signals.
+ * Makefile.in (HFILES_NO_SRCDIR): Add gdb-sigmask.h.
+ * gdbsupport/gdb-sigmask.h: New file.
+ * event-top.c (async_sigtstp_handler): Use gdb_sigmask.
+ * cp-support.c (gdb_demangle): Use gdb_sigmask.
+ * gdbsupport/common.m4 (GDB_AC_COMMON): Check for
+ pthread_sigmask.
+ * configure, config.in: Rebuild.
+ * gdbsupport/block-signals.h: New file.
+
+2019-11-26 Tom Tromey <tom@tromey.com>
+
+ * acinclude.m4: Include ax_pthread.m4.
+ * Makefile.in (PTHREAD_CFLAGS, PTHREAD_LIBS): New variables.
+ (INTERNAL_CFLAGS_BASE): Use PTHREAD_CFLAGS.
+ (CLIBS): Use PTHREAD_LIBS.
+ (aclocal_m4_deps): Add ax_pthread.m4.
+ * config.in, configure: Rebuild.
+ * gdbsupport/common.m4 (GDB_AC_COMMON): Check for std::thread.
+
+2019-11-26 Tom Tromey <tom@tromey.com>
+
+ * symtab.h (struct minimal_symbol) <name_set>: New member.
+ * minsyms.c (minimal_symbol_reader::record_full): Copy name.
+ Don't call symbol_set_names.
+ (minimal_symbol_reader::install): Call symbol_set_names.
+
+2019-11-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * python/python.c (gdbpy_enter::~gdbpy_enter): Release GIL after
+ restore_active_ext_lang, as GIL is needed for (indirectly)
+ called PyOS_InterruptOccurred.
+
+2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+
+ * sparc-nat.c (sparc_xfer_wcookie): Sync declaration with
+ definition.
+
+2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+
+ * remote-sim.c (simulator_command): Make static, remove
+ declaration.
+
+2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+
+ * unittests/array-view-selftests.c (check_ptr_size_ctor2): Make
+ static.
+ * unittests/basic_string_view/capacity/1.cc (test01): Likewise.
+ * unittests/basic_string_view/cons/char/1.cc (test01): Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/cons/char/2.cc (test03): Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/cons/char/3.cc (test05): Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/element_access/char/1.cc (test01):
+ Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/element_access/char/empty.cc (main):
+ Likewise.
+ * unittests/basic_string_view/element_access/char/front_back.cc
+ (test01): Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/inserters/char/2.cc (test05):
+ Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/modifiers/remove_prefix/char/1.cc
+ (test01): Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/modifiers/remove_suffix/char/1.cc
+ (test01): Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/modifiers/swap/char/1.cc (test01):
+ Likewise.
+ * unittests/basic_string_view/operations/compare/char/1.cc
+ (test01): Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/operations/compare/char/13650.cc
+ (test01): Likewise.
+ * unittests/basic_string_view/operations/copy/char/1.cc (test01):
+ Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/operations/data/char/1.cc (test01):
+ Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/operations/find/char/1.cc (test01):
+ Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/operations/find/char/2.cc (test02):
+ Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/operations/find/char/3.cc (test03):
+ Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/operations/find/char/4.cc (main):
+ Likewise.
+ * unittests/basic_string_view/operations/rfind/char/1.cc (test01):
+ Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/operations/rfind/char/2.cc (test02):
+ Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/operations/rfind/char/3.cc (test03):
+ Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/operations/substr/char/1.cc
+ (test01): Likewise.
+ (main): Likewise.
+ * unittests/basic_string_view/operators/char/2.cc (main):
+ Likewise.
+ * unittests/optional/assignment/1.cc (test): Likewise.
+ * unittests/optional/assignment/2.cc (test): Likewise.
+ * unittests/optional/assignment/3.cc (test): Likewise.
+ * unittests/optional/assignment/4.cc (test): Likewise.
+ * unittests/optional/assignment/5.cc (test): Likewise.
+ * unittests/optional/assignment/6.cc (test): Likewise.
+ * unittests/optional/assignment/7.cc (test): Likewise.
+ * unittests/optional/cons/copy.cc (test): Likewise.
+ * unittests/optional/cons/default.cc (test): Likewise.
+ * unittests/optional/cons/move.cc (test): Likewise.
+ * unittests/optional/cons/value.cc (test): Likewise.
+ * unittests/optional/in_place.cc (test): Likewise.
+ * unittests/optional/observers/1.cc (test): Likewise.
+ * unittests/optional/observers/2.cc (test): Likewise.
+
+2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+
+ * tui-win.h (tui_set_var_cmd): Remove.
+ * tui-win.c (tui_set_var_cmd): Make static.
+
+2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+
+ * breakpoint.h (hbreak_command_wrapper, thbreak_command_wrapper,
+ rbreak_command_wrapper): Remove.
+ * symtab.c (rbreak_command_wrapper): Remove.
+
+2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+
+ * inferior.h (info_terminal_command): Remove declaration.
+ * inflow.c (info_terminal_command): Make static.
+
+2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+
+ * inferior.c (exit_inferior_silent): Remove.
+
+2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+
+ * dictionary.c (dict_empty, mdict_empty): Remove.
+ * dictionary.c (mdict_empty): Remove.
+
+2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+
+ * arc-tdep.c (arc_insn_get_memory_base_reg): Make static.
+ (arc_insn_get_memory_offset): Likewise.
+ (arc_insn_dump): Likewise.
+ * cp-support.c (test_cp_symbol_name_matches): Likewise.
+ * csky-linux-tdep.c (csky_supply_fregset): Likewise.
+ * dictionary.c (dict_iterator_next): Likewise.
+ (dict_iter_match_first): Likewise.
+ (dict_iter_match_next): Likewise.
+ * f-lang.c (evaluate_subexp_f): Likewise.
+ * hppa-tdep.c (hppa_read_pc): Likewise.
+ * i386-tdep.c (i386_floatformat_for_type): Likewise.
+ * parse.c (write_exp_elt_msym): Likewise.
+ * ppc-linux-tdep.c (ppc_floatformat_for_type): Likewise.
+ * remote.c (remote_packet_size): Likewise.
+ (remote_notif_stop_parse): Likewise.
+ * rs6000-aix-tdep.c (aix_sighandle_frame_sniffer): Likewise.
+ * s12z-tdep.c (s12z_disassemble_info): Likewise.
+ * source.c (prepare_path_for_appending): Likewise.
+ * sparc64-linux-tdep.c
+ (sparc64_linux_handle_segmentation_fault); Likewise.
+ * stack.c (frame_selection_by_function_completer): Likewise.
+
+2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+
+ * completer.c (set_gdb_completion_word_break_characters):
+ Remove.
+
+2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+
+ * dwarf-index-write.c: Include dwarf-index-write.h.
+ * mi/mi-interp.c: Include mi/mi-interp.h.
+
+2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+
+ * aarch32-tdep.c: Include aarch32-tdep.h.
+ * aarch32-tdep.h: Forward-declare struct target_desc.
+
+2019-11-26 Christian Biesinger <cbiesinger@google.com>
+
+ * linux-nat.c (detach_one_lwp): Call safe_strerror instead of
+ strerror.
+ * nto-procfs.c (nto_procfs_target::create_inferior): Likewise.
+ * windows-nat.c (windows_nat_target::create_inferior): Likewise.
+
+2019-11-25 Tom de Vries <tdevries@suse.de>
+
+ * contrib/words.sh: Add -c option.
+
+2019-11-25 Christian Biesinger <cbiesinger@google.com>
+
+ * solib.c (solib_find_1): Change int to bool.
+ (exec_file_find): Change int to bool.
+ (solib_find): Change int to bool.
+ (solib_read_symbols): Change int to bool.
+ (solib_used): Change int to bool.
+ (solib_add): Change int to bool.
+ (info_sharedlibrary_command): Change int to bool.
+ (solib_contains_address_p): Change int to bool.
+ (solib_keep_data_in_core): Change int to bool.
+ (in_solib_dynsym_resolve_code): Change int to bool.
+ (reload_shared_libraries_1): Change int to bool.
+ (gdb_sysroot_changed): Change int to bool.
+ * solib.h (solib_read_symbols): Change int to bool.
+ (solib_contains_address_p): Change int to bool.
+ (solib_keep_data_in_core): Change int to bool.
+ (in_solib_dynsym_resolve_code): Change int to bool.
+ (libpthread_name_p): Change int to bool.
+
+2019-11-25 Luis Machado <luis.machado@linaro.org>
+
+ * NEWS (New Commands): Mention "set debug remote-packet-max-chars".
+ * remote.c (REMOTE_DEBUG_MAX_CHAR): Remove.
+ (remote_packet_max_chars): New static global.
+ (show_remote_packet_max_chars): New function.
+ (remote_target::putpkt_binary): Adjust to use new
+ remote_packet_max_chars option.
+ (remote_target::getpkt_or_notif_sane_1): Likewise.
+ (_initialize_remote): Register new remote-packet-max-chars option.
+
+2019-11-24 Simon Marchi <simon.marchi@efficios.com>
+
+ * m68k-linux-nat.c: Include gdbarch.h.
+
+2019-11-24 Tom Tromey <tom@tromey.com>
+
+ * symfile.c (read_symbols): Update.
+ * psymtab.c (require_partial_symbols): Change type of "verbose" to
+ bool.
+ (psym_map_symtabs_matching_filename, find_pc_sect_psymtab)
+ (psym_lookup_symbol, psym_find_last_source_symtab)
+ (psym_forget_cached_source_info, psym_print_stats)
+ (psym_expand_symtabs_for_function, psym_expand_all_symtabs)
+ (psym_expand_symtabs_with_fullname, psym_map_symbol_filenames)
+ (psym_map_matching_symbols, psym_expand_symtabs_matching)
+ (psym_find_compunit_symtab_by_address)
+ (maintenance_print_psymbols, maintenance_info_psymtabs)
+ (maintenance_check_psymtabs): Update.
+ * psymtab.h (require_partial_symbols): Change type of "verbose" to
+ bool.
+
+2019-11-22 Tom Tromey <tom@tromey.com>
+
+ * observable.h: Update comments.
+
+2019-11-22 Tom Tromey <tromey@adacore.com>
+
+ * ada-tasks.c (ada_task_is_alive): Make parameter const.
+ (print_ada_task_info): Don't try to fetch thread id if task is not
+ alive.
+
+2019-11-22 Christian Biesinger <cbiesinger@google.com>
+
+ * ada-exp.y: Update.
+ * ada-lang.c (sort_choices): Update.
+ (ada_print_symbol_signature): Update.
+ (resolve_subexp): Update.
+ (ada_parse_renaming): Update.
+ (ada_read_renaming_var_value): Update.
+ (lesseq_defined_than): Update.
+ (remove_extra_symbols): Update.
+ (remove_irrelevant_renamings): Update.
+ (ada_add_block_symbols): Update.
+ (ada_collect_symbol_completion_matches): Update.
+ (ada_is_renaming_symbol): Update.
+ (aggregate_assign_from_choices): Update.
+ (ada_evaluate_subexp): Update.
+ (ada_has_this_exception_support): Update.
+ (ada_is_non_standard_exception_sym): Update.
+ (ada_add_exceptions_from_frame): Update.
+ (ada_add_global_exceptions): Update.
+ (ada_print_subexp): Update.
+ * ax-gdb.c (gen_var_ref): Update.
+ (gen_maybe_namespace_elt): Update.
+ (gen_expr_for_cast): Update.
+ (gen_expr): Update.
+ * block.h: Update.
+ * blockframe.c (find_pc_partial_function): Update.
+ * breakpoint.c (print_breakpoint_location): Update.
+ (update_static_tracepoint): Update.
+ * btrace.c (ftrace_print_function_name): Update.
+ (ftrace_function_switched): Update.
+ * buildsym.c (find_symbol_in_list): Update.
+ * c-exp.y: Update.
+ * c-typeprint.c (c_print_typedef): Update.
+ (c_type_print_template_args): Update.
+ * cli/cli-cmds.c (edit_command): Update.
+ (list_command): Update.
+ (print_sal_location): Update.
+ * coffread.c (patch_opaque_types): Update.
+ (process_coff_symbol): Update.
+ (coff_read_enum_type): Update.
+ * compile/compile-c-symbols.c (c_symbol_substitution_name): Update.
+ (convert_one_symbol): Update.
+ (hash_symname): Update.
+ (eq_symname): Update.
+ * compile/compile-cplus-symbols.c (convert_one_symbol): Update.
+ * compile/compile-cplus-types.c (debug_print_scope): Update.
+ * compile/compile-loc2c.c (do_compile_dwarf_expr_to_c): Update.
+ * compile/compile-object-load.c (get_out_value_type): Update.
+ * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
+ (search_symbol_list): Update.
+ (cp_lookup_symbol_imports_or_template): Update.
+ * cp-support.c (overload_list_add_symbol): Update.
+ * ctfread.c (psymtab_to_symtab): Update.
+ * dbxread.c (cp_set_block_scope): Update.
+ * dictionary.c (iter_match_first_hashed): Update.
+ (iter_match_next_hashed): Update.
+ (insert_symbol_hashed): Update.
+ (iter_match_next_linear): Update.
+ * dictionary.h: Update.
+ * dwarf2loc.c (func_get_frame_base_dwarf_block): Update.
+ (locexpr_describe_location_piece): Update.
+ (locexpr_describe_location_1): Update.
+ (locexpr_generate_c_location): Update.
+ (loclist_describe_location): Update.
+ (loclist_generate_c_location): Update.
+ * dwarf2read.c (dw2_debug_names_lookup_symbol): Update.
+ (read_func_scope): Update.
+ (process_enumeration_scope): Update.
+ (new_symbol): Update.
+ (dwarf2_const_value): Update.
+ (dwarf2_symbol_mark_computed): Update.
+ * eval.c (evaluate_funcall): Update.
+ (evaluate_subexp_standard): Update.
+ * expprint.c (print_subexp_standard): Update.
+ (dump_subexp_body_standard): Update.
+ * f-valprint.c (info_common_command_for_block): Update.
+ * findvar.c (get_hosting_frame): Update.
+ (default_read_var_value): Update.
+ * go-lang.c (go_symbol_package_name): Update.
+ * guile/scm-block.c (bkscm_print_block_smob): Update.
+ * guile/scm-symbol.c (syscm_print_symbol_smob): Update.
+ (gdbscm_symbol_name): Update.
+ (gdbscm_symbol_linkage_name): Update.
+ (gdbscm_symbol_print_name): Update.
+ * infcall.c (get_function_name): Update.
+ * infcmd.c (jump_command): Update.
+ (finish_command): Update.
+ * infrun.c (insert_exception_resume_breakpoint): Update.
+ * linespec.c (canonicalize_linespec): Update.
+ (create_sals_line_offset): Update.
+ (convert_linespec_to_sals): Update.
+ (complete_label): Update.
+ (find_label_symbols_in_block): Update.
+ * m2-typeprint.c (m2_print_typedef): Update.
+ * mdebugread.c (mdebug_reg_to_regnum): Update.
+ (parse_symbol): Update.
+ (mylookup_symbol): Update.
+ * mi/mi-cmd-stack.c (list_arg_or_local): Update.
+ (list_args_or_locals): Update.
+ * objc-lang.c (compare_selectors): Update.
+ (info_selectors_command): Update.
+ (compare_classes): Update.
+ (info_classes_command): Update.
+ (find_imps): Update.
+ * p-typeprint.c (pascal_print_typedef): Update.
+ * printcmd.c (build_address_symbolic): Update.
+ (info_address_command): Update.
+ (print_variable_and_value): Update.
+ * python/py-framefilter.c (extract_sym): Update.
+ (py_print_single_arg): Update.
+ * python/py-symbol.c (sympy_str): Update.
+ (sympy_get_name): Update.
+ (sympy_get_linkage_name): Update.
+ * python/python.c (gdbpy_rbreak): Update.
+ * record-btrace.c (btrace_get_bfun_name): Update.
+ (btrace_call_history): Update.
+ * rust-lang.c (rust_print_typedef): Update.
+ * solib-frv.c (frv_fdpic_find_canonical_descriptor): Update.
+ * stabsread.c (stab_reg_to_regnum): Update.
+ (define_symbol): Update.
+ (read_enum_type): Update.
+ (common_block_end): Update.
+ (cleanup_undefined_types_1): Update.
+ (scan_file_globals): Update.
+ * stack.c (print_frame_arg): Update.
+ (print_frame_args): Update.
+ (find_frame_funname): Update.
+ (info_frame_command_core): Update.
+ (iterate_over_block_locals): Update.
+ (print_block_frame_labels): Update.
+ (do_print_variable_and_value): Update.
+ (iterate_over_block_arg_vars): Update.
+ (return_command): Update.
+ * symmisc.c (dump_symtab_1): Update.
+ (print_symbol): Update.
+ * symtab.c (eq_symbol_entry): Update.
+ (symbol_cache_dump): Update.
+ (lookup_language_this): Update.
+ (find_pc_sect_line): Update.
+ (skip_prologue_sal): Update.
+ (symbol_search::compare_search_syms): Update.
+ (treg_matches_sym_type_name): Update.
+ (search_symbols): Update.
+ (print_symbol_info): Update.
+ (rbreak_command): Update.
+ (completion_list_add_symbol): Update.
+ (find_gnu_ifunc): Update.
+ (get_symbol_address): Update.
+ (search_module_symbols): Update.
+ (info_module_subcommand): Update.
+ * symtab.h (SYMBOL_NATURAL_NAME): Remove.
+ (SYMBOL_LINKAGE_NAME): Remove.
+ (SYMBOL_DEMANGLED_NAME): Remove.
+ (SYMBOL_PRINT_NAME): Remove.
+ (SYMBOL_SEARCH_NAME): Remove.
+ * tracepoint.c (set_traceframe_context): Update.
+ (validate_actionline): Update.
+ (collection_list::collect_symbol): Update.
+ (encode_actions_1): Update.
+ (info_scope_command): Update.
+ (print_one_static_tracepoint_marker): Update.
+ * typeprint.c (typedef_hash_table::add_template_parameters): Update.
+ * valops.c (address_of_variable): Update.
+ (find_overload_match): Update.
+ (find_oload_champ): Update.
+
+2019-11-22 Christian Biesinger <cbiesinger@google.com>
+
+ * ada-lang.c (ada_lookup_simple_minsym): Update.
+ (ada_collect_symbol_completion_matches): Update.
+ * ada-tasks.c (read_atcb): Update.
+ * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
+ (amd64_windows_skip_trampoline_code): Update.
+ * arm-tdep.c (skip_prologue_function): Update.
+ (arm_skip_stack_protector): Update.
+ * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
+ (arm_wince_skip_main_prologue): Update.
+ * ax-gdb.c (gen_expr): Update.
+ * block.c (call_site_for_pc): Update.
+ * blockframe.c (find_pc_partial_function): Update.
+ * breakpoint.c (set_breakpoint_location_function): Update.
+ * btrace.c (ftrace_print_function_name): Update.
+ (ftrace_function_switched): Update.
+ * c-valprint.c (print_unpacked_pointer): Update.
+ * coffread.c (coff_symfile_read): Update.
+ * compile/compile-c-symbols.c (convert_symbol_bmsym): Update.
+ * compile/compile-cplus-symbols.c (convert_symbol_bmsym): Update.
+ * dwarf-index-write.c (write_psymbols): Update.
+ * dwarf2loc.c (call_site_to_target_addr): Update.
+ (func_verify_no_selftailcall): Update.
+ (tailcall_dump): Update.
+ (call_site_find_chain_1): Update.
+ (dwarf_expr_reg_to_entry_parameter): Update.
+ * elfread.c (elf_gnu_ifunc_record_cache): Update.
+ * eval.c (evaluate_funcall): Update.
+ (evaluate_subexp_standard): Update.
+ (evaluate_subexp_for_sizeof): Update.
+ * expprint.c (print_subexp_standard): Update.
+ (dump_subexp_body_standard): Update.
+ * frame.c (get_prev_frame_always_1): Update.
+ * frv-tdep.c (frv_skip_main_prologue): Update.
+ * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
+ * gnu-v3-abi.c (gnuv3_rtti_type): Update.
+ (gnuv3_get_typename_from_type_info): Update.
+ (gnuv3_skip_trampoline): Update.
+ * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Update.
+ * i386-tdep.c (i386_skip_main_prologue): Update.
+ (i386_pe_skip_trampoline_code): Update.
+ * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
+ * infcall.c (get_function_name): Update.
+ * linespec.c (minsym_found): Update.
+ * linux-fork.c (info_checkpoints_command): Update.
+ * m32c-tdep.c (m32c_m16c_address_to_pointer): Update.
+ (m32c_m16c_pointer_to_address): Update.
+ * maint.c (maintenance_translate_address): Update.
+ * minsyms.c (add_minsym_to_hash_table): Update.
+ (add_minsym_to_demangled_hash_table): Update.
+ (lookup_minimal_symbol_mangled): Update.
+ (lookup_minimal_symbol_demangled): Update.
+ (lookup_minimal_symbol_linkage): Update.
+ (lookup_minimal_symbol_text): Update.
+ (lookup_minimal_symbol_by_pc_name): Update.
+ (minimal_symbol_is_less_than): Update.
+ (compact_minimal_symbols): Update.
+ (build_minimal_symbol_hash_tables): Update.
+ (find_solib_trampoline_target): Update.
+ * mips-tdep.c (mips_stub_frame_sniffer): Update.
+ (mips_skip_pic_trampoline_code): Update.
+ * msp430-tdep.c (msp430_skip_trampoline_code): Update.
+ * objc-lang.c (info_selectors_command): Update.
+ (info_classes_command): Update.
+ (find_methods): Update.
+ (find_imps): Update.
+ * p-valprint.c (pascal_val_print): Update.
+ * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code): Update.
+ * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
+ * printcmd.c (build_address_symbolic): Update.
+ (info_symbol_command): Update.
+ * psymtab.c (psymbol_name_matches): Update.
+ (match_partial_symbol): Update.
+ (lookup_partial_symbol): Update.
+ (print_partial_symbols): Update.
+ (sort_pst_symbols): Update.
+ (maintenance_check_psymtabs): Update.
+ * python/py-framefilter.c (py_print_frame): Update.
+ * python/python.c (gdbpy_rbreak): Update.
+ * record-btrace.c (btrace_get_bfun_name): Update.
+ (btrace_call_history): Update.
+ * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
+ (rs6000_skip_trampoline_code): Update.
+ * sol-thread.c (info_cb): Update.
+ * stabsread.c (scan_file_globals): Update.
+ * stack.c (find_frame_funname): Update.
+ (info_frame_command_core): Update.
+ * symmisc.c (dump_msymbols): Update.
+ * symtab.c (symbol_natural_name): Rename to..,
+ (general_symbol_info::natural_name): ...this.
+ (symbol_demangled_name): Rename to...
+ (general_symbol_info::demangled_name): ...this.
+ (symbol_search_name): Rename to...
+ (general_symbol_info::search_name): ...this.
+ (symbol_matches_search_name): Update.
+ (find_pc_sect_line): Update.
+ (skip_prologue_sal): Update.
+ (search_symbols): Update.
+ (print_msymbol_info): Update.
+ (rbreak_command): Update.
+ (completion_list_add_msymbol): Update.
+ (completion_list_objc_symbol): Update.
+ (get_msymbol_address): Update.
+ * symtab.h (struct general_symbol_info): Add member functions
+ natural_name (), linkage_name (), print_name (), demangled_name (),
+ and search_name ().
+ (SYMBOL_NATURAL_NAME): Update.
+ (symbol_natural_name): Move to a member function on general_symbol_info.
+ (SYMBOL_DEMANGLED_NAME): Update.
+ (symbol_demangled_name): Move to a member function on
+ general_symbol_info.
+ (SYMBOL_SEARCH_NAME): Update.
+ (symbol_search_name): Move to a member function on general_symbol_info.
+ (MSYMBOL_NATURAL_NAME): Remove.
+ (MSYMBOL_LINKAGE_NAME): Remove.
+ (MSYMBOL_PRINT_NAME): Remove.
+ (MSYMBOL_DEMANGLED_NAME): Remove.
+ (MSYMBOL_SEARCH_NAME): Remove.
+ * x86-tdep.c (x86_in_indirect_branch_thunk): Update.
+
+2019-11-22 Christian Biesinger <cbiesinger@google.com>
+
+ * symtab.c (create_demangled_names_hash): Use per_bfd->
+ minimal_symbol_count for computing the initial size, if greater
+ than our default size.
+
+2019-11-22 Tom de Vries <tdevries@suse.de>
+
+ * contrib/words.sh: Improve words extraction.
+
+2019-11-22 Tom de Vries <tdevries@suse.de>
+
+ * contrib/words.sh: Combine sed invocations.
+
+2019-11-21 Christian Biesinger <cbiesinger@google.com>
+
+ * Makefile.in: Update.
+ * demangle.c: Rename to...
+ * gdb-demangle.c: ..this.
+ (is_cplus_marker): Change return type to bool.
+ (_initialize_demangler): Rename to...
+ (_initialize_gdb_demangle): ...this.
+ * gdb-demangle.h (is_cplus_marker): Change return type to bool.
+ * symtab.h (demangle): Remove declaration; instead include
+ gdb-demangle.h.
+
+2019-11-21 Tom Tromey <tromey@adacore.com>
+
+ * gdbsupport/format.c (format_pieces): Parse %I64d.
+ * unittests/format_pieces-selftests.c (test_windows_formats): New
+ function.
+ (run_tests): Call it.
+
2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
Byte reverse display of variables with DW_END_big, DW_END_little