Introduce ternop_cond_operation
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 69e14b32730661610a7581259dc18f415116c5e9..5eb9dcac3e9fcfa305d9398b6356cbbbc70a1f3d 100644 (file)
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expop.h (class ternop_cond_operation): New.
+       * ax-gdb.c (ternop_cond_operation::do_generate_ax): New method.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expop.h (class ternop_slice_operation): New.
+       * eval.c (eval_op_ternop): No longer static.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expop.h (class string_operation): New.
+       * eval.c (eval_op_string): No longer static.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expop.h (class internalvar_operation): New.
+       * ax-gdb.c (internalvar_operation::do_generate_ax): New method.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expop.h (class bool_operation): New.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expop.h (class register_operation): New.
+       * eval.c (eval_op_register): No longer static.
+       * ax-gdb.c (register_operation::do_generate_ax): New method.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expop.h (class last_operation): New.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expop.h (class func_static_var_operation): New.
+       * eval.c (eval_op_func_static_var): No longer static.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expop.h (class var_entry_value_operation): New.
+       * eval.c (eval_op_var_entry_value): No longer static.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expression.h (class operation) <set_outermost>: New method.
+       * expop.h (class var_msym_value_operation): New.
+       * eval.c (eval_op_var_msym_value): No longer static.
+       (var_msym_value_operation::evaluate_for_address)
+       (var_msym_value_operation::evaluate_for_sizeof)
+       (var_msym_value_operation::evaluate_for_cast): New methods.
+       * ax-gdb.c (var_msym_value_operation::do_generate_ax): New
+       method.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expop.h (class long_const_operation): New.
+       * ax-gdb.c (long_const_operation::do_generate_ax): New method.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expop.h (class scope_operation): New.
+       * eval.c (eval_op_scope): No longer static.
+       (scope_operation::evaluate_for_address): New method.
+       * ax-gdb.c (scope_operation::do_generate_ax): New method.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expprint.c (float_const_operation::dump): New method.
+       * expop.h (float_data): New typedef.
+       (class float_const_operation): New.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expop.h (gen_expr_binop, gen_expr_structop): Declare.
+       * ax-gdb.c (gen_expr_binop): New function.
+       (gen_expr_structop): Likewise.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expprint.c (expr::dump_for_expression): New functions.
+       * expop.h (dump_for_expression): New overloads.
+       (tuple_holding_operation::dump, tuple_holding_operation::do_dump):
+       Update.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * expression.h (expr::operation): New class.
+       (expr::make_operation): New function.
+       (expr::operation_up): New typedef.
+       * expop.h: New file.
+       * eval.c (operation::evaluate_for_cast)
+       (operation::evaluate_for_address, operation::evaluate_for_sizeof):
+       New methods.
+       * ax-gdb.c (operation::generate_ax): New method.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * ax-gdb.c (gen_expr_binop_rest): Remove "pc" parameter.
+       (gen_expr_binop_rest): New overload.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_multi_subscript): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (ada_binop_exp): New function.
+       (ada_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (ada_val_atr): Rename from value_val_atr.  Change
+       parameters.
+       (ada_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (ada_binop_minmax): New function.
+       (ada_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (ada_unop_atr): New function.
+       (ada_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (ada_binop_in_bounds): New function.
+       (ada_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (ada_ternop_slice): New function.
+       (ada_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (ada_equal_binop): New function.
+       (ada_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (ada_mult_binop): New function.
+       (ada_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (ada_abs): New function.
+       (ada_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (ada_atr_size): New function.
+       (ada_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (ada_atr_tag): New function.
+       (ada_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (ada_unop_in_range): New function.
+       (ada_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (ada_unop_neg): New function.
+       (ada_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (eval_ternop_in_range): New function.
+       (ada_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * opencl-lang.c (eval_opencl_assign): New function.
+       (evaluate_subexp_opencl): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_objc_msgcall): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_binop_assign_modify): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * m2-lang.c (eval_op_m2_subscript): New function.
+       (evaluate_subexp_modula2): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * m2-lang.c (eval_op_m2_high): New function.
+       (evaluate_subexp_modula2): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (evaluate_subexp_for_address_base): New function.
+       (evaluate_subexp_for_address): Use it.
+       (evaluate_subexp_for_sizeof_base): New function.
+       (evaluate_subexp_for_sizeof): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * rust-lang.c (eval_op_rust_structop): New function.
+       (rust_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * rust-lang.c (eval_op_rust_struct_anon): New function.
+       (rust_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * rust-lang.c (eval_op_rust_array): New function.
+       (rust_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * rust-lang.c (eval_op_rust_complement): New function.
+       (rust_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * rust-lang.c (eval_op_rust_ind): New function.
+       (rust_evaluate_subexp): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * rust-lang.c (rust_subscript): Change parameters.
+       (rust_evaluate_subexp): Update.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * rust-lang.c (rust_range): Change parameters.
+       (rust_evaluate_subexp): Update.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * f-lang.c (eval_op_f_allocated): New function.
+       (evaluate_subexp_f): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * f-lang.c (fortran_require_array): New function.
+       (evaluate_subexp_f): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * f-lang.c (eval_op_f_kind): New function.
+       (evaluate_subexp_f): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * f-lang.c (eval_op_f_cmplx): New function.
+       (evaluate_subexp_f): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * f-lang.c (eval_op_f_modulo): New function.
+       (evaluate_subexp_f): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * f-lang.c (eval_op_f_floor): New function.
+       (evaluate_subexp_f): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * f-lang.c (eval_op_f_ceil): New function.
+       (evaluate_subexp_f): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * f-lang.c (eval_op_f_mod): New function.
+       (evaluate_subexp_f): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * f-lang.c (eval_op_f_abs): New function.
+       (evaluate_subexp_f): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_type): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_postdec): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_postinc): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_predec): New file.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_preinc): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_memval): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_alignof): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_ind): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_lognot): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_complement): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_neg): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_plus): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_repeat): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_leq): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_geq): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_gtr): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_less): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_notequal): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_equal): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_subscript): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_binary): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_sub): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_add): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_member): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_structop_ptr): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_structop_struct): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_ternop): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_concat): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_objc_selector): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_string): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_register): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_func_static_var): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_var_msym_value): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_var_entry_value): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-08  Tom Tromey  <tom@tromey.com>
+
+       * eval.c (eval_op_scope): New function.
+       (evaluate_subexp_standard): Use it.
+
+2021-03-06  Chernov Sergey  <klen_s@mail.ru>
+
+       PR gdb/27528:
+       * ada-lang.c (ada_fold_name): Use gdb::to_string.
+
+2021-03-06  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/sect-names.h (dwarf2_elf_names): Declare.
+       * dwarf2/read.h (dwarf2_get_dwz_file): Move to dwz.h.
+       * dwarf2/read.c (dwarf2_elf_names): No longer static.
+       (locate_dwz_sections, dwz_search_other_debugdirs)
+       (dwarf2_get_dwz_file): Move to dwz.c.
+       * dwarf2/dwz.h (dwarf2_get_dwz_file): Move declaration from
+       read.h.
+       * dwarf2/dwz.c (locate_dwz_sections, dwz_search_other_debugdirs)
+       (dwarf2_get_dwz_file): Move from read.c.
+
+2021-03-06  Tom Tromey  <tom@tromey.com>
+
+       * debuginfod-support.h: Include scoped_fd.h.
+
+2021-03-06  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.h (dwarf2_get_dwz_file): Add 'require' parameter.
+       * dwarf2/read.c (dwarf2_get_dwz_file): Add 'require' parameter.
+       (get_abbrev_section_for_cu, read_attribute_value)
+       (get_debug_line_section): Update.
+       * dwarf2/macro.c (dwarf_decode_macro_bytes): Update.
+
+2021-03-06  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/sect-names.h (struct dwarf2_section_names) <matches>: New
+       method.
+       * dwarf2/read.c (section_is_p): Remove.
+       (dwarf2_per_bfd::locate_sections)
+       (dwarf2_per_bfd::locate_sections, locate_dwz_sections)
+       (locate_v1_virtual_dwo_sections, dwarf2_locate_dwo_sections)
+       (dwarf2_locate_common_dwp_sections)
+       (dwarf2_locate_v2_dwp_sections, dwarf2_locate_v5_dwp_sections):
+       Update.
+
+2021-03-06  Tom Tromey  <tom@tromey.com>
+
+       * xcoffread.c: Include sect-names.h.
+       * symfile.h (struct dwarf2_section_names, struct
+       dwarf2_debug_sections): Move to dwarf2/sect-names.h.
+       * dwarf2/sect-names.h: New file, from symfile.h.
+       * dwarf2/read.c: Include sect-names.h.
+
+2021-03-06  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.c (read_attribute): Make 'abbrev' const.
+       * dwarf2/abbrev.c (abbrev_table::alloc_abbrev): Remove.
+       (abbrev_table::read): Update.
+       * dwarf2/abbrev.h (struct attr_abbrev): Move earlier.
+       (struct abbrev_info): Reformat.
+       <attrs>: Now an array.
+       (struct abbrev_table) <alloc_abbrev>: Remove.
+
+2021-03-06  Weimin Pan  <weimin.pan@oracle.com>
+
+       * ctfread.c (ctf_psymtab_add_enums): New function.
+       (ctf_psymtab_type_cb): call ctf_psymtab_add_enums.
+
+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
+       order for <sys/ptrace.h> and <asm/ptrace.h>.
+
+2021-02-24  Kevin Buettner  <kevinb@redhat.com>
+
+       * nat/aarch64-linux-hw-point.c: Include <asm/ptrace.h> after
+       <sys/ptrace.h>.
+
+2021-02-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * exec.c (set_section_command): Move variable declarations into
+       the function body, and use std::string instead of a fixed size
+       buffer.
+
+2021-02-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * exec.c (exec_target::get_section_table): Delete member function.
+       (section_table_read_available_memory): Use current_top_target, not
+       just the exec_ops target.
+       * target-delegates.c: Regenerate.
+       * target.c (default_get_section_table): New function.
+       * target.h (target_ops::get_section_table): Change default
+       behaviour to call default_get_section_table.
+       (default_get_section_table): Declare.
+
+2021-02-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * exec.c (exec_target::close): Call new clear_target_sections
+       function.
+       (program_space::add_target_sections): Update name of member
+       variable.
+       (program_space::add_target_sections): Update name of member
+       variable.
+       (program_space::remove_target_sections): Likewise.
+       (exec_one_fork): Use new target_sections member function.
+       (exec_target::get_section_table): Likewise.
+       (exec_target::files_info): Likewise.
+       (set_section_command): Likewise.
+       (exec_set_section_address): Likewise.
+       (exec_target::has_memory): Use new target_sections member
+       function.
+       * progspace.h (program_space::clear_target_sections): New member
+       function.
+       (program_space::target_sections): Rename member variable to
+       m_target_sections, replace with a new member function.
+       (program_space::m_target_sections): New member variable.
+       * solib-dsbt.c (scan_dyntag): Use new member function.
+       * solib-svr4.c (scan_dyntag): Likewise.
+
+2021-02-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb/bfd-target.c (class target_bfd) <get_section_table>: Make
+       return type const.
+       * gdb/exec.c (struct exec_target) <get_section_table>: Likewise.
+       (section_table_read_available_memory): Make local const.
+       (exec_target::xfer_partial): Make local const.
+       (print_section_info): Make parameter const.
+       * gdb/exec.h (print_section_info): Likewise.
+       * gdb/ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Make local
+       const.
+       * gdb/record-btrace.c (record_btrace_target::xfer_partial):
+       Likewise.
+       * gdb/remote.c (remote_target::remote_xfer_live_readonly_partial):
+       Likewise.
+       * gdb/s390-tdep.c (s390_load): Likewise.
+       * gdb/solib-dsbt.c (scan_dyntag): Likewise.
+       * gdb/solib-svr4.c (scan_dyntag): Likewise.
+       * gdb/target-debug.h (target_debug_print_target_section_table_p):
+       Rename to...
+       (target_debug_print_const_target_section_table_p): ...this.
+       * gdb/target-delegates.c: Regenerate.
+       * gdb/target.c (target_get_section_table): Make return type const.
+       (target_section_by_addr): Likewise.  Also make some locals const.
+       (memory_xfer_partial_1): Make some locals const.
+       * gdb/target.h (struct target_ops) <get_section_table>: Make
+       return type const.
+       (target_section_by_addr): Likewise.
+       (target_get_section_table): Likewise.
+
+2021-02-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Mention new 'maint info target-sections' command.
+       * maint.c (maintenance_info_target_sections): New function.
+       (_initialize_maint_cmds): Register new command.
+
+2021-02-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (riscv_features_from_gdbarch_info): Rename to...
+       (riscv_features_from_bfd): ...this.  Change parameter type to
+       'bfd*', and update as required.
+       (riscv_find_default_target_description): Update call to
+       riscv_features_from_bfd.  Select a default xlen based on
+       info.bfd_arch_info.
+       (riscv_gdbarch_init): Update call to riscv_features_from_bfd.
+
+2021-02-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * eval.c (evaluate_subexp_standard): Call value_ind for points to
+       dynamic types in UNOP_IND.
+
+2021-02-23  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR gdb/26828
+       * dwarf2/read.c (dwarf2_queue_guard) <dwarf2_queue_guard>:
+       Instantiate queue.
+       (~dwarf2_queue_guard): Clear queue.
+       (queue_comp_unit): Assert that queue is
+       instantiated.
+       (process_queue): Adjust.
+       * dwarf2/read.h (struct dwarf2_per_bfd) <queue>: Make optional.
+
+2021-02-23  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR gdb/26828
+       * dwarf2/read.c (maybe_queue_comp_unit): Check if CU is expanded
+       to decide whether or not to enqueue it for expansion.
+       (follow_die_offset, follow_die_sig_1): Ensure we load the DIEs
+       after calling maybe_queue_comp_unit.
+
+2021-02-23  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * linux-nat.c (linux_nat_filter_event): Return void.
+
+2021-02-22  Tom Tromey  <tromey@adacore.com>
+
+       * solib-svr4.c (enable_break): Update.
+       * bfd-target.c (class target_bfd) <target_bfd>: Change parameter
+       type.
+       (target_bfd_reopen): Change parameter type.
+       * bfd-target.h (target_bfd_reopen): Change parameter type.
+
+2021-02-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * thread.c (add_thread_silent): Add assert.
+       (find_thread_ptid): Add assert.
+
+2021-02-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR gdb/27435
+       * inf-ptrace.c (struct target_unpusher): Move to target.h.
+       (target_unpush_up): Likewise.
+       * procfs.c (procfs_target::attach): Push target early.  Use
+       target_unpush_up to unpush target in case of error.
+       * target.h (struct target_unpusher): Move here.
+       (target_unpush_up): Likewise.
+
+2021-02-19  Kevin Buettner  <kevinb@redhat.com>
+
+       * nat/amd64-linux-siginfo.c: Include "gdbsupport/common-defs.h"
+       (which in turn includes <gnulib/config.h>) before include
+       of <signal.h>.
+
+2021-02-19  Nelson Chu  <nelson.chu@sifive.com>
+
+       PR 27158
+       * riscv-tdep.c (decode_ci_type_insn): Updated encoding macros.
+       (decode_j_type_insn): Likewise.
+       (decode_cj_type_insn): Likewise.
+       (decode_b_type_insn): Likewise.
+       (decode): Likewise.
+
+2021-02-18  Tom Tromey  <tom@tromey.com>
+
+       * expression.h (struct expression) <evaluate>: Declare method.
+       * eval.c (evaluate_subexp): Simplify.
+       (expression::evaluate): New method.
+       (evaluate_expression, evaluate_type): Use expression::evaluate.
+
+2021-02-17  Kevin Buettner  <kevinb@redhat.com>
+
+       * ada-lang.c (ada_fold_name): Check for non-empty string prior
+       to accessing it.
+       (ada_lookup_name_info): Likewise.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-02-12  Tom de Vries  <tdevries@suse.de>
+
+       PR threads/26228
+       * linux-nat.c (lin_thread_get_thread_signals): Remove.
+       (lin_thread_signals): New static var.
+       (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal):
+       New function.
+       * linux-nat.h (lin_thread_get_thread_signals): Remove.
+       (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal):
+       Declare.
+       * linux-thread-db.c (check_thread_signals): Use
+       lin_thread_get_thread_signal_num and lin_thread_get_thread_signal.
+
+2021-02-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * f-exp.y (f77_keywords): Add allocated.
+       * f-lang.c (evaluate_subexp_f): Handle UNOP_FORTRAN_ALLOCATED.
+       (operator_length_f): Likewise.
+       (print_subexp_f): Likewise.
+       (dump_subexp_body_f): Likewise.
+       (operator_check_f): Likewise.
+       * std-operator.def (UNOP_FORTRAN_ALLOCATED): New operator.
+
+2021-02-11  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/27353
+       * dwarf2/attribute.c (attribute::form_requires_reprocessing):
+       Return true for DW_FORM_strx.
+
+2021-02-11  Tom Tromey  <tromey@adacore.com>
+
+       PR gdb/27383:
+       * parse.c (write_exp_symbol_reference): Write sym.block.
+
+2021-02-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Mention changes to 'maint info sections'.
+       * maint.c (match_substring): Return a bool, fix whitespace issue.
+       (struct single_bfd_flag_info): New struct.
+       (bfd_flag_info): New static global.
+       (match_bfd_flags): Return a bool, use bfd_flag_info.
+       (print_bfd_flags): Use bfd_flag_info.
+       (maint_print_section_info): Delete trailing whitespace.
+       (struct maint_info_sections_opts): New struct.
+       (maint_info_sections_option_defs): New static global.
+       (maint_info_sections_completer): New function.
+       (maintenance_info_sections): Use option parsing mechanism.
+       (_initialize_maint_cmds): Update command help text for 'maint info
+       sections' and register a command completer.
+
+2021-02-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * maint.c (print_bfd_section_info_maybe_relocated): Delete,
+       functionality merged into...
+       (maint_print_all_sections): ...this new function.
+       (maintenance_info_sections): Make use of maint_print_all_sections,
+       allow all objects to be printed even where there's no executable.
+
 2021-02-11  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * breakpoint.c (resolve_sal_pc): Make use of
This page took 0.033149 seconds and 4 git commands to generate.