+2021-03-06 Weimin Pan <weimin.pan@oracle.com>
+
+ * ctfread.c (read_func_kind_type): Set up function arguments.
+
+2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
+ Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-none-tdep.c: Add 'user-regs.h' and 'target-description.h'
+ includes.
+ (riscv_csrset): New static global.
+ (riscv_update_csrmap): New function.
+ (riscv_iterate_over_regset_sections): Process CSRs.
+
+2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (riscv_feature_name_csr): Define.
+ (riscv_feature_name_cpu): Define.
+ (riscv_feature_name_fpu): Define.
+ (riscv_feature_name_virtual): Define.
+ (riscv_xreg_feature): Use riscv_feature_name_cpu.
+ (riscv_freg_feature): Use riscv_feature_name_fpu.
+ (riscv_virtual_feature): Use riscv_feature_name_virtual.
+ (riscv_csr_feature): Use riscv_feature_name_csr.
+ * riscv-tdep.h (riscv_feature_name_csr): Declare.
+
+2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com>
+ Craig Blackmore <craig.blackmore@embecosm.com>
+
+ * Makefile.in (ALL_TARGET_OBS): Add riscv-none-tdep.o.
+ (ALLDEPFILES): Add riscv-none-tdep.c.
+ * configure: Regenerate.
+ * configure.ac (CONFIG_OBS): Add elf-none-tdep.o when BFD has ELF
+ support.
+ * configure.tgt (riscv*-*-*): Include riscv-none-tdep.c.
+ * elf-none-tdep.c: New file.
+ * elf-none-tdep.h: New file.
+ * riscv-none-tdep.c: New file.
+
+2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
+ Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * corelow.c: Add 'xml-tdesc.h' include.
+ (core_target::read_description): Load the target description from
+ the core file when possible.
+ * fbsd-tdep.c (fbsd_make_corefile_notes): Add target description
+ note.
+ * gcore-elf.c: Add 'gdbsupport/tdesc.h' include.
+ (gcore_elf_make_tdesc_note): New function.
+ * gcore-elf.h (gcore_elf_make_tdesc_note): Declare.
+ * linux-tdep.c (linux_make_corefile_notes): Add target description
+ note.
+
+2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * Makefile.in (SFILES): Add gcore-elf.c.
+ (HFILES_NO_SRCDIR): Add gcore-elf.h
+ * configure: Regenerate.
+ * configure.ac: Add gcore-elf.o to CONFIG_OBS if we have ELF
+ support.
+ * fbsd-tdep.c: Add 'gcore-elf.h' include.
+ (struct fbsd_collect_regset_section_cb_data): Delete.
+ (fbsd_collect_regset_section_cb): Delete.
+ (fbsd_collect_thread_registers): Delete.
+ (struct fbsd_corefile_thread_data): Delete.
+ (fbsd_corefile_thread): Delete.
+ (fbsd_make_corefile_notes): Call
+ gcore_elf_build_thread_register_notes instead of the now deleted
+ FreeBSD code.
+ * gcore-elf.c: New file, the content was moved here from
+ linux-tdep.c, functions were renamed and given minor cleanup.
+ * gcore-elf.h: New file.
+ * gcore.c (gcore_find_signalled_thread): Moved here from
+ linux-tdep.c and given a new name. Minor cleanups.
+ * gcore.h (gcore_find_signalled_thread): Declare.
+ * linux-tdep.c: Add 'gcore.h' and 'gcore-elf.h' includes.
+ (struct linux_collect_regset_section_cb_data): Delete.
+ (linux_collect_regset_section_cb): Delete.
+ (linux_collect_thread_registers): Delete.
+ (linux_corefile_thread): Call
+ gcore_elf_build_thread_register_notes.
+ (find_signalled_thread): Delete.
+ (linux_make_corefile_notes): Call gcore_find_signalled_thread.
+
+2021-03-04 Simon Marchi <simon.marchi@polymtl.ca>
+
+ PR gdb/27147
+ * sparc-nat.h (sparc_fetch_inferior_registers): Add
+ process_stratum_target parameter,
+ sparc_store_inferior_registers): update callers.
+ * sparc-nat.c (sparc_fetch_inferior_registers,
+ sparc_store_inferior_registers): Add process_stratum_target
+ parameter. Switch current thread before calling
+ sparc_supply_gregset / sparc_collect_rwindow.
+ (sparc_store_inferior_registers): Likewise.
+ * sparc-obsd-tdep.c (sparc32obsd_supply_uthread): Add assertion.
+ (sparc32obsd_collect_uthread): Likewise.
+ * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
+ Add assertion.
+ * sparc64-obsd-tdep.c (sparc64obsd_collect_uthread,
+ sparc64obsd_supply_uthread): Add assertion.
+
+2021-03-04 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.c (struct match_data) <found_sym>: Now bool.
+ (aux_add_nonlocal_symbols): Update.
+ (ada_add_block_symbols): Change "found_sym" to bool.
+
+2021-03-03 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.c (ada_resolve_function): Update comment.
+ (is_nonfunction, add_symbols_from_enclosing_procs)
+ (remove_extra_symbols): Likewise.
+ (struct match_data): Add constructor, initializers.
+ (add_nonlocal_symbols): Remove memset.
+ (aux_add_nonlocal_symbols): Update comment.
+ (ada_add_block_renamings, add_nonlocal_symbols)
+ (ada_add_all_symbols): Likewise.
+ * ada-exp.y (write_var_or_type): Clean up trailing whitespace.
+
+2021-03-02 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.c (cast_from_gnat_encoded_fixed_point_type)
+ (cast_to_gnat_encoded_fixed_point_type): Remove.
+ (ada_value_cast, ada_evaluate_subexp): Update.
+ (gnat_encoded_fixed_point_type_info)
+ (ada_is_gnat_encoded_fixed_point_type)
+ (gnat_encoded_fixed_point_delta)
+ (gnat_encoded_fixed_point_scaling_factor): Remove.
+ * ada-lang.h (ada_is_gnat_encoded_fixed_point_type)
+ (gnat_encoded_fixed_point_delta)
+ (gnat_encoded_fixed_point_scaling_factor): Don't declare.
+ * ada-typeprint.c (print_gnat_encoded_fixed_point_type): Remove.
+ (ada_print_type): Update.
+ * ada-valprint.c (ada_value_print_num): Update.
+ * dwarf2/read.c (ada_get_gnat_encoded_number)
+ (ada_get_gnat_encoded_ratio): New functions.
+ (finish_fixed_point_type): Use them. Add parameters.
+ (GNAT_FIXED_POINT_SUFFIX): New define.
+ (gnat_encoded_fixed_point_type_info): New function.
+ (read_base_type): Handle gnat encodings.
+
+2021-03-02 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.c (ada_fold_name, ada_variant_discrim_name)
+ (ada_enum_name, scan_discrim_bound, to_fixed_range_type): Use
+ std::string.
+ (GROW_VECT): Remove.
+ (grow_vect): Remove.
+
+2021-03-02 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.h (ada_lookup_symbol_list): Return a vector.
+ * ada-lang.c (resolve_subexp): Update.
+ (ada_resolve_function): Accept a vector.
+ (is_nonfunction, add_defn_to_vec)
+ (add_symbols_from_enclosing_procs): Likewise.
+ (num_defns_collected, defns_collected): Remove.
+ (remove_extra_symbols): Return a vector.
+ (remove_irrelevant_renamings): Return void.
+ (ada_add_local_symbols): Accept a vector.
+ (struct match_data) <obstackp>: Remove.
+ <resultp>: New member.
+ (aux_add_nonlocal_symbols): Update.
+ (ada_add_block_renamings, add_nonlocal_symbols)
+ (ada_add_all_symbols): Accept a vector.
+ (ada_lookup_symbol_list_worker, ada_lookup_symbol_list): Return a
+ vector.
+ (ada_lookup_symbol): Update.
+ (ada_add_block_symbols): Accept a vector.
+ (get_var_value, iterate_over_symbols): Update.
+ * ada-exp.y (block_lookup, write_var_or_type, write_name_assoc):
+ Update.
+
+2021-03-02 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.c (resolve_subexp): Use any_of and erase-remove idiom.
+
+2021-03-02 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.c (struct ada_symbol_cache) <cache_space>: Now an
+ auto_obstack.
+ <root>: Initialize.
+ (ada_pspace_data): Remove destructor.
+ <sym_cache>: Now a unique_ptr.
+ (ada_init_symbol_cache, ada_free_symbol_cache): Remove.
+ (ada_get_symbol_cache): Use 'new'.
+ (ada_clear_symbol_cache): Rewrite.
+
+2021-03-02 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.c (add_nonlocal_symbols): Handle case where objfile->sf
+ is null.
+
+2021-02-27 Lancelot Six <lsix@lancelotsix.com>
+
+ PR gdb/27393
+ * source.c (add_path): Skip empty dirnames.
+
+2021-02-25 Kevin Buettner <kevinb@redhat.com>
+
+ * nat/aarch64-sve-linux-ptrace.h: Add comment regarding
+ include order for <sys/ptrace.h> and <asm/ptrace.h>.
+
+2021-02-25 Simon Marchi <simon.marchi@polymtl.ca>
+
+ PR gdb/26861
+ * target.c (target_mourn_inferior): Only compare pids in
+ target_mourn_inferior.
+
+2021-02-25 Jan Matyas <jmatyas@codasip.com>
+
+ PR gdb/26819
+ * remote.c (remote_target::start_remote): Ensure the single
+ thread, automatically added for remote targets without the
+ concept of threading, is initially in set to the "resumed"
+ state.
+ * remote.c (remote_target::add_current_inferior_and_thread):
+ Add return value - return the main thread.
+
+2021-02-25 Jan Vrany <jan.vrany@labware.com>
+
+ * gdb/mi/mi-interp.c (mi_traceframe_changed): Remove trailing \n from output.
+ (mi_tsv_created): Likewise.
+ (mi_tsv_deleted): Likewise.
+
+2021-02-25 Tom de Vries <tdevries@suse.de>
+
+ PR symtab/27354
+ * dwarf2/read.c (open_and_init_dwo_file): Use rcuh_kind::COMPILE as
+ section_kind for &dwo_file->sections.info.
+
+2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ PR fortran/26155
+ * f-lang.c (fortran_argument_convert): Delete declaration.
+ (fortran_prepare_argument): New function.
+ (evaluate_subexp_f): Move logic to new function
+ fortran_prepare_argument.
+
+2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * f-exp.y (f77_keywords): Add 'associated'.
+ * f-lang.c (fortran_associated): New function.
+ (evaluate_subexp_f): Handle FORTRAN_ASSOCIATED.
+ (operator_length_f): Likewise.
+ (print_unop_or_binop_subexp_f): New function.
+ (print_subexp_f): Make use of print_unop_or_binop_subexp_f for
+ FORTRAN_ASSOCIATED, FORTRAN_LBOUND, and FORTRAN_UBOUND.
+ (dump_subexp_body_f): Handle FORTRAN_ASSOCIATED.
+ (operator_check_f): Likewise.
+ * std-operator.def: Add FORTRAN_ASSOCIATED.
+
+2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * f-exp.y (fortran_operators): Add ".xor.".
+
+2021-02-24 Tom de Vries <tdevries@suse.de>
+
+ PR symtab/27336
+ * dwarf2/attribute.c (attribute::form_is_signed): New function
+ factored out of ...
+ * dwarf2/attribute.h (attribute::as_signed): ... here.
+ (attribute::is_nonnegative, attribute::as_nonnegative): New function.
+ (attribute::form_is_signed): Declare.
+ * dwarf2/read.c (new_symbol): Use is_nonnegative and as_nonnegative
+ for DW_AT_decl_file.
+
2021-02-24 Kevin Buettner <kevinb@redhat.com>
* nat/aarch64-linux-hw-point.c: Add comment regarding include