]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
gdb/riscv: Improve support for matching against target descriptions
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index 88db3be38c8947d1f4bfdaef432a1ed0ac4549f5..2550d640478ffc5662f4212594b69e8cb4f862bc 100644 (file)
@@ -1,3 +1,676 @@
+2020-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (value_of_riscv_user_reg): Moved to here from later
+       in the file.
+       (class riscv_pending_register_alias): Likewise.
+       (riscv_register_feature::register_info): Change 'required_p' field
+       to 'required', and change its type.  Add 'check' member function.
+       (riscv_register_feature::register_info::check): Define new member
+       function.
+       (riscv_xreg_feature): Change initialisation of 'required' field.
+       (riscv_freg_feature): Likewise.
+       (riscv_virtual_feature): Likewise.
+       (riscv_csr_feature): Likewise.
+       (riscv_check_tdesc_feature): Take extra parameter, the csr
+       tdesc_feature, rewrite the function to use the new
+       riscv_register_feature::register_info::check function.
+       (riscv_gdbarch_init): Pass the csr tdesc_feature where needed.
+
+2020-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * features/Makefile: Remove all references to the deleted files
+       below.
+       * features/riscv/32bit-csr.c: Deleted.
+       * features/riscv/32bit-csr.xml: Deleted.
+       * features/riscv/64bit-csr.c: Deleted.
+       * features/riscv/64bit-csr.xml: Deleted.
+       * features/riscv/rebuild-csr-xml.sh: Deleted.
+
+2020-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (struct riscv_register_feature::register_info): Fix
+       whitespace error for declaration of names member variable.
+       (struct riscv_register_feature): Add new prefer_first_name member
+       variable, and fix whitespace error in declaration of registers.
+       (riscv_xreg_feature): Initialize prefer_first_name field.
+       (riscv_freg_feature): Likewise.
+       (riscv_virtual_feature): Likewise.
+       (riscv_csr_feature): Likewise.
+       (riscv_register_name): Expand on comments.  Remove register name
+       modifications for CSR and virtual registers.
+
+2020-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (struct riscv_register_feature): Fix whitespace
+       errors.
+
+2020-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (riscv_create_csr_aliases): Handle csr aliases from
+       riscv-opc.h.
+       (class riscv_pending_register_alias): New class.
+       (riscv_check_tdesc_feature): Take vector of pending aliases and
+       populate it as appropriate.
+       (riscv_setup_register_aliases): Delete.
+       (riscv_gdbarch_init): Create vector of pending aliases and pass it
+       to riscv_check_tdesc_feature in all cases.  Use the vector to
+       create the register aliases.
+
+2020-06-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * sol2-tdep.c (sol2_static_transform_name): Remove.
+       (sol2_init_abi): Don't register it.
+       * gdbarch.sh (static_transform_name): Remove.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+       * dbxread.c (read_dbx_symtab) <'S'>: Remove call to
+       gdbarch_static_transform_name.
+       * mdebugread.c (parse_partial_symbols) <'S'>: Likewise.
+       * stabsread.c (define_symbol) <'X'>: Remove.
+       (define_symbol) <'S'>: Remove gdbarch_static_transform_name
+       handling.
+       <'V'>: Likewise.
+       * xcoffread.c (scan_xcoff_symtab): Remove gdbarch.
+       <'S'>: Remove call to gdbarch_static_transform_name.
+
+2020-06-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * procfs.c (procfs_pre_trace): New function.
+       (procfs_target::create_inferior): Pass it to fork_inferior.
+
+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