X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=76849f6a8407562599575e271bcf2458a465b60e;hb=844be3f24027a13630dc0f67e006eee2ee5c6776;hp=c6ad0bb8a5353ec271fa3c3b95cc24be8cddf965;hpb=bdfea17ea9bbd9f92ad19a70d770af42473d9c07;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c6ad0bb8a5..76849f6a84 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,763 @@ +2021-03-06 Weimin Pan + + * ctfread.c (read_func_kind_type): Set up function arguments. + +2021-03-05 Craig Blackmore + Andrew Burgess + + * 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 + + * 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 + Craig Blackmore + + * 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 + Andrew Burgess + + * 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 + + * 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 + + 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 + + * ada-lang.c (struct match_data) : Now bool. + (aux_add_nonlocal_symbols): Update. + (ada_add_block_symbols): Change "found_sym" to bool. + +2021-03-03 Tom Tromey + + * 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 + + * 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 + + * 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 + + * 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) : Remove. + : 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 + + * ada-lang.c (resolve_subexp): Use any_of and erase-remove idiom. + +2021-03-02 Tom Tromey + + * ada-lang.c (struct ada_symbol_cache) : Now an + auto_obstack. + : Initialize. + (ada_pspace_data): Remove destructor. + : 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 + + * ada-lang.c (add_nonlocal_symbols): Handle case where objfile->sf + is null. + +2021-02-27 Lancelot Six + + PR gdb/27393 + * source.c (add_path): Skip empty dirnames. + +2021-02-25 Kevin Buettner + + * nat/aarch64-sve-linux-ptrace.h: Add comment regarding + include order for and . + +2021-02-25 Simon Marchi + + PR gdb/26861 + * target.c (target_mourn_inferior): Only compare pids in + target_mourn_inferior. + +2021-02-25 Jan Matyas + + 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 + + * 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 + + 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 + + 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 + + * 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 + + * f-exp.y (fortran_operators): Add ".xor.". + +2021-02-24 Tom de Vries + + 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 + + * nat/aarch64-linux-hw-point.c: Add comment regarding include + order for and . + +2021-02-24 Kevin Buettner + + * nat/aarch64-linux-hw-point.c: Include after + . + +2021-02-24 Andrew Burgess + + * 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 + + * 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 + + * 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 + + * gdb/bfd-target.c (class target_bfd) : Make + return type const. + * gdb/exec.c (struct exec_target) : 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) : Make + return type const. + (target_section_by_addr): Likewise. + (target_get_section_table): Likewise. + +2021-02-24 Andrew Burgess + + * 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 + + * 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 + + * eval.c (evaluate_subexp_standard): Call value_ind for points to + dynamic types in UNOP_IND. + +2021-02-23 Simon Marchi + + PR gdb/26828 + * dwarf2/read.c (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) : Make optional. + +2021-02-23 Simon Marchi + + 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 + + * linux-nat.c (linux_nat_filter_event): Return void. + +2021-02-22 Tom Tromey + + * solib-svr4.c (enable_break): Update. + * bfd-target.c (class 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 + + * thread.c (add_thread_silent): Add assert. + (find_thread_ptid): Add assert. + +2021-02-22 Simon Marchi + + 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 + + * nat/amd64-linux-siginfo.c: Include "gdbsupport/common-defs.h" + (which in turn includes ) before include + of . + +2021-02-19 Nelson Chu + + 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 + + * expression.h (struct expression) : Declare method. + * eval.c (evaluate_subexp): Simplify. + (expression::evaluate): New method. + (evaluate_expression, evaluate_type): Use expression::evaluate. + +2021-02-17 Kevin Buettner + + * 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 + + * aclocal.m4: Regenerate. + +2021-02-12 Tom de Vries + + 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 + + * 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 + + PR symtab/27353 + * dwarf2/attribute.c (attribute::form_requires_reprocessing): + Return true for DW_FORM_strx. + +2021-02-11 Tom Tromey + + PR gdb/27383: + * parse.c (write_exp_symbol_reference): Write sym.block. + +2021-02-11 Andrew Burgess + + * 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 + + * 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 + + * breakpoint.c (resolve_sal_pc): Make use of + bound_minimal_symbol::obj_section. + * maint.c (maintenance_translate_address): Likewise. + * minsyms.c (minimal_symbol_upper_bound): Likewise. + * minsyms.h (struct bound_minimal_symbol) : New + member function. + * printcmd.c (info_address_command): Make use of + bound_minimal_symbol::obj_section. + +2021-02-11 Alan Modra + + * arm-symbian-tdep.c: Delete. + * NEWS: Mention arm-symbian removal. + * Makefile.in: Remove arm-symbian-tdep entries. + * configure.tgt: Remove arm*-*-symbianelf*. + * doc/gdb.texinfo: Remove mention of SymbianOS. + * osabi.c (gdb_osabi_names): Remove "Symbian". + * osabi.h (enum gdb_osabi): Remove GDB_OSABI_SYMBIAN. + * testsuite/gdb.base/ending-run.exp: Remove E32Main handling. + * testsuite/gdb.ada/catch_ex_std.exp: Remove arm*-*-symbianelf* + handling. + * testsuite/gdb.base/dup-sect.exp: Likewise. + * testsuite/gdb.base/long_long.exp: Likewise. + * testsuite/gdb.base/solib-weak.exp: Likewise. + * testsuite/gdb.guile/scm-section-script.exp: Likewise. + * testsuite/gdb.python/py-section-script.exp: Likewise. + * testsuite/lib/dwarf.exp: Likewise. + * testsuite/lib/gdb.exp: Likewise. + +2021-02-10 Andrew Burgess + + * f-exp.y (UNOP_OR_BINOP_INTRINSIC): New token. + (exp): New pattern using UNOP_OR_BINOP_INTRINSIC. + (one_or_two_args): New pattern. + (f77_keywords): Add lbound and ubound. + * f-lang.c (fortran_bounds_all_dims): New function. + (fortran_bounds_for_dimension): New function. + (evaluate_subexp_f): Handle FORTRAN_LBOUND and FORTRAN_UBOUND. + (operator_length_f): Likewise. + (print_subexp_f): Likewise. + (dump_subexp_body_f): Likewise. + (operator_check_f): Likewise. + * std-operator.def (FORTRAN_LBOUND): Define. + (FORTRAN_UBOUND): Define. + +2021-02-10 Andrew Burgess + + * coff-pe-read.c (add_pe_forwarded_sym): Make use of section_index + and set_section_index member functions where appropriate. + * coffread.c (coff_symtab_read): Likewise. + (process_coff_symbol): Likewise. + * ctfread.c (set_symbol_address): Likewise. + * dwarf2/read.c (add_partial_symbol): Likewise. + (var_decode_location): Likewise. + * language.c: Likewise. + * minsyms.c (minimal_symbol_reader::record_full): Likewise. + (compact_minimal_symbols): Likewise. + (minimal_symbol_upper_bound): Likewise. + * objfiles.c (relocate_one_symbol): Likewise. + * psympriv.h (partial_symbol::obj_section): Likewise. + (partial_symbol::address): Likewise. + * psymtab.c (partial_symtab::add_psymbol): Likewise. + * stabsread.c (scan_file_globals): Likewise. + * symmisc.c (dump_msymbols): Likewise. + * symtab.c (general_symbol_info::obj_section): Likewise. + (fixup_section): Likewise. + (get_msymbol_address): Likewise. + * symtab.h (general_symbol_info::section): Rename to... + (general_symbol_info::m_section): ...this. + (general_symbol_info::set_section_index): New member function. + (general_symbol_info::section_index): Likewise. + (SYMBOL_SECTION): Delete. + (MSYMBOL_VALUE_ADDRESS): Make use of section_index and + set_section_index member functions where appropriate. + (MSYMBOL_SECTION): Delete. + (symbol::symbol): Update to initialize 'm_section'. + * xcoffread.c (read_xcoff_symtab): Make use of set_section_index. + (process_xcoff_symbol): Likewise. + +2021-02-10 Andrew Burgess + + * breakpoint.c (resolve_sal_pc): Replace SYMBOL_OBJ_SECTION and + MSYMBOL_OBJ_SECTION. + * findvar.c (language_defn::read_var_value): Likewise. + * infcmd.c (jump_command): Likewise. + * linespec.c (minsym_found): Likewise. + * maint.c (maintenance_translate_address): Likewise. + * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise. + (minimal_symbol_upper_bound): Likewise. + * parse.c (find_minsym_type_and_address): Likewise. + (operator_check_standard): Likewise. + * printcmd.c (info_address_command): Likewise. + * symmisc.c (dump_msymbols): Likewise. + (print_symbol): Likewise. + * symtab.c (general_symbol_info::obj_section): Define new + function. + (fixup_symbol_section): Replace SYMBOL_OBJ_SECTION. + (find_pc_sect_compunit_symtab): Likewise. + (find_function_start_sal): Likewise. + (skip_prologue_sal): Replace SYMBOL_OBJ_SECTION and + MSYMBOL_OBJ_SECTION. + * symtab.h (struct general_symbol_info) : Declare new + function. + (SYMBOL_OBJ_SECTION): Delete. + (MSYMBOL_OBJ_SECTION): Delete. + +2021-02-09 Tom Tromey + + * stap-probe.c (stap_parse_argument_conditionally): Fix typo. + +2021-02-09 Tom de Vries + + PR symtab/27341 + * dwarf2/read.c (read_array_type): Return NULL when not being able to + construct an array type. Add assert to ensure that element_type is + not being modified. + +2021-02-09 Andrew Burgess + + * gcore.c (struct gcore_collect_regset_section_cb_data): Delete. + (gcore_collect_regset_section_cb): Delete. + (gcore_collect_thread_registers): Delete. + (gcore_build_thread_register_notes): Delete. + (gcore_find_signalled_thread): Delete. + * gcore.h: Remove 'gdbsupport/gdb_signals.h' include and delete + 'gdbarch' and 'thread_info' declarations. + (gcore_build_thread_register_notes): Delete declaration. + (gcore_find_signalled_thread): Likewise. + * fbsd-tdep.c: Remove 'gcore.h' include. + (struct fbsd_collect_regset_section_cb_data): New struct. + (fbsd_collect_regset_section_cb): New function. + (fbsd_collect_thread_registers): New function. + (struct fbsd_corefile_thread_data): New struct. + (fbsd_corefile_thread): New function. + (fbsd_make_corefile_notes): Call FreeBSD specific code. + * linux-tdep.c: Remove 'gcore.h' include. + (struct linux_collect_regset_section_cb_data): New struct. + (linux_collect_regset_section_cb): New function. + (linux_collect_thread_registers): New function. + (linux_corefile_thread): Call Linux specific code. + (find_signalled_thread): New function. + (linux_make_corefile_notes): Call find_signalled_thread. + +2021-02-09 Tom Tromey + + * ada-lang.c (coerce_unspec_val_to_type): Avoid making lazy + not_lval value. + * value.c (value_contents_copy_raw): Now static. + * value.h (value_contents_copy_raw): Don't declare. + +2021-02-09 Tom Tromey + + * gdbtypes.c (resolve_dynamic_struct): Handle structure with no + fields. + +2021-02-08 Shahab Vahedi + + PR tdep/27369 + * arc-linux-tdep.c (handle_atomic_sequence): New. + (arc_linux_software_single_step): Call handle_atomic_sequence(). + +2021-02-08 Andrew Burgess + + * python/py-tui.c (gdbpy_tui_window) : New member + function. + (REQUIRE_WINDOW): Call is_valid member function. + (REQUIRE_WINDOW_FOR_SETTER): New define. + (gdbpy_tui_is_valid): Call is_valid member function. + (gdbpy_tui_set_title): Call REQUIRE_WINDOW_FOR_SETTER instead. + * tui/tui-data.h (struct tui_win_info) : Check + tui_active too. + * tui/tui-layout.c (tui_apply_current_layout): Add an assert. + * tui/tui.c (tui_enable): Move setting of tui_active earlier in + the function. + +2021-02-08 Andrew Burgess + + * python/py-tui.c (gdbpy_tui_set_title): Check that the new value + for the title is not nullptr. + +2021-02-08 Andrew Burgess + + * tui-layout.c (saved_tui_windows): Delete. + (tui_apply_current_layout): Don't make use of saved_tui_windows, + call new get_windows member function instead. + (tui_get_window_by_name): Check in tui_windows. + (tui_layout_window::apply): Don't add to tui_windows. + * tui-layout.h (tui_layout_base::get_windows): New member function. + (tui_layout_window::get_windows): Likewise. + (tui_layout_split::get_windows): Likewise. + +2021-02-08 Andrew Burgess + + * tui/tui-layout.c (tui_apply_current_layout): Restore the delete + of the window objects. + +2021-02-08 Andrew Burgess + + * python/python.c (gdbpy_print_stack): Reformat an error message. + +2021-02-08 Andrew Burgess + + * tui/tui-interp.c (tui_command_line_handler): New function. + (tui_interp::resume): Register tui_command_line_handler as the + input_handler. + * tui/tui-io.c (tui_inject_newline_into_command_window): New + function. + (tui_getc_1): Delete handling of '\n' and '\r'. + * tui-io.h (tui_inject_newline_into_command_window): Declare. + +2021-02-07 Hannes Domani + + * tui/tui-regs.c (tui_data_window::display_registers_from): + Mark invisible register sub windows. + (tui_data_window::check_register_values): Ignore invisible + register sub windows. + +2021-02-07 Hannes Domani + + * tui/tui-regs.c (tui_data_item_window::rerender): Don't call + n_spaces with a negative value. + +2021-02-07 Hannes Domani + + * tui/tui-regs.c (tui_data_window::display_registers_from): + Add refresh_window call. + +2021-02-07 Hannes Domani + + * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next. + +2021-02-05 Simon Marchi + + * symmisc.c (std_in, std_out, std_err): Remove. + (_initialize_symmisc): Don't set std_in, std_out and std_err. + +2021-02-05 Tom de Vries + + PR breakpoints/27330 + * breakpoint.c (create_exception_master_breakpoint): Handle case that + glibc object file has debug info. + +2021-02-05 Tom de Vries + + PR symtab/27333 + * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit. + +2021-02-05 Tom de Vries + + PR breakpoints/27313 + * break-catch-syscall.c (catch_syscall_split_args): Reject negative + syscall numbers. + 2021-02-05 Tom Tromey * compile/compile-c-support.c (get_compile_context)