3 * eval.c (eval_op_complement): New function.
4 (evaluate_subexp_standard): Use it.
8 * eval.c (eval_op_neg): New function.
9 (evaluate_subexp_standard): Use it.
13 * eval.c (eval_op_plus): New function.
14 (evaluate_subexp_standard): Use it.
18 * eval.c (eval_op_repeat): New function.
19 (evaluate_subexp_standard): Use it.
23 * eval.c (eval_op_leq): New function.
24 (evaluate_subexp_standard): Use it.
28 * eval.c (eval_op_geq): New function.
29 (evaluate_subexp_standard): Use it.
33 * eval.c (eval_op_gtr): New function.
34 (evaluate_subexp_standard): Use it.
38 * eval.c (eval_op_less): New function.
39 (evaluate_subexp_standard): Use it.
43 * eval.c (eval_op_notequal): New function.
44 (evaluate_subexp_standard): Use it.
48 * eval.c (eval_op_equal): New function.
49 (evaluate_subexp_standard): Use it.
53 * eval.c (eval_op_subscript): New function.
54 (evaluate_subexp_standard): Use it.
58 * eval.c (eval_op_binary): New function.
59 (evaluate_subexp_standard): Use it.
63 * eval.c (eval_op_sub): New function.
64 (evaluate_subexp_standard): Use it.
68 * eval.c (eval_op_add): New function.
69 (evaluate_subexp_standard): Use it.
73 * eval.c (eval_op_member): New function.
74 (evaluate_subexp_standard): Use it.
78 * eval.c (eval_op_structop_ptr): New function.
79 (evaluate_subexp_standard): Use it.
83 * eval.c (eval_op_structop_struct): New function.
84 (evaluate_subexp_standard): Use it.
88 * eval.c (eval_op_ternop): New function.
89 (evaluate_subexp_standard): Use it.
93 * eval.c (eval_op_concat): New function.
94 (evaluate_subexp_standard): Use it.
98 * eval.c (eval_op_objc_selector): New function.
99 (evaluate_subexp_standard): Use it.
103 * eval.c (eval_op_string): New function.
104 (evaluate_subexp_standard): Use it.
108 * eval.c (eval_op_register): New function.
109 (evaluate_subexp_standard): Use it.
113 * eval.c (eval_op_func_static_var): New function.
114 (evaluate_subexp_standard): Use it.
118 * eval.c (eval_op_var_msym_value): New function.
119 (evaluate_subexp_standard): Use it.
123 * eval.c (eval_op_var_entry_value): New function.
124 (evaluate_subexp_standard): Use it.
128 * eval.c (eval_op_scope): New function.
129 (evaluate_subexp_standard): Use it.
134 * ada-lang.c (ada_fold_name): Use gdb::to_string.
138 * dwarf2/sect-names.h (dwarf2_elf_names): Declare.
139 * dwarf2/read.h (dwarf2_get_dwz_file): Move to dwz.h.
140 * dwarf2/read.c (dwarf2_elf_names): No longer static.
141 (locate_dwz_sections, dwz_search_other_debugdirs)
142 (dwarf2_get_dwz_file): Move to dwz.c.
143 * dwarf2/dwz.h (dwarf2_get_dwz_file): Move declaration from
145 * dwarf2/dwz.c (locate_dwz_sections, dwz_search_other_debugdirs)
146 (dwarf2_get_dwz_file): Move from read.c.
150 * debuginfod-support.h: Include scoped_fd.h.
154 * dwarf2/read.h (dwarf2_get_dwz_file): Add 'require' parameter.
155 * dwarf2/read.c (dwarf2_get_dwz_file): Add 'require' parameter.
156 (get_abbrev_section_for_cu, read_attribute_value)
157 (get_debug_line_section): Update.
158 * dwarf2/macro.c (dwarf_decode_macro_bytes): Update.
162 * dwarf2/sect-names.h (struct dwarf2_section_names) <matches>: New
164 * dwarf2/read.c (section_is_p): Remove.
165 (dwarf2_per_bfd::locate_sections)
166 (dwarf2_per_bfd::locate_sections, locate_dwz_sections)
167 (locate_v1_virtual_dwo_sections, dwarf2_locate_dwo_sections)
168 (dwarf2_locate_common_dwp_sections)
169 (dwarf2_locate_v2_dwp_sections, dwarf2_locate_v5_dwp_sections):
174 * xcoffread.c: Include sect-names.h.
175 * symfile.h (struct dwarf2_section_names, struct
176 dwarf2_debug_sections): Move to dwarf2/sect-names.h.
177 * dwarf2/sect-names.h: New file, from symfile.h.
178 * dwarf2/read.c: Include sect-names.h.
182 * dwarf2/read.c (read_attribute): Make 'abbrev' const.
183 * dwarf2/abbrev.c (abbrev_table::alloc_abbrev): Remove.
184 (abbrev_table::read): Update.
185 * dwarf2/abbrev.h (struct attr_abbrev): Move earlier.
186 (struct abbrev_info): Reformat.
187 <attrs>: Now an array.
188 (struct abbrev_table) <alloc_abbrev>: Remove.
192 * ctfread.c (ctf_psymtab_add_enums): New function.
193 (ctf_psymtab_type_cb): call ctf_psymtab_add_enums.
197 * ctfread.c (read_func_kind_type): Set up function arguments.
202 * riscv-none-tdep.c: Add 'user-regs.h' and 'target-description.h'
204 (riscv_csrset): New static global.
205 (riscv_update_csrmap): New function.
206 (riscv_iterate_over_regset_sections): Process CSRs.
210 * riscv-tdep.c (riscv_feature_name_csr): Define.
211 (riscv_feature_name_cpu): Define.
212 (riscv_feature_name_fpu): Define.
213 (riscv_feature_name_virtual): Define.
214 (riscv_xreg_feature): Use riscv_feature_name_cpu.
215 (riscv_freg_feature): Use riscv_feature_name_fpu.
216 (riscv_virtual_feature): Use riscv_feature_name_virtual.
217 (riscv_csr_feature): Use riscv_feature_name_csr.
218 * riscv-tdep.h (riscv_feature_name_csr): Declare.
223 * Makefile.in (ALL_TARGET_OBS): Add riscv-none-tdep.o.
224 (ALLDEPFILES): Add riscv-none-tdep.c.
225 * configure: Regenerate.
226 * configure.ac (CONFIG_OBS): Add elf-none-tdep.o when BFD has ELF
228 * configure.tgt (riscv*-*-*): Include riscv-none-tdep.c.
229 * elf-none-tdep.c: New file.
230 * elf-none-tdep.h: New file.
231 * riscv-none-tdep.c: New file.
236 * corelow.c: Add 'xml-tdesc.h' include.
237 (core_target::read_description): Load the target description from
238 the core file when possible.
239 * fbsd-tdep.c (fbsd_make_corefile_notes): Add target description
241 * gcore-elf.c: Add 'gdbsupport/tdesc.h' include.
242 (gcore_elf_make_tdesc_note): New function.
243 * gcore-elf.h (gcore_elf_make_tdesc_note): Declare.
244 * linux-tdep.c (linux_make_corefile_notes): Add target description
249 * Makefile.in (SFILES): Add gcore-elf.c.
250 (HFILES_NO_SRCDIR): Add gcore-elf.h
251 * configure: Regenerate.
252 * configure.ac: Add gcore-elf.o to CONFIG_OBS if we have ELF
254 * fbsd-tdep.c: Add 'gcore-elf.h' include.
255 (struct fbsd_collect_regset_section_cb_data): Delete.
256 (fbsd_collect_regset_section_cb): Delete.
257 (fbsd_collect_thread_registers): Delete.
258 (struct fbsd_corefile_thread_data): Delete.
259 (fbsd_corefile_thread): Delete.
260 (fbsd_make_corefile_notes): Call
261 gcore_elf_build_thread_register_notes instead of the now deleted
263 * gcore-elf.c: New file, the content was moved here from
264 linux-tdep.c, functions were renamed and given minor cleanup.
265 * gcore-elf.h: New file.
266 * gcore.c (gcore_find_signalled_thread): Moved here from
267 linux-tdep.c and given a new name. Minor cleanups.
268 * gcore.h (gcore_find_signalled_thread): Declare.
269 * linux-tdep.c: Add 'gcore.h' and 'gcore-elf.h' includes.
270 (struct linux_collect_regset_section_cb_data): Delete.
271 (linux_collect_regset_section_cb): Delete.
272 (linux_collect_thread_registers): Delete.
273 (linux_corefile_thread): Call
274 gcore_elf_build_thread_register_notes.
275 (find_signalled_thread): Delete.
276 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
281 * sparc-nat.h (sparc_fetch_inferior_registers): Add
282 process_stratum_target parameter,
283 sparc_store_inferior_registers): update callers.
284 * sparc-nat.c (sparc_fetch_inferior_registers,
285 sparc_store_inferior_registers): Add process_stratum_target
286 parameter. Switch current thread before calling
287 sparc_supply_gregset / sparc_collect_rwindow.
288 (sparc_store_inferior_registers): Likewise.
289 * sparc-obsd-tdep.c (sparc32obsd_supply_uthread): Add assertion.
290 (sparc32obsd_collect_uthread): Likewise.
291 * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
293 * sparc64-obsd-tdep.c (sparc64obsd_collect_uthread,
294 sparc64obsd_supply_uthread): Add assertion.
298 * ada-lang.c (struct match_data) <found_sym>: Now bool.
299 (aux_add_nonlocal_symbols): Update.
300 (ada_add_block_symbols): Change "found_sym" to bool.
304 * ada-lang.c (ada_resolve_function): Update comment.
305 (is_nonfunction, add_symbols_from_enclosing_procs)
306 (remove_extra_symbols): Likewise.
307 (struct match_data): Add constructor, initializers.
308 (add_nonlocal_symbols): Remove memset.
309 (aux_add_nonlocal_symbols): Update comment.
310 (ada_add_block_renamings, add_nonlocal_symbols)
311 (ada_add_all_symbols): Likewise.
312 * ada-exp.y (write_var_or_type): Clean up trailing whitespace.
316 * ada-lang.c (cast_from_gnat_encoded_fixed_point_type)
317 (cast_to_gnat_encoded_fixed_point_type): Remove.
318 (ada_value_cast, ada_evaluate_subexp): Update.
319 (gnat_encoded_fixed_point_type_info)
320 (ada_is_gnat_encoded_fixed_point_type)
321 (gnat_encoded_fixed_point_delta)
322 (gnat_encoded_fixed_point_scaling_factor): Remove.
323 * ada-lang.h (ada_is_gnat_encoded_fixed_point_type)
324 (gnat_encoded_fixed_point_delta)
325 (gnat_encoded_fixed_point_scaling_factor): Don't declare.
326 * ada-typeprint.c (print_gnat_encoded_fixed_point_type): Remove.
327 (ada_print_type): Update.
328 * ada-valprint.c (ada_value_print_num): Update.
329 * dwarf2/read.c (ada_get_gnat_encoded_number)
330 (ada_get_gnat_encoded_ratio): New functions.
331 (finish_fixed_point_type): Use them. Add parameters.
332 (GNAT_FIXED_POINT_SUFFIX): New define.
333 (gnat_encoded_fixed_point_type_info): New function.
334 (read_base_type): Handle gnat encodings.
338 * ada-lang.c (ada_fold_name, ada_variant_discrim_name)
339 (ada_enum_name, scan_discrim_bound, to_fixed_range_type): Use
346 * ada-lang.h (ada_lookup_symbol_list): Return a vector.
347 * ada-lang.c (resolve_subexp): Update.
348 (ada_resolve_function): Accept a vector.
349 (is_nonfunction, add_defn_to_vec)
350 (add_symbols_from_enclosing_procs): Likewise.
351 (num_defns_collected, defns_collected): Remove.
352 (remove_extra_symbols): Return a vector.
353 (remove_irrelevant_renamings): Return void.
354 (ada_add_local_symbols): Accept a vector.
355 (struct match_data) <obstackp>: Remove.
356 <resultp>: New member.
357 (aux_add_nonlocal_symbols): Update.
358 (ada_add_block_renamings, add_nonlocal_symbols)
359 (ada_add_all_symbols): Accept a vector.
360 (ada_lookup_symbol_list_worker, ada_lookup_symbol_list): Return a
362 (ada_lookup_symbol): Update.
363 (ada_add_block_symbols): Accept a vector.
364 (get_var_value, iterate_over_symbols): Update.
365 * ada-exp.y (block_lookup, write_var_or_type, write_name_assoc):
370 * ada-lang.c (resolve_subexp): Use any_of and erase-remove idiom.
374 * ada-lang.c (struct ada_symbol_cache) <cache_space>: Now an
377 (ada_pspace_data): Remove destructor.
378 <sym_cache>: Now a unique_ptr.
379 (ada_init_symbol_cache, ada_free_symbol_cache): Remove.
380 (ada_get_symbol_cache): Use 'new'.
381 (ada_clear_symbol_cache): Rewrite.
385 * ada-lang.c (add_nonlocal_symbols): Handle case where objfile->sf
391 * source.c (add_path): Skip empty dirnames.
395 * nat/aarch64-sve-linux-ptrace.h: Add comment regarding
396 include order for <sys/ptrace.h> and <asm/ptrace.h>.
401 * target.c (target_mourn_inferior): Only compare pids in
402 target_mourn_inferior.
407 * remote.c (remote_target::start_remote): Ensure the single
408 thread, automatically added for remote targets without the
409 concept of threading, is initially in set to the "resumed"
411 * remote.c (remote_target::add_current_inferior_and_thread):
412 Add return value - return the main thread.
416 * gdb/mi/mi-interp.c (mi_traceframe_changed): Remove trailing \n from output.
417 (mi_tsv_created): Likewise.
418 (mi_tsv_deleted): Likewise.
423 * dwarf2/read.c (open_and_init_dwo_file): Use rcuh_kind::COMPILE as
424 section_kind for &dwo_file->sections.info.
429 * f-lang.c (fortran_argument_convert): Delete declaration.
430 (fortran_prepare_argument): New function.
431 (evaluate_subexp_f): Move logic to new function
432 fortran_prepare_argument.
436 * f-exp.y (f77_keywords): Add 'associated'.
437 * f-lang.c (fortran_associated): New function.
438 (evaluate_subexp_f): Handle FORTRAN_ASSOCIATED.
439 (operator_length_f): Likewise.
440 (print_unop_or_binop_subexp_f): New function.
441 (print_subexp_f): Make use of print_unop_or_binop_subexp_f for
442 FORTRAN_ASSOCIATED, FORTRAN_LBOUND, and FORTRAN_UBOUND.
443 (dump_subexp_body_f): Handle FORTRAN_ASSOCIATED.
444 (operator_check_f): Likewise.
445 * std-operator.def: Add FORTRAN_ASSOCIATED.
449 * f-exp.y (fortran_operators): Add ".xor.".
454 * dwarf2/attribute.c (attribute::form_is_signed): New function
456 * dwarf2/attribute.h (attribute::as_signed): ... here.
457 (attribute::is_nonnegative, attribute::as_nonnegative): New function.
458 (attribute::form_is_signed): Declare.
459 * dwarf2/read.c (new_symbol): Use is_nonnegative and as_nonnegative
464 * nat/aarch64-linux-hw-point.c: Add comment regarding include
465 order for <sys/ptrace.h> and <asm/ptrace.h>.
469 * nat/aarch64-linux-hw-point.c: Include <asm/ptrace.h> after
474 * exec.c (set_section_command): Move variable declarations into
475 the function body, and use std::string instead of a fixed size
480 * exec.c (exec_target::get_section_table): Delete member function.
481 (section_table_read_available_memory): Use current_top_target, not
482 just the exec_ops target.
483 * target-delegates.c: Regenerate.
484 * target.c (default_get_section_table): New function.
485 * target.h (target_ops::get_section_table): Change default
486 behaviour to call default_get_section_table.
487 (default_get_section_table): Declare.
491 * exec.c (exec_target::close): Call new clear_target_sections
493 (program_space::add_target_sections): Update name of member
495 (program_space::add_target_sections): Update name of member
497 (program_space::remove_target_sections): Likewise.
498 (exec_one_fork): Use new target_sections member function.
499 (exec_target::get_section_table): Likewise.
500 (exec_target::files_info): Likewise.
501 (set_section_command): Likewise.
502 (exec_set_section_address): Likewise.
503 (exec_target::has_memory): Use new target_sections member
505 * progspace.h (program_space::clear_target_sections): New member
507 (program_space::target_sections): Rename member variable to
508 m_target_sections, replace with a new member function.
509 (program_space::m_target_sections): New member variable.
510 * solib-dsbt.c (scan_dyntag): Use new member function.
511 * solib-svr4.c (scan_dyntag): Likewise.
515 * gdb/bfd-target.c (class target_bfd) <get_section_table>: Make
517 * gdb/exec.c (struct exec_target) <get_section_table>: Likewise.
518 (section_table_read_available_memory): Make local const.
519 (exec_target::xfer_partial): Make local const.
520 (print_section_info): Make parameter const.
521 * gdb/exec.h (print_section_info): Likewise.
522 * gdb/ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Make local
524 * gdb/record-btrace.c (record_btrace_target::xfer_partial):
526 * gdb/remote.c (remote_target::remote_xfer_live_readonly_partial):
528 * gdb/s390-tdep.c (s390_load): Likewise.
529 * gdb/solib-dsbt.c (scan_dyntag): Likewise.
530 * gdb/solib-svr4.c (scan_dyntag): Likewise.
531 * gdb/target-debug.h (target_debug_print_target_section_table_p):
533 (target_debug_print_const_target_section_table_p): ...this.
534 * gdb/target-delegates.c: Regenerate.
535 * gdb/target.c (target_get_section_table): Make return type const.
536 (target_section_by_addr): Likewise. Also make some locals const.
537 (memory_xfer_partial_1): Make some locals const.
538 * gdb/target.h (struct target_ops) <get_section_table>: Make
540 (target_section_by_addr): Likewise.
541 (target_get_section_table): Likewise.
545 * NEWS: Mention new 'maint info target-sections' command.
546 * maint.c (maintenance_info_target_sections): New function.
547 (_initialize_maint_cmds): Register new command.
551 * riscv-tdep.c (riscv_features_from_gdbarch_info): Rename to...
552 (riscv_features_from_bfd): ...this. Change parameter type to
553 'bfd*', and update as required.
554 (riscv_find_default_target_description): Update call to
555 riscv_features_from_bfd. Select a default xlen based on
557 (riscv_gdbarch_init): Update call to riscv_features_from_bfd.
561 * eval.c (evaluate_subexp_standard): Call value_ind for points to
562 dynamic types in UNOP_IND.
567 * dwarf2/read.c (dwarf2_queue_guard) <dwarf2_queue_guard>:
569 (~dwarf2_queue_guard): Clear queue.
570 (queue_comp_unit): Assert that queue is
572 (process_queue): Adjust.
573 * dwarf2/read.h (struct dwarf2_per_bfd) <queue>: Make optional.
578 * dwarf2/read.c (maybe_queue_comp_unit): Check if CU is expanded
579 to decide whether or not to enqueue it for expansion.
580 (follow_die_offset, follow_die_sig_1): Ensure we load the DIEs
581 after calling maybe_queue_comp_unit.
585 * linux-nat.c (linux_nat_filter_event): Return void.
589 * solib-svr4.c (enable_break): Update.
590 * bfd-target.c (class target_bfd) <target_bfd>: Change parameter
592 (target_bfd_reopen): Change parameter type.
593 * bfd-target.h (target_bfd_reopen): Change parameter type.
597 * thread.c (add_thread_silent): Add assert.
598 (find_thread_ptid): Add assert.
603 * inf-ptrace.c (struct target_unpusher): Move to target.h.
604 (target_unpush_up): Likewise.
605 * procfs.c (procfs_target::attach): Push target early. Use
606 target_unpush_up to unpush target in case of error.
607 * target.h (struct target_unpusher): Move here.
608 (target_unpush_up): Likewise.
612 * nat/amd64-linux-siginfo.c: Include "gdbsupport/common-defs.h"
613 (which in turn includes <gnulib/config.h>) before include
619 * riscv-tdep.c (decode_ci_type_insn): Updated encoding macros.
620 (decode_j_type_insn): Likewise.
621 (decode_cj_type_insn): Likewise.
622 (decode_b_type_insn): Likewise.
627 * expression.h (struct expression) <evaluate>: Declare method.
628 * eval.c (evaluate_subexp): Simplify.
629 (expression::evaluate): New method.
630 (evaluate_expression, evaluate_type): Use expression::evaluate.
634 * ada-lang.c (ada_fold_name): Check for non-empty string prior
636 (ada_lookup_name_info): Likewise.
640 * aclocal.m4: Regenerate.
645 * linux-nat.c (lin_thread_get_thread_signals): Remove.
646 (lin_thread_signals): New static var.
647 (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal):
649 * linux-nat.h (lin_thread_get_thread_signals): Remove.
650 (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal):
652 * linux-thread-db.c (check_thread_signals): Use
653 lin_thread_get_thread_signal_num and lin_thread_get_thread_signal.
657 * f-exp.y (f77_keywords): Add allocated.
658 * f-lang.c (evaluate_subexp_f): Handle UNOP_FORTRAN_ALLOCATED.
659 (operator_length_f): Likewise.
660 (print_subexp_f): Likewise.
661 (dump_subexp_body_f): Likewise.
662 (operator_check_f): Likewise.
663 * std-operator.def (UNOP_FORTRAN_ALLOCATED): New operator.
668 * dwarf2/attribute.c (attribute::form_requires_reprocessing):
669 Return true for DW_FORM_strx.
674 * parse.c (write_exp_symbol_reference): Write sym.block.
678 * NEWS: Mention changes to 'maint info sections'.
679 * maint.c (match_substring): Return a bool, fix whitespace issue.
680 (struct single_bfd_flag_info): New struct.
681 (bfd_flag_info): New static global.
682 (match_bfd_flags): Return a bool, use bfd_flag_info.
683 (print_bfd_flags): Use bfd_flag_info.
684 (maint_print_section_info): Delete trailing whitespace.
685 (struct maint_info_sections_opts): New struct.
686 (maint_info_sections_option_defs): New static global.
687 (maint_info_sections_completer): New function.
688 (maintenance_info_sections): Use option parsing mechanism.
689 (_initialize_maint_cmds): Update command help text for 'maint info
690 sections' and register a command completer.
694 * maint.c (print_bfd_section_info_maybe_relocated): Delete,
695 functionality merged into...
696 (maint_print_all_sections): ...this new function.
697 (maintenance_info_sections): Make use of maint_print_all_sections,
698 allow all objects to be printed even where there's no executable.
702 * breakpoint.c (resolve_sal_pc): Make use of
703 bound_minimal_symbol::obj_section.
704 * maint.c (maintenance_translate_address): Likewise.
705 * minsyms.c (minimal_symbol_upper_bound): Likewise.
706 * minsyms.h (struct bound_minimal_symbol) <obj_section>: New
708 * printcmd.c (info_address_command): Make use of
709 bound_minimal_symbol::obj_section.
713 * arm-symbian-tdep.c: Delete.
714 * NEWS: Mention arm-symbian removal.
715 * Makefile.in: Remove arm-symbian-tdep entries.
716 * configure.tgt: Remove arm*-*-symbianelf*.
717 * doc/gdb.texinfo: Remove mention of SymbianOS.
718 * osabi.c (gdb_osabi_names): Remove "Symbian".
719 * osabi.h (enum gdb_osabi): Remove GDB_OSABI_SYMBIAN.
720 * testsuite/gdb.base/ending-run.exp: Remove E32Main handling.
721 * testsuite/gdb.ada/catch_ex_std.exp: Remove arm*-*-symbianelf*
723 * testsuite/gdb.base/dup-sect.exp: Likewise.
724 * testsuite/gdb.base/long_long.exp: Likewise.
725 * testsuite/gdb.base/solib-weak.exp: Likewise.
726 * testsuite/gdb.guile/scm-section-script.exp: Likewise.
727 * testsuite/gdb.python/py-section-script.exp: Likewise.
728 * testsuite/lib/dwarf.exp: Likewise.
729 * testsuite/lib/gdb.exp: Likewise.
733 * f-exp.y (UNOP_OR_BINOP_INTRINSIC): New token.
734 (exp): New pattern using UNOP_OR_BINOP_INTRINSIC.
735 (one_or_two_args): New pattern.
736 (f77_keywords): Add lbound and ubound.
737 * f-lang.c (fortran_bounds_all_dims): New function.
738 (fortran_bounds_for_dimension): New function.
739 (evaluate_subexp_f): Handle FORTRAN_LBOUND and FORTRAN_UBOUND.
740 (operator_length_f): Likewise.
741 (print_subexp_f): Likewise.
742 (dump_subexp_body_f): Likewise.
743 (operator_check_f): Likewise.
744 * std-operator.def (FORTRAN_LBOUND): Define.
745 (FORTRAN_UBOUND): Define.
749 * coff-pe-read.c (add_pe_forwarded_sym): Make use of section_index
750 and set_section_index member functions where appropriate.
751 * coffread.c (coff_symtab_read): Likewise.
752 (process_coff_symbol): Likewise.
753 * ctfread.c (set_symbol_address): Likewise.
754 * dwarf2/read.c (add_partial_symbol): Likewise.
755 (var_decode_location): Likewise.
756 * language.c: Likewise.
757 * minsyms.c (minimal_symbol_reader::record_full): Likewise.
758 (compact_minimal_symbols): Likewise.
759 (minimal_symbol_upper_bound): Likewise.
760 * objfiles.c (relocate_one_symbol): Likewise.
761 * psympriv.h (partial_symbol::obj_section): Likewise.
762 (partial_symbol::address): Likewise.
763 * psymtab.c (partial_symtab::add_psymbol): Likewise.
764 * stabsread.c (scan_file_globals): Likewise.
765 * symmisc.c (dump_msymbols): Likewise.
766 * symtab.c (general_symbol_info::obj_section): Likewise.
767 (fixup_section): Likewise.
768 (get_msymbol_address): Likewise.
769 * symtab.h (general_symbol_info::section): Rename to...
770 (general_symbol_info::m_section): ...this.
771 (general_symbol_info::set_section_index): New member function.
772 (general_symbol_info::section_index): Likewise.
773 (SYMBOL_SECTION): Delete.
774 (MSYMBOL_VALUE_ADDRESS): Make use of section_index and
775 set_section_index member functions where appropriate.
776 (MSYMBOL_SECTION): Delete.
777 (symbol::symbol): Update to initialize 'm_section'.
778 * xcoffread.c (read_xcoff_symtab): Make use of set_section_index.
779 (process_xcoff_symbol): Likewise.
783 * breakpoint.c (resolve_sal_pc): Replace SYMBOL_OBJ_SECTION and
785 * findvar.c (language_defn::read_var_value): Likewise.
786 * infcmd.c (jump_command): Likewise.
787 * linespec.c (minsym_found): Likewise.
788 * maint.c (maintenance_translate_address): Likewise.
789 * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise.
790 (minimal_symbol_upper_bound): Likewise.
791 * parse.c (find_minsym_type_and_address): Likewise.
792 (operator_check_standard): Likewise.
793 * printcmd.c (info_address_command): Likewise.
794 * symmisc.c (dump_msymbols): Likewise.
795 (print_symbol): Likewise.
796 * symtab.c (general_symbol_info::obj_section): Define new
798 (fixup_symbol_section): Replace SYMBOL_OBJ_SECTION.
799 (find_pc_sect_compunit_symtab): Likewise.
800 (find_function_start_sal): Likewise.
801 (skip_prologue_sal): Replace SYMBOL_OBJ_SECTION and
803 * symtab.h (struct general_symbol_info) <obj_section>: Declare new
805 (SYMBOL_OBJ_SECTION): Delete.
806 (MSYMBOL_OBJ_SECTION): Delete.
810 * stap-probe.c (stap_parse_argument_conditionally): Fix typo.
815 * dwarf2/read.c (read_array_type): Return NULL when not being able to
816 construct an array type. Add assert to ensure that element_type is
821 * gcore.c (struct gcore_collect_regset_section_cb_data): Delete.
822 (gcore_collect_regset_section_cb): Delete.
823 (gcore_collect_thread_registers): Delete.
824 (gcore_build_thread_register_notes): Delete.
825 (gcore_find_signalled_thread): Delete.
826 * gcore.h: Remove 'gdbsupport/gdb_signals.h' include and delete
827 'gdbarch' and 'thread_info' declarations.
828 (gcore_build_thread_register_notes): Delete declaration.
829 (gcore_find_signalled_thread): Likewise.
830 * fbsd-tdep.c: Remove 'gcore.h' include.
831 (struct fbsd_collect_regset_section_cb_data): New struct.
832 (fbsd_collect_regset_section_cb): New function.
833 (fbsd_collect_thread_registers): New function.
834 (struct fbsd_corefile_thread_data): New struct.
835 (fbsd_corefile_thread): New function.
836 (fbsd_make_corefile_notes): Call FreeBSD specific code.
837 * linux-tdep.c: Remove 'gcore.h' include.
838 (struct linux_collect_regset_section_cb_data): New struct.
839 (linux_collect_regset_section_cb): New function.
840 (linux_collect_thread_registers): New function.
841 (linux_corefile_thread): Call Linux specific code.
842 (find_signalled_thread): New function.
843 (linux_make_corefile_notes): Call find_signalled_thread.
847 * ada-lang.c (coerce_unspec_val_to_type): Avoid making lazy
849 * value.c (value_contents_copy_raw): Now static.
850 * value.h (value_contents_copy_raw): Don't declare.
854 * gdbtypes.c (resolve_dynamic_struct): Handle structure with no
860 * arc-linux-tdep.c (handle_atomic_sequence): New.
861 (arc_linux_software_single_step): Call handle_atomic_sequence().
865 * python/py-tui.c (gdbpy_tui_window) <is_valid>: New member
867 (REQUIRE_WINDOW): Call is_valid member function.
868 (REQUIRE_WINDOW_FOR_SETTER): New define.
869 (gdbpy_tui_is_valid): Call is_valid member function.
870 (gdbpy_tui_set_title): Call REQUIRE_WINDOW_FOR_SETTER instead.
871 * tui/tui-data.h (struct tui_win_info) <is_visible>: Check
873 * tui/tui-layout.c (tui_apply_current_layout): Add an assert.
874 * tui/tui.c (tui_enable): Move setting of tui_active earlier in
879 * python/py-tui.c (gdbpy_tui_set_title): Check that the new value
880 for the title is not nullptr.
884 * tui-layout.c (saved_tui_windows): Delete.
885 (tui_apply_current_layout): Don't make use of saved_tui_windows,
886 call new get_windows member function instead.
887 (tui_get_window_by_name): Check in tui_windows.
888 (tui_layout_window::apply): Don't add to tui_windows.
889 * tui-layout.h (tui_layout_base::get_windows): New member function.
890 (tui_layout_window::get_windows): Likewise.
891 (tui_layout_split::get_windows): Likewise.
895 * tui/tui-layout.c (tui_apply_current_layout): Restore the delete
896 of the window objects.
900 * python/python.c (gdbpy_print_stack): Reformat an error message.
904 * tui/tui-interp.c (tui_command_line_handler): New function.
905 (tui_interp::resume): Register tui_command_line_handler as the
907 * tui/tui-io.c (tui_inject_newline_into_command_window): New
909 (tui_getc_1): Delete handling of '\n' and '\r'.
910 * tui-io.h (tui_inject_newline_into_command_window): Declare.
914 * tui/tui-regs.c (tui_data_window::display_registers_from):
915 Mark invisible register sub windows.
916 (tui_data_window::check_register_values): Ignore invisible
917 register sub windows.
921 * tui/tui-regs.c (tui_data_item_window::rerender): Don't call
922 n_spaces with a negative value.
926 * tui/tui-regs.c (tui_data_window::display_registers_from):
927 Add refresh_window call.
931 * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next.
935 * symmisc.c (std_in, std_out, std_err): Remove.
936 (_initialize_symmisc): Don't set std_in, std_out and std_err.
941 * breakpoint.c (create_exception_master_breakpoint): Handle case that
942 glibc object file has debug info.
947 * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit.
952 * break-catch-syscall.c (catch_syscall_split_args): Reject negative
957 * compile/compile-c-support.c (get_compile_context)
958 (c_get_compile_context, cplus_get_compile_context): Change return
960 * language.c (language_defn::get_compile_instance): New method.
961 * language.h (language_defn::get_compile_instance): Change return
962 type. No longer inline.
963 * c-lang.c (c_language::get_compile_instance): Change return type.
964 (cplus_language::get_compile_instance): Change return type.
965 * c-lang.h (c_get_compile_context, cplus_get_compile_context):
967 * compile/compile.c (compile_to_object): Update.
971 * parser-defs.h (write_exp_symbol_reference): Declare.
972 * parse.c (write_exp_symbol_reference): New function.
973 * p-exp.y (variable): Use write_exp_symbol_reference.
974 * m2-exp.y (variable): Use write_exp_symbol_reference.
975 * f-exp.y (variable): Use write_exp_symbol_reference.
976 * d-exp.y (PrimaryExpression): Use write_exp_symbol_reference.
977 * c-exp.y (variable): Use write_exp_symbol_reference.
982 * valarith.c (complex_binop): Throw an error if complex type can't
988 * dwarf2/read.c (create_cus_from_debug_names_list): Add missing
993 * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation.
997 * configure.tgt (riscv*-*-*): Set gdb_sim.
1001 * target.c (target_is_non_stop_p): Return bool.
1002 * target.h (target_is_non_stop_p): Return bool.
1006 * record-full.c (record_full_async_inferior_event_handler):
1007 Don't clear async event handler.
1008 (record_full_base_target::wait): Clear async event handler at
1013 * record-btrace.c (record_btrace_handle_async_inferior_event):
1014 Don't clear async event handler.
1015 (record_btrace_target::wait): Clear async event handler at
1020 * remote.c (remote_target::wait): Clear async event handler at
1021 beginning, mark if needed at the end.
1022 (remote_async_inferior_event_handler): Don't set or clear async
1027 * async-event.h (async_event_handler_func): Add documentation.
1028 * async-event.c (check_async_event_handlers): Don't clear
1029 async_event_handler ready flag.
1030 * infrun.c (infrun_async_inferior_event_handler): Clear ready
1032 * record-btrace.c (record_btrace_handle_async_inferior_event):
1034 * record-full.c (record_full_async_inferior_event_handler):
1036 * remote-notif.c (remote_async_get_pending_events_handler):
1038 * remote.c (remote_async_inferior_event_handler): Likewise.
1042 * infrun.c (handle_inferior_event): Move stop_soon variable to
1047 * infcmd.c (detach_command): Hold strong reference to target, and
1048 if all-stop on entry, restart threads on exit.
1049 * infrun.c (switch_back_to_stepped_thread): Factor out bits to ...
1050 (restart_stepped_thread): ... this new function. Also handle
1052 (restart_after_all_stop_detach): New function.
1053 * infrun.h (restart_after_all_stop_detach): Declare.
1057 * infrun.c (struct step_over_info): Initialize fields.
1058 (prepare_for_detach): Handle ongoing in-line step over.
1062 * linux-nat.c (linux_nat_target::detach): Remove breakpoints
1064 * remote.c (remote_target::remote_detach_1): ... and here ...
1065 * target.c (target_detach): ... instead of here.
1066 * target.h (target_ops::detach): Add comment.
1070 * infrun.c (struct wait_one_event): Move higher up.
1071 (prepare_for_detach): Abort in-progress displaced steps instead of
1072 letting them complete.
1073 (handle_one): If the inferior is detaching, don't add the thread
1074 back to the global step-over chain.
1075 (restart_threads): Don't restart threads if detaching.
1076 (handle_signal_stop): Remove inferior::detaching reference.
1080 * infrun.c (prepare_for_detach): Don't release scoped_restore
1085 * infrun.c (handle_one): New function, factored out from ...
1086 (stop_all_threads): ... here.
1090 * remote.c (remote_notif_stop_ack): Don't error out on
1091 TARGET_WAITKIND_IGNORE; instead, just ignore the notification.
1092 (remote_target::discard_pending_stop_replies): Don't delete
1093 in-flight notification; instead, clear its contents.
1097 * remote.c (extended_remote_target::attach): Set target async in
1098 the target-non-stop path too.
1103 * infrun.c (handle_signal_stop): Move main context_switch call
1104 earlier, before STOP_QUIETLY_NO_SIGSTOP.
1108 * NEWS (Changed commands): Add entry for the behavior change of
1109 the inferior command.
1110 * inferior.c (inferior_command): When no argument is given to the
1111 inferior command, display info about the currently selected
1116 * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return
1118 (read_attribute_reprocess): Adjust.
1122 * dwarf2/die.h (struct die_info) <ranges_base>: Split in...
1123 <gnu_ranges_base>: ... this...
1124 <rnglists_base>: ... and this.
1125 * dwarf2/read.c (struct dwarf2_cu) <ranges_base>: Split in...
1126 <gnu_ranges_base>: ... this...
1127 <rnglists_base>: ... and this.
1128 (read_cutu_die_from_dwo): Adjust
1129 (dwarf2_get_pc_bounds): Adjust
1130 (dwarf2_record_block_ranges): Adjust.
1131 (read_full_die_1): Adjust
1132 (partial_die_info::read): Adjust.
1133 (read_rnglist_index): Adjust.
1138 * dwarf2/read.c (read_loclists_rnglists_header): Add
1139 header_offset parameter and use it.
1140 (read_loclist_index): Read header of the current contribution,
1141 not the one at the beginning of the section.
1142 (read_rnglist_index): Likewise.
1147 * dwarf2/attribute.h (struct attribute) <set_unsigned>: Clear
1148 requires_reprocessing flag.
1149 * dwarf2/attribute.c (attribute::form_is_unsigned): Handle
1151 (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx
1152 and DW_FORM_loclistx.
1153 * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned
1154 instead of set_address for DW_FORM_loclistx and
1159 * dwarf2/read.c (read_loclist_index): Remove bound check for
1161 (read_rnglist_index): Likewise.
1165 * dwarf2/read.c (read_loclist_index): Add bound check for the end
1170 * dwarf2/read.c (read_rnglist_index): Fix bound check.
1174 * dwarf2/read.c (read_loclist_index): Change complaints into
1180 * dwarf2/index-write.c (write_one_signatured_type): Skip if
1185 * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h.
1186 * gcore.c (struct gcore_collect_regset_section_cb_data): Moved
1187 here from linux-tdep.c and given a new name. Minor cleanups.
1188 (gcore_collect_regset_section_cb): Likewise.
1189 (gcore_collect_thread_registers): Likewise.
1190 (gcore_build_thread_register_notes): Likewise.
1191 (gcore_find_signalled_thread): Likewise.
1192 * gcore.h (gcore_build_thread_register_notes): Declare.
1193 (gcore_find_signalled_thread): Declare.
1194 * fbsd-tdep.c: Add 'gcore.h' include.
1195 (struct fbsd_collect_regset_section_cb_data): Delete.
1196 (fbsd_collect_regset_section_cb): Delete.
1197 (fbsd_collect_thread_registers): Delete.
1198 (struct fbsd_corefile_thread_data): Delete.
1199 (fbsd_corefile_thread): Delete.
1200 (fbsd_make_corefile_notes): Call
1201 gcore_build_thread_register_notes instead of the now deleted
1203 * linux-tdep.c: Add 'gcore.h' include.
1204 (struct linux_collect_regset_section_cb_data): Delete.
1205 (linux_collect_regset_section_cb): Delete.
1206 (linux_collect_thread_registers): Delete.
1207 (linux_corefile_thread): Call
1208 gcore_build_thread_register_notes.
1209 (find_signalled_thread): Delete.
1210 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
1214 PR breakpoints/26063
1215 * infrun.c (process_event_stop_test): Reset
1216 ecs->event_thread->current_line to 0 if is-stmt=n and frame has
1221 * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an
1222 assert. Extend the header comment.
1226 * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c.
1227 (HFILES_NO_SRCDIR): Add tui/tui-location.h.
1228 * tui/tui-data.h (TUI_STATUS_WIN): Define.
1229 (tui_locator_win_info_ptr): Delete declaration.
1230 * tui/tui-disasm.c: Add 'tui/tui-location.h' include.
1231 (tui_disasm_window::set_contents): Fetch state from tui_location
1233 (tui_get_begin_asm_address): Likewise.
1234 * tui/tui-layout.c (tui_apply_current_layout): Remove special case
1236 (get_locator_window): Delete.
1237 (initialize_known_windows): Treat locator window just like all the
1239 * tui/tui-source.c: Add 'tui/tui-location.h' include.
1240 (tui_source_window::set_contents): Fetch state from tui_location
1242 (tui_source_window::showing_source_p): Likewise.
1243 * tui/tui-stack.c: Add 'tui/tui-location.h' include.
1245 (tui_locator_win_info_ptr): Delete.
1246 (tui_locator_window::make_status_line): Fetch state from
1247 tui_location global.
1248 (tui_locator_window::rerender): Remove check of 'handle',
1249 reindent function body.
1250 (tui_locator_window::set_locator_fullname): Delete.
1251 (tui_locator_window::set_locator_info): Delete.
1252 (tui_update_locator_fullname): Delete.
1253 (tui_show_frame_info): Likewise.
1254 (tui_show_locator_content): Access window through TUI_STATUS_WIN.
1255 * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to
1256 tui/tui-location.h and renamed to
1257 tui_location_tracker::set_location.
1258 (tui_locator_window::set_locator_fullname): Moved to
1259 tui/tui-location.h and renamed to
1260 tui_location_tracker::set_fullname.
1261 (tui_locator_window::full_name): Delete.
1262 (tui_locator_window::proc_name): Delete.
1263 (tui_locator_window::line_no): Delete.
1264 (tui_locator_window::addr): Delete.
1265 (tui_locator_window::gdbarch): Delete.
1266 (tui_update_locator_fullname): Delete declaration.
1267 * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling
1269 * tui/tui-winsource.c: Add 'tui/tui-location.h' include.
1270 (tui_display_main): Call function on tui_location directly.
1271 * tui/tui.h (enum tui_win_type): Add STATUS_WIN.
1272 * tui/tui-location.c: New file.
1273 * tui/tui-location.h: New file.
1277 * gdbtypes.h (get_type_arch): Rename to...
1278 (struct type) <arch>: ... this, update all users.
1282 * gdbtypes.h (struct type) <arch>: Rename to...
1283 <arch_owner>: ... this, update all users.
1284 <objfile>: Rename to...
1285 <objfile_owner>: ... this, update all users.
1289 * gdbcmd.h (execute_command_to_string): Update comment.
1290 * top.c (execute_command_to_string): Update header comment.
1294 PR breakpoints/27205
1295 * breakpoint.c (create_longjmp_master_breakpoint_probe)
1296 (create_longjmp_master_breakpoint_names): New function, factored out
1298 (create_longjmp_master_breakpoint): ... here. Only try to install
1299 longjmp_names breakpoints in libc.so/libc.so.debug if installing probe
1300 breakpoint in libc.so failed.
1305 * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the
1306 unique_ptr is released when the wrapped pointer is kept for later
1311 * aarch64-tdep.c (aarch64_displaced_step_others): Account for
1312 BLR and BR instructions.
1313 * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode.
1314 (enum aarch64_masks): New.
1318 * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM)
1319 (DEBUG_EXCEPT): Use debug_prefixed_printf_cond.
1320 (windows_init_thread_list, windows_nat::handle_load_dll)
1321 (windows_nat::handle_unload_dll, windows_nat_target::resume)
1322 (windows_nat_target::resume)
1323 (windows_nat_target::get_windows_debug_event)
1324 (windows_nat_target::interrupt, windows_xfer_memory)
1325 (windows_nat_target::close): Update.
1326 * nat/windows-nat.c (DEBUG_EVENTS): Use
1327 debug_prefixed_printf_cond.
1328 (matching_pending_stop, fetch_pending_stop)
1329 (continue_last_debug_event): Update.
1333 * linux-tdep.c (linux_make_mappings_corefile_notes): Start using
1334 elfcore_write_file_note.
1338 * arc-tdep.c (arc_add_reggroups): New function.
1339 (arc_gdbarch_init): Call arc_add_reggroups.
1343 * arc-tdep.c (arc_skip_prologue): Log "pc" address.
1349 * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for
1354 * dwarf2/read.c (get_mpz): New function.
1355 (get_dwarf2_rational_constant): Use it.
1359 * ada-lang.c (resolve_subexp): Handle array context.
1364 * compile/compile-loc2c.c (note_register): New function.
1365 (pushf_register_address, pushf_register): Use it.
1369 * symtab.h (struct symbol_computed_ops) <generate_c_location>:
1370 Change type of "registers_used".
1371 * dwarf2/loc.h (dwarf2_compile_property_to_c): Update.
1372 * dwarf2/loc.c (dwarf2_compile_property_to_c)
1373 (locexpr_generate_c_location, loclist_generate_c_location): Change
1374 type of "registers_used".
1375 * compile/compile.h (compile_dwarf_expr_to_c)
1376 (compile_dwarf_bounds_to_c): Update.
1377 * compile/compile-loc2c.c (pushf_register_address)
1378 (pushf_register, do_compile_dwarf_expr_to_c)
1379 (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type
1380 of "registers_used".
1381 * compile/compile-c.h (generate_c_for_variable_locations):
1383 * compile/compile-c-symbols.c (generate_vla_size)
1384 (generate_c_for_for_one_variable): Change type of
1386 (generate_c_for_variable_locations): Return std::vector.
1387 * compile/compile-c-support.c (generate_register_struct): Change
1388 type of "registers_used".
1393 * compile/compile-internal.h (class compile_instance)
1394 <set_arguments>: Change return type.
1395 * compile/compile.c (compile_to_object): Remove call to reset.
1396 (compile_instance::set_arguments): Change return type.
1400 * gdbtypes.c (copy_type_recursive): Use get_type_arch.
1401 * gdbtypes.h (struct type) <set_owner>: Add asserts.
1405 * Makefile.in (SELFTESTS_SRCS): Add
1406 unittests/gdb_tilde_expand-selftests.c.
1407 * unittests/gdb_tilde_expand-selftests.c: New file.
1412 * NEWS: Mention new command.
1413 * cli/cli-style.c: Add 'cli/cli-setshow.h' include.
1414 (version_style): Define.
1415 (cli_style_option::cli_style_option): Add intensity parameter, and
1417 (_initialize_cli_style): Register version style set/show commands.
1418 * cli/cli-style.h (cli_style_option): Add intensity parameter.
1419 (version_style): Declare.
1420 * top.c (print_gdb_version): Use version_stype, and styled_string
1421 to print the GDB version string.
1425 * utils.c (emit_style_escape): Only emit an escape sequence if the
1426 requested style is different than the current applied style.
1427 (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and
1428 current applied_style.
1429 (fputs_styled): Remove is_default check.
1430 (fputs_styled_unfiltered): Likewise.
1431 (vfprintf_styled_no_gdbfmt): Likewise.
1435 * remote.h (remote_debug_printf): New.
1436 (remote_debug_printf_nofunc): New.
1437 (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New.
1438 * remote.c: Use above macros throughout file.
1442 * remote.h (remote_debug): Change to bool.
1443 * remote.c (remote_debug): Change to bool.
1444 (_initialize_remote): Adjust.
1448 * target.h (remote_debug): Move to...
1449 * remote.h (remote_debug): ... here.
1450 * top.c (remote_debug): Move to...
1451 * remote.c (remote_debug): ... here.
1452 * remote-sim.c: Include remote.h.
1456 * cli/cli-cmds.c (show_remote_debug): Remove.
1457 (show_remote_timeout): Remove.
1458 (_initialize_cli_cmds): Don't register commands.
1459 * remote.c (show_remote_debug): Move here.
1460 (show_remote_timeout): Move here.
1461 (_initialize_remote): Register commands.
1465 * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the
1466 type::objfile method instead.
1470 * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to
1471 use the type::is_objfile_owned method.
1475 * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust.
1476 (TYPE_OWNER): Remove.
1477 (TYPE_OBJFILE): Adjust.
1478 (struct main_type) <flag_objfile_owned>: Rename to...
1479 <m_flag_objfile_owned>: ... this.
1480 <owner>: Rename to...
1481 <m_owner>: ... this.
1482 (struct type) <is_objfile_owned, set_owner, objfile, arch>: New
1484 (TYPE_ALLOC): Adjust.
1485 * gdbtypes.c (alloc_type): Adjust.
1486 (alloc_type_arch): Adjust.
1487 (alloc_type_copy): Adjust.
1488 (get_type_arch): Adjust.
1489 (smash_type): Adjust.
1490 (lookup_array_range_type): Adjust.
1491 (recursive_dump_type): Adjust.
1492 (copy_type_recursive): Adjust.
1493 * compile/compile-c-types.c (convert_func): Adjust.
1494 (convert_type_basic): Adjust.
1495 * compile/compile-cplus-types.c (compile_cplus_convert_func):
1498 (language_arch_info::type_and_symbol::alloc_type_symbol):
1503 * coffread.c (enter_linenos): Passing string to complaint.
1504 * valops.c (value_assign): Make array view.
1508 * auto-load.h (debug_auto_load): Move here.
1509 (auto_load_debug_printf): New.
1510 * auto-load.c: Use auto_load_debug_printf.
1511 (debug_auto_load): Move to header.
1512 * linux-thread-db.c (try_thread_db_load): Use
1513 auto_load_debug_printf.
1514 * main.c (captured_main_1): Likewise.
1518 * f-valprint.c (f77_array_offset_tbl): Remove.
1522 * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file.
1526 * ser-tcp.c (wait_for_connect): Use interruptible_select instead
1532 * python/py-breakpoint.c (bppy_get_location): Handle
1533 bp_hardware_breakpoint.
1534 (bppy_init): Likewise.
1535 (gdbpy_breakpoint_created): Likewise.
1539 * arm-tdep.c (arm_debug_printf): Add and use throughout file.
1543 * gdb_bfd.c (debug_bfd_cache): Change type to bool.
1544 (_initialize_gdb_bfd): Adjust.
1549 * dwarf2/read.c (maybe_queue_comp_unit): Add assertion.
1553 * dwarf2/read.c (follow_die_offset): Add logging.
1554 (dwarf2_per_objfile::age_comp_units): Add logging.
1558 * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static.
1559 * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind,
1560 aarch64_stub_unwind, aarch64_normal_base, ): Make static.
1561 * arm-linux-tdep.c (arm_prologue_unwind): Make static.
1562 * arm-tdep.c (struct frame_unwind): Make static.
1563 * auto-load.c (auto_load_safe_path_vec): Make static.
1564 * csky-tdep.c (csky_stub_unwind): Make static.
1565 * gdbarch.c (gdbarch_data_registry): Make static.
1566 * gnu-v2-abi.c (gnu_v2_abi_ops): Make static.
1567 * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static.
1568 * i386-tdep.c (i386_frame_setup_skip_insns,
1569 i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns):
1571 * infrun.c (observer_mode): Make static.
1572 * linux-nat.c (sigchld_action): Make static.
1573 * linux-thread-db.c (thread_db_list): Make static.
1574 * maint-test-options.c (maintenance_test_options_list):
1575 * mep-tdep.c (mep_csr_registers): Make static.
1576 * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name.
1577 (stats): Make static.
1578 * nat/linux-osdata.c (struct osdata_type): Make static.
1579 * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static.
1580 * progspace.c (last_program_space_num): Make static.
1581 * python/py-param.c (struct parm_constant): Remove struct type
1583 (parm_constants): Make static.
1584 * python/py-record-btrace.c (btpy_list_methods): Make static.
1585 * python/py-record.c (recpy_gap_type): Make static.
1586 * record.c (record_goto_cmdlist): Make static.
1587 * regcache.c (regcache_descr_handle): Make static.
1588 * registry.h (DEFINE_REGISTRY): Make definition static.
1589 * symmisc.c (std_in, std_out, std_err): Make static.
1590 * top.c (previous_saved_command_line): Make static.
1591 * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make
1593 * unittests/command-def-selftests.c (nr_duplicates,
1594 nr_invalid_prefixcmd, lists): Make static.
1595 * unittests/observable-selftests.c (test_notification): Make
1597 * unittests/optional/assignment/1.cc (counter): Make static.
1598 * unittests/optional/assignment/2.cc (counter): Make static.
1599 * unittests/optional/assignment/3.cc (counter): Make static.
1600 * unittests/optional/assignment/4.cc (counter): Make static.
1601 * unittests/optional/assignment/5.cc (counter): Make static.
1602 * unittests/optional/assignment/6.cc (counter): Make static.
1607 * remote.c (struct remote_thread_info) <resume_state>: Rename
1609 <get_resume_state>: ... this.
1610 (remote_target::resume): Adjust.
1611 (remote_target::commit_resume): Adjust.
1612 (remote_target::select_thread_for_ambiguous_stop_reply): Adjust.
1617 * stap-probe.c (stap_parse_single_operand): Handle '!'
1619 (stap_parse_argument_conditionally): Likewise.
1620 Skip spaces after processing open-parenthesis sub-expression.
1621 (stap_parse_argument_1): Skip spaces after call to
1622 stap_parse_argument_conditionally.
1623 Handle case when right-side expression is a parenthesized
1625 Skip spaces after call to stap_parse_argument_1.
1629 * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN.
1633 * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate
1634 memory and save data.
1635 (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr)
1636 (trad_frame_set_unknown, trad_frame_set_value_bytes)
1637 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
1638 (trad_frame_value_bytes_p): Remove.
1639 (trad_frame_reset_saved_regs): Adjust documentation.
1640 * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a
1641 constructor and reset the state of the registers.
1642 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
1643 (trad_frame_value_bytes_p, trad_frame_set_value)
1644 (trad_frame_set_realreg, trad_frame_set_addr)
1645 (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove.
1646 (trad_frame_set_reg_realreg): Update to call member function.
1647 (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise.
1648 (trad_frame_get_prev_register): Likewise.
1650 * aarch64-tdep.c (aarch64_analyze_prologue)
1651 (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1)
1652 (aarch64_prologue_prev_register): Update to use member functions.
1653 * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise.
1654 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise.
1655 * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise.
1656 * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache)
1657 (arm_make_epilogue_frame_cache): Likewise.
1658 * avr-tdep.c (avr_frame_unwind_cache)
1659 (avr_frame_prev_register): Likewise.
1660 * cris-tdep.c (cris_scan_prologue): Likewise.
1661 * csky-tdep.c (csky_frame_unwind_cache): Likewise.
1662 * frv-tdep.c (frv_analyze_prologue): Likewise.
1663 * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise.
1664 * lm32-tdep.c (lm32_frame_cache): Likewise.
1665 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
1666 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
1667 * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache)
1668 (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise.
1669 (reset_saved_regs): Adjust to set realreg.
1670 * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to
1671 call member functions.
1672 * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache)
1673 * s390-tdep.c (s390_prologue_frame_unwind_cache)
1674 (s390_backchain_frame_unwind_cache): Likewise.
1675 * score-tdep.c (score7_analyze_prologue)
1676 (score3_analyze_prologue, score_make_prologue_cache): Likewise.
1677 * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise.
1678 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise.
1679 * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise.
1680 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise.
1681 * tilegx-tdep.c (tilegx_analyze_prologue)
1682 (tilegx_frame_cache): Likewise.
1683 * v850-tdep.c (v850_frame_cache): Likewise.
1684 * vax-tdep.c (vax_frame_cache): Likewise.
1688 * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead
1690 (put_frame_register_bytes): Likewise.
1691 Adjust documentation.
1692 (get_frame_memory): Pass a gdb::array_view instead of buffer + length.
1693 (safe_frame_unwind_memory): Likewise.
1694 * frame.c (get_frame_register_bytes, put_frame_register_bytes)
1695 (get_frame_memory, safe_frame_unwind_memory): Adjust to use
1697 * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise.
1698 * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise.
1699 * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise.
1700 * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise.
1701 * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise.
1702 * dwarf2/loc.c (rw_pieced_value): Likewise.
1703 * hppa-tdep.c (hppa_frame_cache): Likewise.
1704 * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise.
1705 * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise.
1706 * i386-linux-tdep.c (i386_linux_sigtramp_start)
1707 (i386_linux_rt_sigtramp_start): Likewise.
1708 * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise.
1709 * i386-tdep.c (i386_register_to_value): Likewise.
1710 * i387-tdep.c (i387_register_to_value): Likewise.
1711 * ia64-tdep.c (ia64_register_to_value): Likewise.
1712 * m32r-linux-tdep.c (m32r_linux_sigtramp_start)
1713 (m32r_linux_rt_sigtramp_start): Likewise.
1714 * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise.
1715 * m68k-tdep.c (m68k_register_to_value): Likewise.
1716 * mips-tdep.c (mips_register_to_value)
1717 (mips_value_to_register): Likewise.
1718 * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer)
1719 (ppcfbsd_sigtramp_frame_cache): Likewise.
1720 * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer)
1721 (ppcobsd_sigtramp_frame_cache): Likewise.
1722 * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p)
1723 (rs6000_register_to_value): Likewise.
1724 * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
1725 * tramp-frame.c (tramp_frame_start): Likewise.
1726 * valops.c (value_assign): Likewise.
1730 * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an
1732 * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view
1733 instead of buffer and size.
1734 (trad_frame_set_reg_value_bytes): Likewise.
1735 * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise.
1736 (trad_frame_set_value_bytes): Likewise.
1740 * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s.
1744 * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete.
1745 (riscv_fbsd_gregset): Use riscv_supply_regset.
1746 (riscv_fbsd_fpregset): Likewise.
1747 * riscv-linux-tdep.c (riscv_linux_gregset): Likewise.
1748 (riscv_linux_fregset): Likewise.
1749 * riscv-tdep.c (riscv_supply_regset): Define new function.
1750 * riscv-tdep.h (riscv_supply_regset): Declare new function.
1755 * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR):
1757 (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper
1762 * remote.c (class remote_target) <remote_hostio_send_command,
1763 remote_hostio_parse_result>: Constify parameter.
1764 (remote_hostio_parse_result): Likewise.
1765 (remote_target::remote_hostio_send_command): Adjust.
1766 (remote_target::remote_hostio_pread_vFile): Adjust.
1767 (remote_target::fileio_readlink): Adjust.
1768 (remote_target::fileio_fstat): Adjust.
1772 * remote.c (remote_target::start_remote): Move wait_status to
1777 * remote.c (class remote_target):
1778 <add_current_inferior_and_thread>: Constify parameter.
1779 (stop_reply_extract_thread): Likewise.
1780 (remote_target::get_current_thread): Likewise.
1781 (remote_target::add_current_inferior_and_thread): Likewise.
1785 * remote.c (class remote_target)
1786 <remote_unpack_thread_info_response,
1787 parse_threadlist_response>: Constify parameter and/or return
1788 value and or local variable.
1789 (stub_unpack_int): Likewise.
1790 (unpack_nibble): Likewise.
1791 (unpack_byte): Likewise.
1792 (unpack_int): Likewise.
1793 (unpack_string): Likewise.
1794 (unpack_threadid): Likewise.
1795 (remote_target::remote_unpack_thread_info_response): Likewise.
1796 (remote_target::parse_threadlist_response): Likewise.
1800 * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0.
1804 * MAINTAINERS (Write After Approval): Add myself.
1808 * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error
1809 because is_trivially_default_constructible was first implemented with
1814 PR breakpoints/27151
1815 * objfiles.h (in_plt_section): Handle .plt.sec.
1821 (remote_target::select_thread_for_ambiguous_stop_reply): New
1823 (remote_target::process_stop_reply): Call
1824 select_thread_for_ambiguous_stop_reply.
1828 * record-btrace.c (class record_btrace_target): Remove.
1829 (record_btrace_target::commit_resume): Remove.
1830 * record-full.c (class record_full_target): Remove.
1831 (record_full_target::commit_resume): Remove.
1835 * remote.c (enum class resume_state): New.
1836 (struct resumed_pending_vcont_info): New.
1837 (struct remote_thread_info) <resume_state, set_not_resumed,
1838 set_resumed_pending_vcont, resumed_pending_vcont_info,
1839 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
1841 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
1842 (remote_target::remote_add_thread): Adjust.
1843 (remote_target::process_initial_stop_replies): Adjust.
1844 (remote_target::resume): Adjust.
1845 (remote_target::commit_resume): Rely on state in
1846 remote_thread_info and not on tp->executing.
1847 (remote_target::process_stop_reply): Adjust.
1851 * arc-tdep.h (arc_debug_printf): New.
1852 * arc-tdep.c: Use arc_debug_printf.
1853 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
1854 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
1855 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
1859 * arc-tdep.h (arc_debug): Change type to bool.
1860 * arc-tdep.c (arc_debug): Change type to bool.
1861 (arc_analyze_prologue): Adjust.
1862 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
1863 * arc-linux-nat.c (ps_get_thread_area): Adjust.
1867 * auto-load.c (auto_load_objfile_script_1): Use bool.
1868 (execute_script_contents): Use bool.
1872 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
1874 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
1876 * extension-priv.h (struct extension_language_script_ops)
1877 <auto_load_enabled>: Return bool.
1878 * extension.h (ext_lang_auto_load_enabled): Return bool, move
1880 * extension.c (ext_lang_auto_load_enabled): Return bool, move
1882 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
1884 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
1885 move comment to header.
1886 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
1888 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
1889 move comment to header.
1893 * auto-load.h (file_is_auto_load_safe): Change return type to
1894 bool, move comment here.
1895 * auto-load.c (file_is_auto_load_safe): Change return type and
1896 advice_printed to bool. Move comment to header.
1900 * jit.c (jit_debug_printf): New, use throughout file.
1904 * infrun.c (normal_stop): Fix indentation.
1908 * top.h (readnow_symbol_files, readnever_symbol_files): Move
1910 * symfile.h: ... here.
1911 * symfile.c: Update doc.
1915 * target.h (baud_rate, serial_parity): Move declarations...
1916 * serial.h: ... here.
1917 * main.c: Include serial.h.
1918 * serial.c (baud_rate, serial_parity): Update doc.
1922 * top.c (pre_init_ui_hook): Remove.
1926 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
1927 (aarch64_vnv_type): Add "bf" type in h field of v registers.
1928 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
1929 * features/aarch64-fpu.xml: Add bfloat16 type.
1933 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
1937 * f-exp.y (dot_ops): Rename to...
1938 (fortran_operators): ...this. Add a header comment. Add symbol
1940 (yylex): Update to use fortran_operators not dot_ops. Remove
1941 special handling for '**', this is now included in
1946 * arch/aarch64-insn.h (aarch64_debug_printf): New.
1947 * arch/aarch64-insn.c: Use aarch64_debug_printf.
1948 * aarch64-tdep.c: Use aarch64_debug_printf.
1952 * solib-aix.c (solib_aix_debug_printf): New, use throughout
1957 * jit.c (jit_debug): Change type to bool.
1958 (_initialize_jit): Adjust.
1963 * compile/compile.c (compile_to_object): Avoid crash when
1964 osabi_triplet_regexp returns NULL.
1968 * tracepoint.h (class collection_list) <append_exp>: Take a
1970 * tracepoint.c (collection_list::append_exp): Take a std::string.
1971 (encode_actions_1): Update.
1975 * parse.c (parse_expression): Add void_context_p parameter. Use
1976 parse_exp_in_context.
1977 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
1979 (print_command, call_command): Update.
1980 * expression.h (parse_expression): Add void_context_p parameter.
1984 * value.c (set_value_component_location): Adjust the VALUE_LVAL
1985 for internalvar components that have a dynamic location.
1990 * breakpoint.c (create_exception_master_breakpoint_probe)
1991 (create_exception_master_breakpoint_hook): Factor out
1993 (create_exception_master_breakpoint): ... here. Only try to install
1994 the master exception breakpoint in objfile.debug using the
1995 _Unwind_DebugHook method, if the install using probes in objfile
2000 * f-lang.c (fortran_value_subarray): Call value_from_component.
2004 * remote-sim.c: Include memory-map.h.
2005 (gdbsim_target): Define memory_map override.
2006 (gdbsim_target::memory_map): Define.
2010 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
2014 * ada-lang.c (add_component_interval): Start loop using vector's
2019 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
2021 * valarith.c (fixed_point_binop): Handle multiplication
2022 and division specially.
2023 * valops.c (value_to_gdb_mpq): New function.
2024 (value_cast_to_fixed_point): Use it.
2028 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
2029 Call wnoutrefresh instead of tui_win_info::refresh_window.
2033 * tui/tui-source.c (tui_source_window::show_line_number):
2034 Redraw second space after line number.
2039 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
2040 Fix source pad size in prefresh.
2041 (tui_source_window_base::show_source_content): Grow source pad
2046 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
2047 (bfin_frame_align): Use align_down.
2051 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
2052 terminators that do not terminate anything.
2056 * debug.c (debug_print_depth): New.
2057 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
2058 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
2059 * infrun.c (start_step_over): Use
2060 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
2061 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
2062 INFRUN_SCOPED_DEBUG_START_END.
2063 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
2067 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
2071 * utils.c (vfprintf_unfiltered): Print timestamp only when
2072 previous debug output ended with a newline.
2076 Update all users of trad_frame_saved_reg to use the new member
2079 Remote all struct keywords from declarations of trad_frame_saved_reg
2080 types, except on forward declarations.
2082 * aarch64-tdep.c: Update.
2083 * alpha-mdebug-tdep.c: Update.
2084 * alpha-tdep.c: Update.
2085 * arc-tdep.c: Update.
2086 * arm-tdep.c: Update.
2087 * avr-tdep.c: Update.
2088 * cris-tdep.c: Update.
2089 * csky-tdep.c: Update.
2090 * frv-tdep.c: Update.
2091 * hppa-linux-tdep.c: Update.
2092 * hppa-tdep.c: Update.
2093 * hppa-tdep.h: Update.
2094 * lm32-tdep.c: Update.
2095 * m32r-linux-tdep.c: Update.
2096 * m32r-tdep.c: Update.
2097 * m68hc11-tdep.c: Update.
2098 * mips-tdep.c: Update.
2099 * moxie-tdep.c: Update.
2100 * riscv-tdep.c: Update.
2101 * rs6000-tdep.c: Update.
2102 * s390-linux-tdep.c: Update.
2103 * s390-tdep.c: Update.
2104 * score-tdep.c: Update.
2105 * sparc-netbsd-tdep.c: Update.
2106 * sparc-sol2-tdep.c: Update.
2107 * sparc64-fbsd-tdep.c: Update.
2108 * sparc64-netbsd-tdep.c: Update.
2109 * sparc64-obsd-tdep.c: Update.
2110 * sparc64-sol2-tdep.c: Update.
2111 * tilegx-tdep.c: Update.
2112 * v850-tdep.c: Update.
2113 * vax-tdep.c: Update.
2115 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
2116 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
2118 * trad-frame.c: Update.
2119 Remove TF_REG_* enum.
2120 (trad_frame_alloc_saved_regs): Add a static assertion to check for
2121 a trivially-constructible struct.
2122 (trad_frame_reset_saved_regs): Adjust to use member function.
2123 (trad_frame_value_p): Likewise.
2124 (trad_frame_addr_p): Likewise.
2125 (trad_frame_realreg_p): Likewise.
2126 (trad_frame_value_bytes_p): Likewise.
2127 (trad_frame_set_value): Likewise.
2128 (trad_frame_set_realreg): Likewise.
2129 (trad_frame_set_addr): Likewise.
2130 (trad_frame_set_unknown): Likewise.
2131 (trad_frame_set_value_bytes): Likewise.
2132 (trad_frame_get_prev_register): Likewise.
2133 * trad-frame.h: Update.
2134 (trad_frame_saved_reg_kind): New enum.
2135 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
2136 <m_kind, m_reg>: New member fields.
2137 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
2138 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
2139 <is_addr, is_unknown, is_value_bytes>: New member functions.
2143 * target-float.c: Fix typos.
2147 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
2151 * gdbarch.sh: Update copyright year range.
2155 Update copyright year range in copyright header of all GDB files.
2159 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
2160 to the list of directories to update.
2164 * top.c (print_gdb_version): Update copyright year.
2168 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
2170 For older changes see ChangeLog-2020.
2176 version-control: never