Don't include *sol2-tdep.o on Linux/sparc*
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index ae93dd6ed6de492dc6231b082d3426e2faf92dde..7298617b80edc8abca2c07f2f88ba6adc7ae1743 100644 (file)
+2020-06-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * configure.tgt <sparc-*-linux*> (gdb_target_obs): Remove
+       sparc-sol2-tdep.o, sol2-tdep.o, sparc64-sol2-tdep.o.
+       <sparc64-*-linux*> (gdb_target_obs): Remove sparc64-sol2-tdep.o,
+       sol2-tdep.o, sparc-sol2-tdep.o.
+       * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Make static.
+       * sparc-tdep.h (sparc32_sol2_init_abi): Remove.
+       * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Make static.
+       * sparc64-tdep.h (sparc64_sol2_init_abi): Remove.
+
+2020-06-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * amd64-sol2-tdep.c (amd64_sol2_sigtramp_p): Remove.
+       (amd64_sol2_init_abi): Use sol2_sigtramp_p.
+       Call sol2_init_abi.
+       Remove calls to set_gdbarch_skip_solib_resolver,
+       set_gdbarch_core_pid_to_str.
+       * i386-sol2-tdep.c (i386_sol2_sigtramp_p): Remove.
+       (i386_sol2_static_transform_name): Remove.
+       (i386_sol2_init_abi): Call sol2_init_abi.
+       Remove calls to set_gdbarch_sofun_address_maybe_missing,
+       set_gdbarch_static_transform_name,
+       set_gdbarch_skip_solib_resolver, set_gdbarch_core_pid_to_str.
+       Use sol2_sigtramp_p.
+       * sol2-tdep.c (sol2_pc_in_sigtramp): New function.
+       (sol2_sigtramp_p): New function.
+       (sol2_static_transform_name): New function.
+       (sol2_skip_solib_resolver, sol2_core_pid_to_str): Make static.
+       (sol2_init_abi): New function.
+       * sol2-tdep.h (sol2_sigtramp_p, sol2_init_abi): Declare.
+       (sol2_skip_solib_resolver, sol2_core_pid_to_str): Remove.
+       * sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Remove.
+       (sparc32_sol2_sigtramp_frame_sniffer): Just call sol2_sigtramp_p.
+       (sparc_sol2_static_transform_name): Remove.
+       (sparc32_sol2_init_abi): Call sol2_init_abi.
+       Remove calls to set_gdbarch_sofun_address_maybe_missing,
+       set_gdbarch_static_transform_name,
+       set_gdbarch_skip_solib_resolver,
+       set_gdbarch_core_pid_to_str.
+       * sparc-tdep.h (sparc_sol2_pc_in_sigtramp)
+       (sparc_sol2_static_transform_name): Remove
+       * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_sniffer): Just
+       call sol2_sigtramp_p.
+       (sparc64_sol2_init_abi): Call sol2_init_abi.
+       Remove calls to set_gdbarch_sofun_address_maybe_missing,
+       set_gdbarch_static_transform_name,
+       set_gdbarch_skip_solib_resolver, set_gdbarch_core_pid_to_str.
+
+2020-06-24  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * symfile-add-flags.h: New flag SYMFILE_ALWAYS_CONFIRM.
+       * exec.c (validate_exec_file): If from_tty, set both
+       SYMFILE_VERBOSE (== from_tty) and SYMFILE_ALWAYS_CONFIRM.
+       * symfile.c (symbol_file_add_with_addrs): if always_confirm
+       and from_tty, unconditionally ask a confirmation.
+
+2020-06-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * target-descriptions.c (tdesc_architecture_name): Protect against
+       NULL pointer dereference.
+       (maint_print_xml_tdesc_cmd): New function.
+       (_initialize_target_descriptions): Register new 'maint print
+       xml-tdesc' command and give it the filename completer.
+       * NEWS: Mention new 'maint print xml-tdesc' command.
+
+2020-06-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * target-descriptions.c (class tdesc_compatible_info): New class.
+       (struct target_desc): Change type of compatible vector.
+       (tdesc_compatible_p): Update for change in type of
+       target_desc::compatible.
+       (tdesc_compatible_info_list): New function.
+       (tdesc_compatible_info_arch_name): New function.
+       (tdesc_add_compatible): Update for change in type of
+       target_desc::compatible.
+       (print_c_tdesc::visit_pre): Likewise.
+
+2020-06-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * target-descriptions.c (print_c_tdesc::print_c_tdesc): Change
+       whitespace to underscore.
+       (maint_print_c_tdesc_cmd): Use fake filename for target
+       descriptions that came from the target.
+       (_initialize_target_descriptions): Add filename command completion
+       for 'maint print c-tdesc'.
+
+2020-06-23  Simon Marchi  <simon.marchi@efficios.com>
+
+       * dwarf2/loc.c (decode_debug_loclists_addresses): Add empty
+       lines.
+
+2020-06-23  Simon Marchi  <simon.marchi@efficios.com>
+
+       * dwarf2/loc.c (decode_debug_loc_dwo_addresses): Add empty
+       lines.
+       (dwarf2_find_location_expression): Likewise.
+       (call_site_parameter_matches): Likewise.
+       (dwarf2_compile_expr_to_ax): Likewise.
+       (disassemble_dwarf_expression): Likewise.
+       (loclist_describe_location): Likewise.
+
+2020-06-23  Pedro Alves  <palves@redhat.com>
+
+       * gdbarch-selftests.c: Don't include inferior.h, gdbthread.h or
+       progspace-and-thread.h.  Include scoped-mock-context.h instead.
+       (register_to_value_test): Use scoped_mock_context.
+       * regcache.c: Include "scoped-mock-context.h".
+       (cooked_read_test): Don't error out if a target is already pushed.
+       Use scoped_mock_context.  Adjust.
+       * scoped-mock-context.h: New file.
+
+2020-06-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (ada_language_data): Delete la_is_string_type_p
+       initializer.
+       (ada_language::is_string_type_p): New member function.
+       * c-lang.c (c_language_data): Delete la_is_string_type_p
+       initializer.
+       (cplus_language_data): Likewise.
+       (asm_language_data): Likewise.
+       (minimal_language_data): Likewise.
+       * d-lang.c (d_language_data): Likewise.
+       * f-lang.c (f_is_string_type_p): Delete function, implementation
+       moved to f_language::is_string_type_p.
+       (f_language_data): Delete la_is_string_type_p initializer.
+       (f_language::is_string_type_p): New member function,
+       implementation from f_is_string_type_p.
+       * go-lang.c (go_is_string_type_p): Delete function, implementation
+       moved to go_language::is_string_type_p.
+       (go_language_data): Delete la_is_string_type_p initializer.
+       (go_language::is_string_type_p): New member function,
+       implementation from go_is_string_type_p.
+       * language.c (language_defn::is_string_type_p): Define new member
+       function.
+       (default_is_string_type_p): Make static, add comment copied from
+       header file.
+       (unknown_language_data): Delete la_is_string_type_p initializer.
+       (unknown_language::is_string_type_p): New member function.
+       (auto_language_data): Delete la_is_string_type_p initializer.
+       (auto_language::is_string_type_p): New member function.
+       * language.h (language_data): Delete la_is_string_type_p field.
+       (language_defn::is_string_type_p): Declare new function.
+       (default_is_string_type_p): Delete desclaration, move comment to
+       definition.
+       * m2-lang.c (m2_is_string_type_p): Delete function, implementation
+       moved to m2_language::is_string_type_p.
+       (m2_language_data): Delete la_is_string_type_p initializer.
+       (m2_language::is_string_type_p): New member function,
+       implementation from m2_is_string_type_p.
+       * objc-lang.c (objc_language_data): Delete la_is_string_type_p
+       initializer.
+       * opencl-lang.c (opencl_language_data): Likewise.
+       * p-lang.c (pascal_is_string_type_p): Delete function,
+       implementation moved to pascal_language::is_string_type_p.
+       (pascal_language_data): Delete la_is_string_type_p initializer.
+       (pascal_language::is_string_type_p): New member function,
+       implementation from pascal_is_string_type_p.
+       * rust-lang.c (rust_is_string_type_p): Delete function,
+       implementation moved to rust_language::is_string_type_p.
+       (rust_language_data): Delete la_is_string_type_p initializer.
+       (rust_language::is_string_type_p): New member function,
+       implementation from rust_is_string_type_p.
+       * valprint.c (val_print_scalar_or_string_type_p): Update call to
+       is_string_type_p.
+
+2020-06-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (ada_language_data): Delete la_print_typedef
+       initializer.
+       (ada_language::print_typedef): New member function.
+       * c-lang.c (c_language_data): Delete la_print_typedef initializer.
+       (cplus_language_data): Likewise.
+       (asm_language_data): Likewise.
+       (minimal_language_data): Likewise.
+       * d-lang.c (d_language_data): Likewise.
+       * f-lang.c (f_language_data): Likewise.
+       (f_language::print_typedef): New member function.
+       * go-lang.c (go_language_data): Delete la_print_typedef
+       initializer.
+       * language.c (language_defn::print_typedef): Define member
+       function.
+       (unknown_language_data): Delete la_print_typedef initializer.
+       (unknown_language::print_typedef): New member function.
+       (auto_language_data): Delete la_print_typedef initializer.
+       (auto_language::print_typedef): New member function.
+       * language.h (language_data): Delete la_print_typedef field.
+       (language_defn::print_typedef): Declare new member function.
+       (LA_PRINT_TYPEDEF): Update call to print_typedef.
+       (default_print_typedef): Delete declaration.
+       * m2-lang.c (m2_language_data): Delete la_print_typedef
+       initializer.
+       (m2_language::print_typedef): New member function.
+       * objc-lang.c (objc_language_data): Delete la_print_typedef
+       initializer.
+       * opencl-lang.c (opencl_language_data): Likewise.
+       * p-lang.c (pascal_language_data): Likewise.
+       (pascal_language::print_typedef): New member function.
+       * rust-lang.c (rust_print_typedef): Delete function,
+       implementation moved to rust_language::print_typedef.
+       (rust_language): Delete la_print_typedef initializer.
+       (rust_language::print_typedef): New member function,
+       implementation from rust_print_typedef.
+       * typeprint.c (default_print_typedef): Delete.
+
+2020-06-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (ada_language_data): Delete la_printstr initializer.
+       (ada_language::printstr): New member function.
+       * c-lang.c (c_language_data): Delete la_printstr initializer.
+       (cplus_language_data): Likewise.
+       (asm_language_data): Likewise.
+       (minimal_language_data): Likewise.
+       * d-lang.c (d_language_data): Likewise.
+       * f-lang.c (f_printstr): Rename to f_language::printstr.
+       (f_language_data): Delete la_printstr initializer.
+       (f_language::printstr): New member function, implementation from
+       f_printstr.
+       * go-lang.c (go_language_data): Delete la_printstr initializer.
+       * language.c (language_defn::printstr): Define new member
+       function.
+       (unk_lang_printstr): Delete.
+       (unknown_language_data): Delete la_printstr initializer.
+       (unknown_language::printstr): New member function.
+       (auto_language_data): Delete la_printstr initializer.
+       (auto_language::printstr): New member function.
+       * language.h (language_data): Delete la_printstr field.
+       (language_defn::printstr): Declare new member function.
+       (LA_PRINT_STRING): Update call to printstr.
+       * m2-lang.c (m2_printstr): Rename to m2_language::printstr.
+       (m2_language_data): Delete la_printstr initializer.
+       (m2_language::printstr): New member function, implementation from
+       m2_printstr.
+       * objc-lang.c (objc_language_data): Delete la_printstr
+       initializer.
+       * opencl-lang.c (opencl_language_data): Likewise.
+       * p-lang.c (pascal_printstr): Rename to pascal_language::printstr.
+       (pascal_language_data): Delete la_printstr initializer.
+       (pascal_language::printstr): New member function, implementation
+       from pascal_printstr.
+       * p-lang.h (pascal_printstr): Delete declaration.
+       * rust-lang.c (rust_printstr): Update header comment.
+       (rust_language_data): Delete la_printstr initializer.
+       (rust_language::printstr): New member function.
+
+2020-06-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (ada_language_data): Delete la_printchar initializer.
+       (ada_language::printchar): New member function.
+       * c-lang.c (c_language_data): Delete la_printchar initializer.
+       (cplus_language_data): Likewise.
+       (asm_language_data): Likewise.
+       (minimal_language_data): Likewise.
+       * d-lang.c (d_language_data): Likewise.
+       * f-lang.c (f_printchar): Rename to f_language::printchar.
+       (f_language_data): Delete la_printchar initializer.
+       (f_language::printchar): New member function, implementation from
+       f_printchar.
+       * go-lang.c (go_language_data): Delete la_printchar initializer.
+       * language.c (unk_lang_printchar): Delete.
+       (language_defn::printchar): Define new member function.
+       (unknown_language_data): Delete la_printchar initializer.
+       (unknown_language::printchar): New member function.
+       (auto_language_data): Delete la_printchar initializer.
+       (auto_language::printchar): New member function.
+       * language.h (language_data): Delete la_printchar field.
+       (language_defn::printchar): Declare new member function.
+       (LA_PRINT_CHAR): Update call to printchar.
+       * m2-lang.c (m2_language_data): Delete la_printchar initializer.
+       (m2_language::printchar): New member function.
+       * objc-lang.c (objc_language_data): Delete la_printchar
+       initializer.
+       * opencl-lang.c (opencl_language_data): Likewise.
+       * p-lang.c (pascal_language_data): Delete la_printchar
+       initializer.
+       (pascal_language::printchar): New member function.
+       * rust-lang.c (rust_printchar): Rename to
+       rust_language::printchar.
+       (rust_language_data): Delete la_printchar initializer.
+       (rust_language::printchar): New member function, implementation
+       from rust_printchar.
+
+2020-06-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (emit_char): Renamed to ada_language::emitchar.
+       (ada_language_data): Delete la_emitchar initializer.
+       (ada_language::emitchar): New member function, implementation from
+       emit_char.
+       * c-lang.c (c_language_data): Delete la_emitchar initializer.
+       (cplus_language_data): Likewise.
+       (asm_language_data): Likewise.
+       (minimal_language_data): Likewise.
+       * d-lang.c (d_language_data): Likewise.
+       * f-lang.c (f_emit_char): Rename to f_language::emitchar.
+       (f_language_data): Delete la_emitchar initializer.
+       (f_language::emitchar): New member function, implementation from
+       f_emit_char.
+       * go-lang.c (go_language_data): Delete la_emitchar initializer.
+       * language.c (unk_lang_emit_char): Delete.
+       (language_defn::emitchar): New member function definition.
+       (unknown_language_data): Delete la_emitchar initializer.
+       (unknown_language::emitchar): New member function.
+       (auto_language_data): Delete la_emitchar initializer.
+       (auto_language::emitchar): New member function.
+       * language.h (language_data): Delete la_emitchar field.
+       (language_defn::emitchar): New member field declaration.
+       (LA_EMIT_CHAR): Update call to emitchar.
+       * m2-lang.c (m2_emit_char): Rename to m2_language::emitchar.
+       (m2_language_data): Delete la_emitchar initializer.
+       (m2_language::emitchar): New member function, implementation from
+       m2_emit_char.
+       * objc-lang.c (objc_language_data): Delete la_emitchar
+       initializer.
+       * opencl-lang.c (opencl_language_data): Likewise.
+       * p-lang.c (pascal_emit_char): Rename to pascal_language::emitchar.
+       (pascal_language_data): Delete la_emitchar initializer.
+       (pascal_language::emitchar): New member function, implementation
+       from pascal_emit_char.
+       * rust-lang.c (rust_emitchar): Rename to rust_language::emitchar.
+       (rust_language_data): Delete la_emitchar initializer.
+       (rust_language::emitchar): New member function, implementation
+       from rust_emitchar.
+
+2020-06-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (resolve): Rename to ada_language::post_parser.
+       (ada_language_data): Delete la_post_parser initializer.
+       (ada_language::post_parser): New member function.
+       * c-lang.c (c_language_data): Delete la_post_parser initializer.
+       (cplus_language_data): Likewise.
+       (asm_language_data): Likewise.
+       (minimal_language_data): Likewise.
+       * d-lang.c (d_language_data): Likewise.
+       * f-lang.c (f_language_data): Likewise.
+       * go-lang.c (go_language_data): Likewise.
+       * language.c (unknown_language_data): Likewise.
+       (auto_language_data): Likewise.
+       * language.h (language_data): Delete la_post_parser field.
+       (language_defn::post_parser): New member function.
+       * m2-lang.c (m2_language_data): Delete la_post_parser initializer.
+       * objc-lang.c (objc_language_data): Likewise.
+       * opencl-lang.c (opencl_language_data): Likewise.
+       * p-lang.c (pascal_language_data): Likewise.
+       * parse.c (parse_exp_in_context): Update call to post_parser.
+       (null_post_parser): Delete definition.
+       * parser-defs.h (null_post_parser): Delete declaration.
+       * rust-lang.c (rust_language_data): Delete la_post_parser
+       initializer.
+
+2020-06-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (parse): Rename to ada_language::parser.
+       (ada_language_data): Delete la_parser initializer.
+       (ada_language::parser): New member function, implementation from
+       parse.
+       * c-lang.c (c_language_data): Delete la_parser initializer.
+       (cplus_language_data): Likewise.
+       (asm_language_data): Likewise.
+       (minimal_language_data): Likewise.
+       * d-lang.c (d_language_data): Likewise.
+       (d_language::parser): New member function.
+       * f-lang.c (f_language_data): Delete la_parser initializer.
+       (f_language::parser): New member function.
+       * go-lang.c (go_language_data): Delete la_parser initializer.
+       (go_language::parser): New member function.
+       * language.c (unk_lang_parser): Delete.
+       (language_defn::parser): Define new member function.
+       (unknown_language_data): Delete la_parser initializer.
+       (unknown_language::parser): New member function.
+       (auto_language_data): Delete la_parser initializer.
+       (auto_language::parser): New member function.
+       * language.h (language_data): Delete la_parser field.
+       (language_defn::parser): Declare new member function.
+       * m2-lang.c (m2_language_data): Delete la_parser initializer.
+       (m2_language::parser): New member function.
+       * objc-lang.c (objc_language_data): Delete la_parser initializer.
+       * opencl-lang.c (opencl_language_data): Likewise.
+       * p-lang.c (pascal_language_data): Likewise.
+       (pascal_language::parser): New member function.
+       * parse.c (parse_exp_in_context): Update call to parser.
+       * rust-lang.c (rust_language_data): Delete la_parser initializer.
+       (rust_language::parser): New member function.
+
+2020-06-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * top.c (print_gdb_configuration): Print --with-python-libdir
+       configuration value.
+
+2020-06-22  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * NEWS: Mention change to the alias command.
+
+2020-06-22  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * cli/cli-cmds.c (lookup_cmd_for_default_args)
+       (alias_command_completer)
+       (make_alias_options_def_group): New functions.
+       (alias_opts, alias_option_defs): New struct and array.
+       (alias_usage_error): Update usage.
+       (alias_command): Handles optional DEFAULT-ARGS... arguments.
+       Use option framework.
+       (_initialize_cli_cmds): Update alias command help.
+       Update aliases command help.
+       (show_user):
+       Add NULL for new default_args lookup_cmd argument.
+       (valid_command_p): Rename to validate_aliased_command.
+       Add NULL for new default_args lookup_cmd argument.  Verify that the
+       aliased_command has no default args.
+       * cli/cli-decode.c (help_cmd): Show aliases definitions.
+       (lookup_cmd_1, lookup_cmd): New argument default_args.
+       (add_alias_cmd):
+       Add NULL for new default_args lookup_cmd argument.
+       (print_help_for_command): Show default args under the layout
+        alias some_alias = some_aliased_cmd some_alias_default_arg.
+       * cli/cli-decode.h (struct cmd_list_element): New member default_args.
+       xfree default_args in destructor.
+       * cli/cli-script.c (process_next_line, do_define_command):
+       Add NULL for new default_args lookup_cmd argument.
+       * command.h: Declare new default_args argument in lookup_cmd
+       and lookup_cmd_1.
+       * completer.c (complete_line_internal_1):
+       Add NULL for new default_args lookup_cmd or lookup_cmd_1 argument.
+       * guile/scm-cmd.c (gdbscm_parse_command_name): Likewise.
+       * guile/scm-param.c (add_setshow_generic, pascm_parameter_defined_p):
+       Likewise.
+       * infcmd.c (_initialize_infcmd): Likewise.
+       * python/py-auto-load.c (gdbpy_initialize_auto_load): Likewise.
+       * python/py-cmd.c (gdbpy_parse_command_name): Likewise.
+       * python/py-param.c (add_setshow_generic): Likewise.
+       * remote.c (_initialize_remote): Likewise.
+       * top.c (execute_command): Prepend default_args if command has some.
+       (set_verbose):
+       Add NULL for new default_args lookup_cmd or lookup_cmd_1 argument.
+       * tracepoint.c (validate_actionline, encode_actions_1):
+       Add NULL for new default_args lookup_cmd or lookup_cmd_1 argument.
+
+2020-06-22  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * jit.c (jit_read_descriptor): Use bool as the return type.
+       (jit_breakpoint_re_set_internal): Use bool as the return type.
+       Invert the return value logic; return true if the jit breakpoint
+       has been successfully initialized.
+       (jit_inferior_init): Update the call to
+       jit_breakpoint_re_set_internal.
+
+2020-06-22  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/25939
+       * procfs.c (procfs_target::wait): Don't reference inferior_ptid.
+       Use the current inferior instead.  Don't return
+       TARGET_WAITKIND_SPURIOUS/inferior_ptid -- instead continue and
+       wait again.
+       * sol-thread.c (sol_thread_target::wait): Don't reference
+       inferior_ptid.
+       (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, ps_lsetfpregs)
+       (sol_update_thread_list_callback): Use the current inferior's pid
+       instead of inferior_ptid.
+
+2020-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * procfs.c: Cleanup many comments.
+
+       (READ_WATCHFLAG, WRITE_WATCHFLAG, EXEC_WATCHFLAG)
+       (AFTER_WATCHFLAG): Replace by value.
+
+       (MAIN_PROC_NAME_FORMAT): Inline ...
+       (create_procinfo): ... here.
+
+       (procfs_debug_inferior): Remove SYS_exec handling.
+       (syscall_is_exec): Likewise.
+       (procfs_set_exec_trap): Likewise.
+
+       (syscall_is_lwp_exit): Inline in callers.
+       (syscall_is_exit): Likewise.
+       (syscall_is_exec): Likewise.
+       (syscall_is_lwp_create): Likewise.
+
+       (invalidate_cache): Remove #if 0 code.
+
+       (make_signal_thread_runnable):  Remove.
+       (procfs_target::resume): Remove #if 0 code.
+
+2020-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR gdb/25939
+       * procfs.c (procfs_target::procfs_init_inferior): Move push_target
+       call ...
+       (procfs_target::create_inferior): ... here.
+
+2020-06-21  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * exec.c (validate_exec_file): Ensure the build-id is up to
+       date by calling reopen_exec_file (that checks file timestamp
+       to decide to re-read the file).
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/25412
+       * gdbthread.h (delete_thread, delete_thread_silent)
+       (find_thread_ptid): Update comments.
+       * thread.c (current_thread_): New global.
+       (is_current_thread): Move higher, and reimplement.
+       (inferior_thread): Reimplement.
+       (set_thread_exited): Use bool.  Add assertions.
+       (add_thread_silent): Simplify thread-reuse handling by always
+       calling delete_thread.
+       (delete_thread): Remove intro comment.
+       (find_thread_ptid): Skip exited threads.
+       (switch_to_thread_no_regs): Write to current_thread_.
+       (switch_to_no_thread): Check CURRENT_THREAD_ instead of
+       INFERIOR_PTID.  Clear current_thread_.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * aix-thread.c (pd_update): Use switch_to_thread.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * ravenscar-thread.c (ravenscar_thread_target): Update.
+       (ravenscar_thread_target::update_inferior_ptid): Rename to ...
+       (ravenscar_thread_target::add_active_thread): ... this.  Don't
+       set m_base_ptid here.  Update to avoid referencing inferior_ptid.
+       (ravenscar_thread_target::wait): Don't write to inferior_ptid.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * nat/windows-nat.c (current_windows_thread): Remove.
+       * nat/windows-nat.h (current_windows_thread): Remove.
+       * windows-nat.c (windows_nat_target::stopped_by_sw_breakpoint):
+       Adjust.
+       (display_selectors): Adjust to fetch the current
+       windows_thread_info based on inferior_ptid.
+       (fake_create_process): No longer write to current_windows_thread.
+       (windows_nat_target::get_windows_debug_event):
+       Don't set inferior_ptid or current_windows_thread.
+       (windows_nat_target::wait): Adjust to not rely on
+       current_windows_thread.
+       (do_initial_windows_stuff): Now a method of windows_nat_target.
+       Switch to the last_ptid thread.
+       (windows_nat_target::attach): Adjust.
+       (windows_nat_target::detach): Use switch_to_no_thread instead of
+       writing to inferior_ptid directly.
+       (windows_nat_target::create_inferior): Adjust.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * windows-nat.c (do_initial_windows_stuff): No longer set inferior_ptid.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * go32-nat.c (go32_nat_target::create_inferior): Switch to thread
+       after creating it, instead of writing to inferior_ptid.  Don't
+       write to inferior_ptid.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * fork-child.c (postfork_hook): Don't write to inferior_ptid.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * bsd-kvm.c (bsd_kvm_target_open): Switch to thread after adding
+       it, instead of writing to inferior_ptid.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * btrace.c (btrace_fetch): Use switch_to_thread instead of writing
+       to inferior_ptid.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * bsd-kvm.c (bsd_kvm_target::close): Use switch_to_no_thread
+       instead of writing to inferior_ptid directly.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * corelow.c (core_target::close): Use switch_to_no_thread instead
+       of writing to inferior_ptid directly.
+       (add_to_thread_list, core_target_open): Use switch_to_thread
+       instead of writing to inferior_ptid directly.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * darwin-nat.c (darwin_nat_target::decode_message): Don't write to
+       inferior_ptid.
+       (darwin_nat_target::stop_inferior, darwin_nat_target::kill): Avoid
+       inferior_ptid.
+       (darwin_attach_pid): Use switch_to_no_thread instead of writing to
+       inferior_ptid directly.
+       (darwin_nat_target::init_thread_list): Switch to thread, instead
+       of writing to inferior_ptid.
+       (darwin_nat_target::attach): Don't write to inferior_ptid.
+       (darwin_nat_target::get_ada_task_ptid): Avoid inferior_ptid.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * gnu-nat.c (gnu_nat_target::create_inferior): Switch to the added
+       thread.
+       (gnu_nat_target::attach): Don't write to inferior_ptid directly.
+       Instead use switch_to_thread.
+       (gnu_nat_target::detach): Use switch_to_no_thread
+       instead of writing to inferior_ptid directly.  Used passed-in
+       inferior instead of looking up the inferior by pid.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * go32-nat.c (go32_nat_target::create_inferior): Don't write to
+       inferior_ptid.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * nto-procfs.c (nto_procfs_target::update_thread_list): Avoid
+       inferior_ptid.
+       (nto_procfs_target::attach): Avoid inferior_ptid.  Switch to
+       thread.
+       (nto_procfs_target::detach): Avoid referencing
+       inferior_ptid.  Use switch_to_no_thread instead of writing to
+       inferior_ptid directly.
+       (nto_procfs_target::mourn_inferior): Use switch_to_no_thread
+       instead of writing to inferior_ptid directly.
+       (nto_procfs_target::create_inferior): Avoid inferior_ptid.  Switch
+       to thread.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * remote-sim.c (gdbsim_target::create_inferior): Switch to thread
+       after creating it, instead of writing to inferior_ptid.
+       (gdbsim_target_open): Use switch_to_no_thread instead of writing
+       to inferior_ptid directly.
+       (gdbsim_target::wait): Don't write to inferior_ptid.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (remote_target::remote_notice_new_inferior): Use
+       switch_to_thread instead of writing to inferior_ptid directly.
+       (remote_target::add_current_inferior_and_thread): Use
+       switch_to_no_thread instead of writing to inferior_ptid directly.
+       (extended_remote_target::attach): Use switch_to_inferior_no_thread
+       and switch_to_thread instead of using set_current_inferior or
+       writing to inferior_ptid directly.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * tracectf.c (ctf_target_open): Switch to added thread instead of
+       writing to inferior_ptid directly.
+       (ctf_target::close): Use switch_to_no_thread instead of writing to
+       inferior_ptid directly.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * tracefile-tfile.c (tfile_target_open): Don't write to
+       inferior_ptid directly, instead switch to added thread.
+       (tfile_target::close): Use switch_to_no_thread instead of writing
+       to inferior_ptid directly.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * procfs.c (procfs_target::attach): Don't write to inferior_ptid.
+       (procfs_target::detach): Use switch_to_no_thread
+       instead of writing to inferior_ptid directly.
+       (do_attach): Change return type to void.  Switch to the added
+       thread.
+       (procfs_target::create_inferior): Switch to the added thread.
+       (procfs_do_thread_registers): Don't write to inferior_ptid.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (generic_mourn_inferior): Use switch_to_thread instead
+       of writing to inferior_ptid.
+       (scoped_restore_exited_inferior): Delete.
+       (handle_vfork_child_exec_or_exit): Simplify using
+       scoped_restore_current_pspace_and_thread.  Use switch_to_thread
+       instead of writing to inferior_ptid.
+       (THREAD_STOPPED_BY): Delete.
+       (thread_stopped_by_watchpoint, thread_stopped_by_sw_breakpoint)
+       (thread_stopped_by_hw_breakpoint): Delete.
+       (save_waitstatus): Use
+       scoped_restore_current_thread+switch_to_thread, and call
+       target_stopped_by_watchpoint instead of
+       thread_stopped_by_watchpoint, target_stopped_by_sw_breakpoint
+       instead of thread_stopped_by_sw_breakpoint, and
+       target_stopped_by_hw_breakpoint instead of
+       thread_stopped_by_hw_breakpoint.
+       (handle_inferior_event)
+       <TARGET_WAITKIND_EXITED/TARGET_WAITKIND_SIGNALLED>: Don't write to
+       inferior_ptid directly, nor
+       set_current_inferior/set_current_program_space.  Use
+       switch_to_thread / switch_to_inferior_no_thread instead.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * target.c (generic_mourn_inferior): Use switch_to_no_thread
+       instead of writing to inferior_ptid.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * inf-ptrace.c (inf_ptrace_target::create_inferior): Switch to the
+       added thread.
+       (inf_ptrace_target::attach): Don't write to inferior_ptid.  Switch
+       to the added thread.
+       (inf_ptrace_target::detach_success): Use switch_to_no_thread
+       instead of writing to inferior_ptid.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * gdbarch-selftests.c: Include "progspace-and-thread.h".
+       (register_to_value_test): Mock a program_space too.  Heap-allocate
+       the address space.  Don't write to inferior_ptid.  Use
+       switch_to_thread instead.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * linux-tdep.c (find_signalled_thread(thread_info *,void *)):
+       Delete.
+       (find_signalled_thread()): New, factored out from
+       linux_make_corefile_notes and adjusted to handle exited threads.
+       (linux_make_corefile_notes): Adjust to use the new
+       find_signalled_thread.
+
+2020-06-18  Pedro Alves  <palves@redhat.com>
+
+       * linux-tdep.c (btrace_fetch): Save/restore current thread instead
+       of saving/restoring inferior_ptid.
+
+2020-06-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-win.h (tui_scroll_forward, tui_scroll_backward)
+       (tui_scroll_left, tui_scroll_right, struct tui_win_info): Don't
+       declare.
+       * tui/tui-data.h (MIN_CMD_WIN_HEIGHT): Remove.
+
+2020-06-15  Simon Marchi  <simon.marchi@efficios.com>
+
+       * dwarf2/read.c (dwarf2_initialize_objfile): Check for presence
+       of partial symtabs.
+
+2020-06-17  Simon Marchi  <simon.marchi@efficios.com>
+
+       * regformats/reg-arm.dat: Remove.
+       * regformats/reg-bfin.dat: Remove.
+       * regformats/reg-cris.dat: Remove.
+       * regformats/reg-crisv32.dat: Remove.
+       * regformats/reg-m32r.dat: Remove.
+       * regformats/reg-tilegx.dat: Remove.
+       * regformats/reg-tilegx32.dat: Remove.
+
+2020-06-17  Simon Marchi  <simon.marchi@efficios.com>
+
+       * features/Makefile (WHICH): Remove arm files.
+       * regformats/arm/arm-with-iwmmxt.dat: Remove.
+       * regformats/arm/arm-with-neon.dat: Remove.
+       * regformats/arm/arm-with-vfpv2.dat: Remove.
+       * regformats/arm/arm-with-vfpv3.dat: Remove.
+
+2020-06-17  Simon Marchi  <simon.marchi@efficios.com>
+
+       * features/Makefile (XMLTOC): Remove rx.xml.
+
+2020-06-17  Pedro Alves  <palves@redhat.com>
+
+       * gdbthread.h (thread_control_state) <trap_expected> Update
+       comments.
+
+2020-06-17  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (ada_lookup_symbol_nonlocal): Rename to
+       ada_language::lookup_symbol_nonlocal.
+       (ada_language_data): Delete la_lookup_symbol_nonlocal initializer.
+       (ada_language::lookup_symbol_nonlocal): New member function,
+       implementation from ada_lookup_symbol_nonlocal.
+       * c-lang.c (c_language_data): Delete la_lookup_symbol_nonlocal
+       initializer.
+       (cplus_language_data): Delete la_lookup_symbol_nonlocal
+       initializer.
+       (cplus_language::lookup_symbol_nonlocal): New member function.
+       (asm_language_data): Delete la_lookup_symbol_nonlocal initializer.
+       (minimal_language_data) Likewise.
+       * cp-namespace.c (cp_lookup_nested_symbol): Update comment.
+       * d-lang.c (d_language_data): Delete la_lookup_symbol_nonlocal
+       initializer.
+       (d_language::lookup_symbol_nonlocal): New member function.
+       * f-lang.c (f_language_data): Delete la_lookup_symbol_nonlocal
+       initializer.
+       (f_language::lookup_symbol_nonlocal): New member function.
+       * go-lang.c (go_language_data): Delete la_lookup_symbol_nonlocal
+       initializer.
+       * language.c (unknown_language_data): Likewise.
+       (auto_language_data): Likewise.
+       * language.h (language_data): Delete la_lookup_symbol_nonlocal
+       field.
+       (language_defn::lookup_symbol_nonlocal): New member function.
+       * m2-lang.c (m2_language_data): Delete la_lookup_symbol_nonlocal
+       initializer.
+       * objc-lang.c (objc_language_data): Likewise.
+       * opencl-lang.c (opencl_language_data): Likewise.
+       * p-lang.c (pascal_language_data): Likewise.
+       * rust-lang.c (rust_lookup_symbol_nonlocal): Rename to
+       rust_language::lookup_symbol_nonlocal.
+       (rust_language_data): Delete la_lookup_symbol_nonlocal
+       initializer.
+       (rust_language::lookup_symbol_nonlocal): New member function,
+       implementation from rust_lookup_symbol_nonlocal.
+       * symtab.c (lookup_symbol_aux): Update call to
+       lookup_symbol_nonlocal.
+       (basic_lookup_symbol_nonlocal): Rename to...
+       (language_defn::lookup_symbol_nonlocal): ...this, and update
+       header comment.  Remove language_defn parameter, and replace with
+       uses of `this'.
+       * symtab.h (basic_lookup_symbol_nonlocal): Delete declaration.
+
+2020-06-17  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (ada_language_data): Delete la_value_print_inner
+       initializer.
+       (ada_language::value_print_inner): New member function.
+       * c-lang.c (c_language_data): Delete la_value_print_inner
+       initializer.
+       (cplus_language_data): Likewise.
+       (asm_language_data): Likewise.
+       (minimal_language_data): Likewise.
+       * d-lang.c (d_language_data): Likewise.
+       (d_language::value_print_inner): New member function.
+       * f-lang.c (f_language_data): Delete la_value_print_inner
+       initializer.
+       (f_language::value_print_inner): New member function.
+       * f-lang.h (f_value_print_innner): Rename to...
+       (f_value_print_inner): ...this (note spelling of 'inner').
+       * f-valprint.c (f_value_print_innner): Rename to...
+       (f_value_print_inner): ...this (note spelling of 'inner').
+       * go-lang.c (go_language_data): Delete la_value_print_inner
+       initializer.
+       (go_language::value_print_inner): New member function.
+       * language.c (language_defn::value_print_inner): Define new member
+       function.
+       (unk_lang_value_print_inner): Delete.
+       (unknown_language_data): Delete la_value_print_inner initializer.
+       (unknown_language::value_print_inner): New member function.
+       (auto_language_data): Delete la_value_print_inner initializer.
+       (auto_language::value_print_inner): New member function.
+       * language.h (language_data): Delete la_value_print_inner field.
+       (language_defn::value_print_inner): Delcare new member function.
+       * m2-lang.c (m2_language_data): Delete la_value_print_inner
+       initializer.
+       (m2_language::value_print_inner): New member function.
+       * objc-lang.c (objc_language_data): Delete la_value_print_inner
+       initializer.
+       * opencl-lang.c (opencl_language_data): Likewise.
+       * p-lang.c (pascal_language_data): Likewise.
+       (pascal_language::value_print_inner): New member function.
+       * rust-lang.c (rust_language_data): Delete la_value_print_inner
+       initializer.
+       (rust_language::value_print_inner): New member function.
+       * valprint.c (do_val_print): Update call to value_print_inner.
+
+2020-06-17  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (ada_language_data): Delete la_value_print
+       initializer.
+       (ada_language::value_print): New member function.
+       * c-lang.c (c_language_data): Delete la_value_print initializer.
+       (cplus_language_data): Likewise.
+       (asm_language_data): Likewise.
+       (minimal_language_data): Likewise.
+       * d-lang.c (d_language_data): Likewise.
+       * f-lang.c (f_language_data): Likewise.
+       * go-lang.c (go_language_data): Likewise.
+       * language.c (unk_lang_value_print): Delete.
+       (language_defn::value_print): Define new member function.
+       (unknown_language_data): Delete la_value_print initializer.
+       (unknown_language::value_print): New member function.
+       (auto_language_data): Delete la_value_print initializer.
+       (auto_language::value_print): New member function.
+       * language.h (language_data): Delete la_value_print field.
+       (language_defn::value_print): Declare new member function.
+       (LA_VALUE_PRINT): Update call to value_print.
+       * m2-lang.c (m2_language_data): Delete la_value_print initializer.
+       * objc-lang.c (objc_language_data): Likewise.
+       * opencl-lang.c (opencl_language_data): Likewise.
+       * p-lang.c (pascal_language_data): Likewise.
+       (pascal_language::value_print): New member function.
+       * rust-lang.c (rust_language_data): Delete la_value_print
+       initializer.
+
+2020-06-17  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (ada_watch_location_expression): Rename to
+       ada_language::watch_location_expression.
+       (ada_language_data): Delete la_watch_location_expression
+       initializer.
+       (ada_language::watch_location_expression): New member function,
+       implementation from ada_watch_location_expression.
+       * breakpoint.c (watch_command_1): Update call to
+       watch_location_expression.
+       * c-lang.c (c_watch_location_expression): Rename to
+       language_defn::watch_location_expression.
+       (c_language_data): Delete la_watch_location_expression
+       initializer.
+       (cplus_language_data): Likewise.
+       (asm_language_data): Likewise.
+       (minimal_language_data): Likewise.
+       * c-lang.h (c_watch_location_expression): Delete declaration.
+       * d-lang.c (d_language_data): Delete la_watch_location_expression
+       initializer.
+       * f-lang.c (f_language_data): Likewise.
+       * go-lang.c (go_language_data): Likewise.
+       * language.c (language_defn::watch_location_expression): Member
+       function implementation from c_watch_location_expression.
+       (unknown_language_data): Delete la_watch_location_expression
+       initializer.
+       (auto_language_data): Likewise.
+       * language.h (language_data): Delete la_watch_location_expression
+       field.
+       (language_defn::watch_location_expression): Declare new member
+       function.
+       * m2-lang.c (m2_language_data): Delete
+       la_watch_location_expression initializer.
+       * objc-lang.c (objc_language_data): Likewise.
+       * opencl-lang.c (opencl_language_data): Likewise.
+       * p-lang.c (pascal_language_data): Likewise.
+       * rust-lang.c (rust_watch_location_expression): Rename to
+       rust_language::watch_location_expression.
+       (rust_language_data): Delete la_watch_location_expression
+       initializer.
+       (rust_language::watch_location_expression): New member function,
+       implementation from rust_watch_location_expression.
+
+2020-06-17  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (ada_collect_symbol_completion_matches): Rename to
+       ada_language::collect_symbol_completion_matches.
+       (ada_language_data): Delete la_collect_symbol_completion_matches
+       initializer.
+       (ada_language::collect_symbol_completion_matches): New member
+       function, implementation from
+       ada_collect_symbol_completion_matches.
+       * c-lang.c (c_language_data): Delete
+       la_collect_symbol_completion_matches initializer.
+       (cplus_language_data): Likewise.
+       (asm_language_data): Likewise.
+       (minimal_language_data): Likewise.
+       * d-lang.c (d_language_data): Likewise.
+       * f-lang.c (f_collect_symbol_completion_matches): Rename to
+       f_language::collect_symbol_completion_matches.
+       (f_language_data): Delete la_collect_symbol_completion_matches
+       initializer.
+       (f_language::collect_symbol_completion_matches) New member
+       function, implementation from f_collect_symbol_completion_matches.
+       * go-lang.c (go_language_data): Delete
+       la_collect_symbol_completion_matches initializer.
+       * language.c (unknown_language_data): Likewise.
+       (auto_language_data): Likewise.
+       * language.h (language_data): Delete
+       la_collect_symbol_completion_matches field.
+       (language_defn::collect_symbol_completion_matches): New member
+       function.
+       * m2-lang.c (m2_language_data): Delete
+       la_collect_symbol_completion_matches initializer.
+       * objc-lang.c (objc_language_data): Likewise.
+       * opencl-lang.c (opencl_language_data): Likewise.
+       * p-lang.c (pascal_language_data): Likewise.
+       * rust-lang.c (rust_language_data): Likewise.
+       * symtab.c (default_collect_symbol_completion_matches): Delete.
+       (collect_symbol_completion_matches): Update call to
+       collect_symbol_completion_matches.
+       (collect_symbol_completion_matches_type): Likewise.
+       * symtab.h (default_collect_symbol_completion_matches): Delete
+       declaration.
+
+2020-06-17  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (ada_get_gdb_completer_word_break_characters): Delete.
+       (ada_language_data): Delete la_word_break_characters initializer.
+       (ada_language::word_break_characters): New member function.
+       * c-lang.c (c_language_data): Delete la_word_break_characters
+       initializer.
+       (cplus_language_data): Likewise.
+       (asm_language_data): Likewise.
+       (minimal_language_data): Likewise.
+       * completer.c: Update global comment.
+       (advance_to_expression_complete_word_point): Update call to
+       word_break_characters.
+       (complete_files_symbols): Likewise.
+       (complete_line_internal_1): Likewise.
+       (default_completer_handle_brkchars): Likewise.
+       (skip_quoted_chars): Likewise.
+       * d-lang.c (d_language_data): Delete la_word_break_characters
+       initializer.
+       * f-lang.c (f_word_break_characters): Delete.
+       (f_language_data): Delete la_word_break_characters initializer.
+       (f_language::word_break_characters): New member function.
+       * go-lang.c (go_language_data): Delete la_word_break_characters
+       initializer.
+       * language.c (unknown_language_data): Likewise.
+       (auto_language_data): Likewise.
+       * language.h (default_word_break_characters): Move declaration to
+       earlier in the file.
+       (language_data): Delete la_word_break_characters field.
+       (language_defn::word_break_characters): New member function.
+       * m2-lang.c (m2_language_data): Delete la_word_break_characters
+       initializer.
+       * objc-lang.c (objc_language_data): Likewise.
+       * opencl-lang.c (opencl_language_data): Likewise.
+       * p-lang.c (pascal_language_data): Likewise.
+       * rust-lang.c (rust_language_data): Likewise.
+
+2020-06-17  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (ada_get_symbol_name_matcher): Update header comment.
+       (ada_language_data): Delete la_get_symbol_name_matcher
+       initializer.
+       (language_defn::get_symbol_name_matcher_inner): New member
+       function.
+       * c-lang.c (c_language_data): Delete la_get_symbol_name_matcher
+       initializer.
+       (cplus_language_data): Likewise.
+       (cplus_language::get_symbol_name_matcher_inner): New member
+       function.
+       (asm_language_data): Delete la_get_symbol_name_matcher initializer.
+       (minimal_language_data): Likewise.
+       * cp-support.h (cp_get_symbol_name_matcher): Update header comment.
+       * d-lang.c (d_language_data): Delete la_get_symbol_name_matcher
+       initializer.
+       * dictionary.c (iter_match_first_hashed): Update call to
+       get_symbol_name_matcher.
+       (iter_match_next_hashed): Likewise.
+       (iter_match_next_linear): Likewise.
+       * dwarf2/read.c (dw2_expand_symtabs_matching_symbol): Likewise.
+       * f-lang.c (f_language_data): Delete la_get_symbol_name_matcher
+       initializer.
+       (f_language::get_symbol_name_matcher_inner): New member function.
+       * go-lang.c (go_language_data): Delete la_get_symbol_name_matcher
+       initializer.
+       * language.c (default_symbol_name_matcher): Update header comment,
+       make static.
+       (language_defn::get_symbol_name_matcher): New definition.
+       (language_defn::get_symbol_name_matcher_inner): Likewise.
+       (get_symbol_name_matcher): Delete.
+       (unknown_language_data): Delete la_get_symbol_name_matcher
+       initializer.
+       (auto_language_data): Likewise.
+       * language.h (language_data): Delete la_get_symbol_name_matcher
+       field.
+       (language_defn::get_symbol_name_matcher): New member function.
+       (language_defn::get_symbol_name_matcher_inner): Likewise.
+       (default_symbol_name_matcher): Delete declaration.
+       * linespec.c (find_methods): Update call to
+       get_symbol_name_matcher.
+       * m2-lang.c (m2_language_data): Delete la_get_symbol_name_matcher
+       initializer.
+       * minsyms.c (lookup_minimal_symbol): Update call to
+       get_symbol_name_matcher.
+       (iterate_over_minimal_symbols): Likewise.
+       * objc-lang.c (objc_language_data): Delete
+       la_get_symbol_name_matcher initializer.
+       * opencl-lang.c (opencl_language_data): Likewise.
+       * p-lang.c (pascal_language_data): Likewise.
+       * psymtab.c (psymbol_name_matches): Update call to
+       get_symbol_name_matcher.
+       * rust-lang.c (rust_language_data): Delete
+       la_get_symbol_name_matcher initializer.
+       * symtab.c (symbol_matches_search_name): Update call to
+       get_symbol_name_matcher.
+       (compare_symbol_name): Likewise.
+
 2020-06-17  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * ada-lang.c (ada_language_data): Delete la_compute_program
This page took 0.032271 seconds and 4 git commands to generate.