+
+ * gdb/dwarf2read.c (dwarf2_per_objfile::~dwarf2_per_objfile):
+ Update for new std::vector based implementation.
+ (process_psymtab_comp_unit_reader): Likewise.
+ (scan_partial_symbols): Likewise.
+ (recursively_compute_inclusions): Likewise.
+ (compute_compunit_symtab_includes): Likewise.
+ (process_imported_unit_die): Likewise.
+ (queue_and_load_dwo_tu): Likewise.
+ (follow_die_sig_1): Likewise.
+ * gdb/dwarf2read.h: Remove DEF_VEC_P.
+ (typedef dwarf2_per_cu_ptr): Remove.
+ (struct dwarf2_per_cu_data) <imported_symtabs_empty>: New
+ function.
+ (struct dwarf2_per_cu_data) <imported_symtabs_push>: New function.
+ (struct dwarf2_per_cu_data) <imported_symtabs_size>: New function.
+ (struct dwarf2_per_cu_data) <imported_symtabs_free>: New function.
+ (struct dwarf2_per_cu_data) <imported_symtabs>: Change to
+ std::vector.
+
+
+ * windows-nat.c (windows_nat_target::resume): Use %x when logging
+ TID.
+
+
+ * windows-nat.c (windows_nat_target::fetch_registers)
+ (windows_nat_target::store_registers): Rename "pid" to "tid".
+
+
+ * gdbarch.h, gdbarch.c: Rebuild.
+ * gdbarch.sh (gcc_target_options): Change return type to
+ std::string.
+ * compile/compile.c (get_args): Update.
+ * nios2-tdep.c (nios2_gcc_target_options): Return std::string.
+ * arm-linux-tdep.c (arm_linux_gcc_target_options): Return
+ std::string.
+ * aarch64-linux-tdep.c (aarch64_linux_gcc_target_options): Return
+ std::string.
+ * arch-utils.c (default_gcc_target_options): Return std::string.
+ * arch-utils.h (default_gcc_target_options): Return std::string.
+ * s390-tdep.c (s390_gcc_target_options): Return std::string.
+
+
+ * breakpoint.c (breakpoint_chain): Make static.
+ * tui/tui-winsource.c: Call iterate_over_breakpoints instead
+ of accessing breakpoint_chain.
+
+
+ * breakpoint.c (iterate_over_breakpoints): Change function pointer
+ to a gdb::function_view and return value to bool.
+ * breakpoint.h (iterate_over_breakpoints): Likewise.
+ * dummy-frame.c (pop_dummy_frame_bpt): Update.
+ (pop_dummy_frame): Update.
+ * guile/scm-breakpoint.c (bpscm_build_bp_list): Update.
+ (gdbscm_breakpoints): Update.
+ * python/py-breakpoint.c (build_bp_list): Update.
+ (gdbpy_breakpoints): Update.
+ * python/py-finishbreakpoint.c (bpfinishpy_detect_out_scope_cb):
+ Update.
+ (bpfinishpy_handle_stop): Update.
+ (bpfinishpy_handle_exit): Update.
+ * solib-svr4.c (svr4_update_solib_event_breakpoint): Update.
+ (svr4_update_solib_event_breakpoints): Update.
+
+
+ * s390-tdep.c (s390_effective_inner_type): Ignore static fields
+ when unwrapping single-field structs.
+
+
+ * dwarf2read.c: Remove includes.
+
+
+ * ui-out.c (ui_out::call_do_message): Silence
+ -Wformat-nonliteral warning.
+
+
+ * breakpoint.c: Remove some includes: continuations.h, skip.h,
+ mi/mi-main.h, readline/readline.h, readline/history.h. Add
+ include: readline/tilde.h.
+
+
+ * remote.c (remote_target::get_trace_status): Remove declaration of
+ trace_regblock_size.
+
+
+ * cli/cli-cmds.c (max_user_call_depth): Move comment to header.
+ (show_user): Remove declaration of cmdlist.
+ * cli/cli-cmds.h (max_user_call_depth): Declare.
+ * cli/cli-script.c (execute_user_command): Remove declaration
+ of max_user_call_depth.
+
+
+ * gdbsupport/print-utils.h (pulongest): Fix comment.
+ (plongest): Likewise.
+ (phex): Add missing comment, mention leading zeros.
+ (phex_nz): Add mention of no leading zeros to comment.
+
+ * riscv-tdep.c (riscv_push_dummy_code): Change %lld to %s and use
+ plongest instead of unsigned long long cast.
+
+
+ * main.c (captured_main_1): Include gdbtk.h and remove declarations
+ for external_editor_command and gdbtk_test.
+
+
+ * mi/mi-cmd-var.c (varobjdebug): Remove declaration.
+ * varobj.c (varobjdebug): Move comment to...
+ * varobj.h (varobjdebug): ...here, and declare.
+
+
+ * tui/tui-regs.c (tui_data_window::show_registers): Don't call
+ erase_data_content.
+
+
+ * tui/tui-wingeneral.h (tui_delete_win): Don't declare.
+ * tui/tui-stack.c (tui_locator_window::rerender): Update.
+ * tui/tui-command.c (tui_cmd_window::resize)
+ (tui_refresh_cmd_win): Update.
+ * tui/tui-win.c (tui_resize_all, tui_set_focus_command): Update.
+ * tui/tui.c (tui_rl_other_window, tui_enable): Update.
+ * tui/tui-data.c (~tui_gen_win_info): Remove.
+ * tui/tui-layout.c (tui_gen_win_info::resize): Update.
+ * tui/tui-io.c (update_cmdwin_start_line, tui_putc, tui_puts)
+ (tui_redisplay_readline, tui_mld_flush)
+ (tui_mld_erase_entire_line, tui_mld_getc, tui_getc): Update.
+ * tui/tui-regs.c (tui_data_window::delete_data_content_windows)
+ (tui_data_window::erase_data_content)
+ (tui_data_item_window::rerender)
+ (tui_data_item_window::refresh_window): Update.
+ * tui/tui-wingeneral.c (tui_gen_win_info::refresh_window)
+ (box_win, tui_gen_win_info::make_window)
+ (tui_gen_win_info::make_visible): Update.
+ (tui_delete_win): Remove.
+ * tui/tui-winsource.c
+ (tui_source_window_base::do_erase_source_content): Update.
+ (tui_show_source_line, tui_source_window_base::update_tab_width)
+ (tui_source_window_base::update_exec_info): Update.
+ * tui/tui-data.h (struct curses_deleter): New.
+ (struct tui_gen_win_info) <handle>: Now a unique_ptr.
+ (struct tui_gen_win_info) <~tui_gen_win_info>: Define.
+
+
+ * tui/tui-wingeneral.h (struct tui_gen_win_info): Don't declare.
+
+
+ * tui/tui-data.c (tui_win_is_auxiliary): Remove.
+ * tui/tui-data.h (tui_win_is_auxiliary): Don't declare.
+
+
+ * tui/tui-disasm.c (tui_get_low_disassembly_address): Compute
+ window height directly.
+ * tui/tui-layout.h (tui_default_win_viewport_height): Don't
+ declare.
+ * tui/tui-layout.c (tui_default_win_height): Remove.
+ (tui_default_win_viewport_height): Remove.
+
+
+ * tui/tui.h: Remove comments.
+
+
+ * python/lib/gdb/printer/bound_registers.py: Use
+ '^builtin_type_bound128' as regexp argument for
+ add_builtin_pretty_printer.
+
+
+ * guile/guile.c (guile_extension_script_ops): Remove forward
+ declaration and mark as static.
+ (guile_script_ops): Likewise.
+ (extension_language_guile): Move further down in the file so
+ it can reference the definitions for guile_{extension_,}script_ops.
+
+
+ * s390-tdep.c (390_process_record): Handle new arch13 instructions
+ except SORTL, DFLTCC, and KDSA.
+
+
+ * windows-nat.c (struct windows_thread_info_struct) <sf>: Remove.
+ (struct safe_symbol_file_add_args): Remove.
+
+
+ * windows-nat.c: Don't include buildsym-legacy.h.
+
+
+ * contrib/ari/gdb_ari.sh (%p): Allow gdb-specific %p extensions.
+
+
+ * gdbtypes.c (overload_debug): Move comment to header.
+ * gdbtypes.h (overload_debug): Declare.
+ * valops.c: Remove declaration of overload_debug, instead
+ include gdbtypes.h.
+
+
+ * language.c (show_language_command): Pass lang_frame_mismatch_warn
+ through _().
+ (lang_frame_mismatch_warn): Make const, mark with N_(), and
+ move comment...
+ * language.h (lang_frame_mismatch_warn): ... here. Also add
+ declaration.
+ * top.c (lang_frame_mismatch_warn): Remove declaration.
+ (check_frame_language_change): Pass lang_frame_mismatch_warn
+ through _().
+
+
+ * c-lang.h (vtbl_ptr_name): Declare.
+ * cp-valprint.c (vtbl_ptr_name): Remove "extern" now that we get
+ it from the header.
+ * stabsread.c (define_symbol): Remove declaration of vtbl_ptr_name.
+
+
+ * charset.c (your_gdb_wchar_t_is_bogus): Replace with a
+ gdb_static_assert.
+
+
+ * ../Makefile.def (dependencies): Add all-libctf to all-gdb
+ * ../Makefile.in: Add "all-gdb: maybe-all-libctf"
+ * ctfread.c: New file.
+ * ctfread.h: New file.
+ * elfread.c: Include ctfread.h.
+ (struct elfinfo text_p): New member ctfsect.
+ (elf_locate_sections): Mark CTF section.
+ (elf_symfile_read): Call elfctf_build_psymtabs.
+ * Makefile.in (LIBCTF): Add.
+ (CLIBS): Use it.
+ (CDEPS): Likewise.
+ (DIST): Add ctfread.c.
+
+
+ * ctfread.c (struct nextfield): Renamed to ...
+ (struct ctf_nextfield): ... this.
+ (struct field_info): Renamed to ...
+ (strut ctf_field_info): ... this.
+ (attach_fields_to_type): Update for renamed structures.
+ (ctf_add_member_cb): Likewise.
+ (ctf_add_enum_member_cb): Likewise.
+ (process_struct_members): Likewise.
+ (process_enum_type): Likewise.
+
+
+ * tracectf.h: Rename, was ctf.h.
+ * tracectf.c: Rename, was ctf.c, replace ctf.h with tracectf.h.
+ * tracefile.c: Likewise.
+ * tracepoint.c: Remove unused include ctf.h.
+ * mi/mi-main.c: Likewise.
+ * Makefile.in Replace ctf.c with tracectf.c.
+
+
+ * version.in: Change version number to "9.0.50.DATE-git".
+
+
+ PR rust/24976:
+ * dwarf2read.c (quirk_rust_enum): Handle single-element unions.
+
+
+ * f-lang.c (f_language_defn): Use cp_get_symbol_name_matcher and
+ cp_search_name_hash.
+ * NEWS: Add entry about nested function support.
+
+
+ * cp-namespace.c (cp_search_static_and_baseclasses): Only search
+ for nested static variables when searchin VAR_DOMAIN.
+ * dwarf2read.c (add_partial_symbol): Add nested subroutines to the
+ global scope, update comment.
+ (add_partial_subprogram): Call add_partial_subprogram recursively
+ for nested subroutines when processinng Fortran.
+ (load_partial_dies): Process the child entities of a subprogram
+ when processing Fortran.
+ (partial_die_parent_scope): Handle building scope
+ for Fortran nested functions.
+ (process_die): Record that nested functions have a scope.
+ (new_symbol): Always record Fortran subprograms on the global
+ symbol list.
+ (determine_prefix): How to build the prefix for Fortran
+ subprograms.
+
+
+ * linux-nat.c (linux_nat_filter_event): Don't ignore SIGSTOP if we
+ have just sent the thread a SIGSTOP and are waiting for it to
+ arrive.
+
+
+ * btrace.c (btrace_add_pc): Remove whitespace before the template
+ parameter in 'std::vector <...>'.
+ (parse_xml_btrace_block): Likewise.
+ (btrace_maint_decode_pt): Likewise.
+ (btrace_maint_update_packets): Likewise.
+ (btrace_maint_print_packets): Likewise.
+ * btrace.h (struct btrace_maint_info): Likewise.
+ * dwarf2read.c (struct type_unit_group): Likewise.
+ (build_type_psymtabs_reader): Likewise.
+ * gdbsupport/btrace-common.c (btrace_data_append): Likewise.
+ * gdbsupport/btrace-common.h (struct btrace_data_bts): Likewise.
+ * nat/linux-btrace.c (perf_event_read_bts): Likewise.
+
+
+ * cli/cli-style.c (_initialize_cli_style): Adding a '.' at the end of
+ the first line of the help text for set/show style metadata.
+
+
+ * Makefile.in (COMMON_SFILES): Add common-inferior.c.
+ * gdbsupport/common-inferior.c: New file.
+ * infcmd.c (startup_with_shell): Don't define.
+ * nat/fork-inferior.h (startup_with_shell): Don't declare.
+ * gdbsupport/common-inferior.h (startup_with_shell): Declare.
+ * inferior.h (startup_with_shell): Don't declare.
+
+
+ * gdbsupport/gdb_assert.h: Include errors.h.
+ * gdbsupport/gdb_string_view.h: Include gdb_assert.h.
+
+
+ * NEWS: Add $_ada_exception entry.
+ * ada-lang.c (struct ada_catchpoint): Add constructor.
+ <m_kind>: New member.
+ (allocate_location_exception, re_set_exception): Remove
+ "ex" parameter.
+ (should_stop_exception): Compute $_ada_exception.
+ (check_status_exception, print_it_exception)
+ (print_one_exception, print_mention_exception): Remove
+ "ex" parameter.
+ (allocate_location_catch_exception, re_set_catch_exception)
+ (check_status_exception, print_it_catch_exception)
+ (print_one_catch_exception, print_mention_catch_exception)
+ (print_recreate_catch_exception)
+ (allocate_location_catch_exception_unhandled)
+ (re_set_catch_exception_unhandled)
+ (check_status_exception, print_it_catch_exception_unhandled)
+ (print_one_catch_exception_unhandled)
+ (print_mention_catch_exception_unhandled)
+ (print_recreate_catch_exception_unhandled)
+ (allocate_location_catch_assert, re_set_catch_assert)
+ (check_status_assert, print_it_catch_assert)
+ (print_one_catch_assert, print_mention_catch_assert)
+ (print_recreate_catch_assert)
+ (allocate_location_catch_handlers, re_set_catch_handlers)
+ (check_status_handlers, print_it_catch_handlers)
+ (print_one_catch_handlers, print_mention_catch_handlers)
+ (print_recreate_catch_handlers): Remove.
+ (create_ada_exception_catchpoint): Update.
+ (initialize_ada_catchpoint_ops): Update.
+
+
+ * ada-lang.c (ada_lookup_simple_minsyms): Remove.
+ (create_excep_cond_exprs): Simplify exception string computation.
+ (ada_exception_catchpoint_cond_string): Likewise.
+
+
+ * symmisc.c (dump_msymbols): Don't use MSYMBOL_VALUE_ADDRESS.
+ * ada-lang.c (lesseq_defined_than): Handle
+ LOC_STATIC.
+ * dwarf2read.c (dwarf2_per_objfile): Add can_copy
+ parameter.
+ (dwarf2_has_info): Likewise.
+ (new_symbol): Set maybe_copied on symbol when
+ appropriate.
+ * dwarf2read.h (dwarf2_per_objfile): Add can_copy
+ parameter.
+ <can_copy>: New member.
+ * elfread.c (record_minimal_symbol): Set maybe_copied
+ on symbol when appropriate.
+ (elf_symfile_read): Update call to dwarf2_has_info.
+ * minsyms.c (lookup_minimal_symbol_linkage): New
+ function.
+ * minsyms.h (lookup_minimal_symbol_linkage): Declare.
+ * symtab.c (get_symbol_address, get_msymbol_address):
+ New functions.
+ * symtab.h (get_symbol_address, get_msymbol_address):
+ Declare.
+ (SYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_ADDRESS): Handle
+ maybe_copied.
+ (struct symbol, struct minimal_symbol) <maybe_copied>:
+ New member.
+
+
+ * source.c (struct current_source_location): New.
+ (current_source_key): New global.
+ (current_source_symtab, current_source_line)
+ (current_source_pspace): Remove.
+ (get_source_location): New function.
+ (get_current_source_symtab_and_line)
+ (set_default_source_symtab_and_line)
+ (set_current_source_symtab_and_line)
+ (clear_current_source_symtab_and_line, select_source_symtab)
+ (info_source_command, print_source_lines_base)
+ (info_line_command, search_command_helper, _initialize_source):
+ Update.
+
+
+ * source.c (select_source_symtab): Don't call
+ decode_line_with_current_source.
+
+
+ * symtab.c (lookup_global_symbol): Search global block.
+
+
+ * coffread.c (process_coff_symbol): Update.
+ * dwarf2read.c (var_decode_location, new_symbol): Update.
+ * mdebugread.c (parse_symbol): Update.
+ * objfiles.c (relocate_one_symbol): Update.
+ * stabsread.c (define_symbol, fix_common_block)
+ (scan_file_globals): Update.
+ * symtab.h (SYMBOL_VALUE_ADDRESS): Expand to an rvalue.
+ (SET_SYMBOL_VALUE_ADDRESS): New macro.
+ * xcoffread.c (process_xcoff_symbol): Update.
+
+
+ * MAINTAINERS: Update my email address.
+
+
+ * dwarf2read.c (struct type_unit_group) <tus>: Convert to
+ std::vector.
+ (build_type_psymtabs_reader): Update for std::vector.
+ (build_type_psymtab_dependencies): Likewise.
+ * dwarf2read.h: Remove use of DEF_VEC_P.
+ (typedef sig_type_ptr): Delete.
+
+
+ * btrace.c (btrace_maint_clear): Update to handle change from VEC
+ to std::vector.
+ (btrace_maint_decode_pt): Likewise, and move allocation of the
+ vector outside of the loop.
+ (btrace_maint_update_packets): Update to handle change from VEC to
+ std::vector.
+ (btrace_maint_print_packets): Likewise.
+ (maint_info_btrace_cmd): Likewise.
+ * btrace.h: Remove use of DEF_VEC_O.
+ (typedef btrace_pt_packet_s): Delete.
+ (struct btrace_maint_info) <packets>: Change fromm VEC to
+ std::vector.
+ * gdbsupport/btrace-common.h: Remove 'vec.h' include.
+
+
+ * btrace.c (btrace_compute_ftrace_bts): Update for std::vector,
+ make accesses into the vector constant references.
+ (btrace_add_pc): Update for std::vector.
+ (btrace_stitch_bts): Likewise.
+ (parse_xml_btrace_block): Likewise.
+ (btrace_maint_update_packets): Likewise.
+ (btrace_maint_print_packets): Likewise.
+ (maint_info_btrace_cmd): Likewise.
+ * gdbsupport/btrace-common.c (btrace_data::fini): Update for
+ std::vector.
+ (btrace_data::empty): Likewise.
+ (btrace_data_append): Likewise.
+ * gdbsupport/btrace-common.h: Remove use of DEF_VEC_O.
+ (typedef btrace_block_s): Delete.
+ (struct btrace_block): Add constructor.
+ (struct btrace_data_bts) <blocks>: Change to std::vector.
+ * nat/linux-btrace.c (perf_event_read_bts): Update for
+ std::vector.
+ (linux_read_bts): Likewise.
+
+
+ * cli/cli-logging.c (show_logging_filename): Use styled_string.
+
+
+ * stack.c (print_frame, info_frame_command_core): Use
+ styled_string.
+ * linux-thread-db.c (try_thread_db_load_1)
+ (try_thread_db_load_from_pdir_1): Use styled_string.
+ * auto-load.c (file_is_auto_load_safe, execute_script_contents)
+ (auto_load_section_scripts, info_auto_load_local_gdbinit)
+ (maybe_print_unsupported_script_warning)
+ (maybe_print_script_not_found_warning): Use styled_string.
+ * ada-lang.c (user_select_syms): Use styled_string.
+
+
+ * p-lang.c (pascal_printstr): Use metadata style.
+ * value.c (show_convenience): Use metadata style.
+ * valprint.c (valprint_check_validity, val_print_optimized_out)
+ (val_print_not_saved, val_print_unavailable)
+ (val_print_invalid_address, generic_val_print, val_print)
+ (value_check_printable, val_print_array_elements): Use metadata
+ style.
+ * ui-out.h (class ui_out) <field_fmt>: New overload.
+ <do_field_fmt>: Add style parameter.
+ * ui-out.c (ui_out::field_fmt): New overload.
+ * typeprint.c (type_print_unknown_return_type)
+ (val_print_not_allocated, val_print_not_associated): Use metadata
+ style.
+ * tui/tui-out.h (class tui_ui_out) <do_field_fmt>: Add style
+ parameter.
+ * tui/tui-out.c (tui_ui_out::do_field_fmt): Update.
+ * tracepoint.c (tvariables_info_1): Use metadata style.
+ * stack.c (print_frame_arg, print_frame_info, print_frame)
+ (info_frame_command_core): Use metadata style.
+ * skip.c (info_skip_command): Use metadata style.
+ * rust-lang.c (rust_print_enum): Use metadata style.
+ * python/py-prettyprint.c (print_stack_unless_memory_error): Use
+ metadata style.
+ * python/py-framefilter.c (py_print_single_arg): Use metadata
+ style.
+ * printcmd.c (do_one_display, print_variable_and_value): Use
+ metadata style.
+ * p-valprint.c (pascal_val_print)
+ (pascal_object_print_value_fields): Use metadata style.
+ * p-typeprint.c (pascal_type_print_base): Use metadata style.
+ * mi/mi-out.h (class mi_ui_out) <do_field_fmt>: Add style
+ parameter.
+ * mi/mi-out.c (mi_ui_out::do_field_fmt): Update.
+ * m2-valprint.c (m2_print_long_set): Use metadata style.
+ * m2-typeprint.c (m2_print_type): Use metadata style.
+ * infcmd.c (print_return_value_1): Use metadata style.
+ * gnu-v3-abi.c (print_one_vtable): Use metadata style.
+ * f-valprint.c (info_common_command_for_block): Use metadata
+ style.
+ * f-typeprint.c (f_type_print_base): Use metadata style.
+ * expprint.c (print_subexp_standard): Use metadata style.
+ * cp-valprint.c (cp_print_value_fields): Use metadata style.
+ * cli/cli-style.h (class cli_style_option): Add constructor.
+ (metadata_style): Declare.
+ * cli/cli-style.c (metadata_style): New global.
+ (_initialize_cli_style): Register metadata style.
+ * cli-out.h (class cli_ui_out) <do_field_fmt>: Add style
+ parameter.
+ * cli-out.c (cli_ui_out::do_field_fmt): Update.
+ * c-typeprint.c (c_type_print_base_struct_union)
+ (c_type_print_base_1): Use metadata style.
+ * breakpoint.c (watchpoint_value_print)
+ (print_one_breakpoint_location): Use metadata style.
+ * break-catch-syscall.c (print_one_catch_syscall): Use metadata
+ style.
+ * break-catch-sig.c (signal_catchpoint_print_one): Use metadata
+ style.
+ * ada-valprint.c (val_print_packed_array_elements, printstr)
+ (print_field_values, ada_val_print_ref, ada_val_print): Use
+ metadata style.
+ * ada-typeprint.c (print_array_type, ada_print_type): Use metadata
+ style.
+ * ada-tasks.c (print_ada_task_info, info_task): Use metadata
+ style.
+ * ada-lang.c (user_select_syms): Use metadata style.
+
+
+ * cli/cli-cmds.c (pwd_command): Style output.
+
+
+ * symtab.c (print_symbol_info): Use %ps.
+ (print_msymbol_info): Use %ps.
+ * symfile.c (symbol_file_add_with_addrs): Use %ps.
+ * printcmd.c (print_variable_and_value): Use %ps.
+ * macrocmd.c (show_pp_source_pos): Use %ps.
+ * infrun.c (print_exited_reason): Use ui_out::message.
+ * breakpoint.c (watchpoint_check, print_one_breakpoint_location)
+ (describe_other_breakpoints): Use ui_out::message and new
+ formats.
+ (say_where): Use new formats.
+ (bkpt_print_it, tracepoint_print_one_detail): Use ui_out::message
+ and new formats.
+
+
+ * unittests/format_pieces-selftests.c: Add gdb_format parameter.
+ (test_gdb_formats): New function.
+ (run_tests): Call it.
+ (test_format_specifier): Update.
+ * utils.h (fputs_filtered): Update comment.
+ (vfprintf_styled, vfprintf_styled_no_gdbfmt)
+ (fputs_styled_unfiltered): Declare.
+ * utils.c (fputs_styled_unfiltered): New function.
+ (vfprintf_maybe_filtered): Add gdbfmt parameter.
+ (vfprintf_filtered): Update.
+ (vfprintf_unfiltered, vprintf_filtered): Update.
+ (vfprintf_styled, vfprintf_styled_no_gdbfmt): New functions.
+ * ui-out.h (enum ui_out_flag) <unfiltered_output,
+ disallow_ui_out_field>: New constants.
+ (enum class field_kind): New.
+ (struct base_field_s, struct signed_field_s): New.
+ (signed_field): New function.
+ (struct string_field_s): New.
+ (string_field): New function.
+ (struct styled_string_s): New.
+ (styled_string): New function.
+ (class ui_out) <message>: Add comment.
+ <vmessage, call_do_message>: New methods.
+ <do_message>: Add style parameter.
+ * ui-out.c (ui_out::call_do_message, ui_out::vmessage): New
+ methods.
+ (ui_out::message): Rewrite.
+ * mi/mi-out.h (class mi_ui_out) <do_message>: Add style
+ parameter.
+ * mi/mi-out.c (mi_ui_out::do_message): Add style parameter.
+ * gdbsupport/format.h (class format_pieces) <format_pieces>: Add
+ gdb_extensions parameter.
+ (class format_piece): Add parameter to constructor.
+ (n_int_args): New field.
+ * gdbsupport/format.c (format_pieces::format_pieces): Add
+ gdb_extensions parameter. Handle '*'.
+ * cli-out.h (class cli_ui_out) <do_message>: Add style parameter.
+ * cli-out.c (cli_ui_out::do_message): Add style parameter. Call
+ vfprintf_styled_no_gdbfmt.
+ (cli_ui_out::do_field_string, cli_ui_out::do_spaces)
+ (cli_ui_out::do_text, cli_ui_out::field_separator): Allow
+ unfiltered output.
+ * ui-style.h (struct ui_file_style) <ptr>: New method.
+
+
+ * unittests/format_pieces-selftests.c: Update. Add final format.
+ * gdbsupport/format.c (format_pieces::format_pieces): Don't add
+ empty literal pieces.
+
+
+ * ui-out.h (enum class ui_out_style_kind): Remove.
+ (class ui_out) <field_string, field_stsream, do_field_string>:
+ Change type of "style".
+ * ui-out.c (ui_out::field_core_addr, ui_out::field_stream)
+ (ui_out::field_string): Update.
+ * tui/tui-out.h (class tui_ui_out) <do_field_string>: Change type
+ of "style".
+ * tui/tui-out.c (tui_ui_out::do_field_string): Update.
+ * tracepoint.c (print_one_static_tracepoint_marker): Update.
+ * stack.c (print_frame_arg, print_frame_info, print_frame):
+ Update.
+ * source.c (print_source_lines_base): Update.
+ * solib.c (info_sharedlibrary_command): Update.
+ * skip.c (info_skip_command): Update.
+ * record-btrace.c (btrace_call_history_src_line)
+ (btrace_call_history): Update.
+ * python/py-framefilter.c (py_print_frame): Update.
+ * mi/mi-out.h (class mi_ui_out) <do_field_string>: Change type of
+ "style".
+ * mi/mi-out.c (mi_ui_out::do_table_header)
+ (mi_ui_out::do_field_signed, mi_ui_out::do_field_unsigned)
+ (mi_ui_out::do_field_string): Update.
+ * disasm.c (gdb_pretty_print_disassembler::pretty_print_insn):
+ Update.
+ * cli-out.h (class cli_ui_out) <do_field_string>: Change type of
+ "style".
+ * cli-out.c (cli_ui_out::do_table_header)
+ (cli_ui_out::do_field_signed, cli_ui_out::do_field_unsigned)
+ (cli_ui_out::do_field_skip, cli_ui_out::do_field_string)
+ (cli_ui_out::do_field_fmt): Update.
+ * breakpoint.c (print_breakpoint_location): Update.
+ (update_static_tracepoint): Update.
+
+
+ * main.c (relocate_gdbinit_path_maybe_in_datadir): Remove std::string
+ conversion of gdb_datadir.
+ (captured_main_1): Remove xstrdup when assigning to gdb_datadir,
+ remove not needed c_str ().
+
+
+ * dwarf2read.c (skip_one_die): Handle DW_FORM_strx forms.
+ (dwarf2_string_attr): Likewise.
+
+
+ * dwarf2read.c (process_full_comp_unit): Remove whitespace at the EOL.
+ (process_full_type_unit): Likewise.
+ (dump_die_shallow): Likewise.
+ (cu_debug_loc_section): Likewise.
+
+
+ * minsyms.c (compare_minimal_symbols): Rename to...
+ (minimal_symbol_is_less_than): ...this, and adjust to STL
+ conventions (return bool, take arguments as references)
+ (minimal_symbol_reader::install): Call std::sort instead
+ of qsort.
+
+
+ * minsyms.h (msymbol_hash): Document that this is a case-insensitive
+ hash and why.
+ * objfiles.h (struct objfile_per_bfd_storage) <demangled_names_hash,
+ msymbol_hash, msymbol_demangled_hash>: Improve comments.
+
+
+ * psymtab.c (add_psymbol_to_list): Move comment to psympriv.h.
+ * psympriv.h (add_psymbol_to_list): Move comment here and update
+ it.
+
+
+ * contrib/cc-with-tweaks.sh (get_tmpdir): New function.
+ Use $tmpdir/$(basename "$output_file").dwz instead of
+ "${output_file}.dwz".
+
+
+ PR gdb/25045
+ * hppa-linux-nat.c: Include gdbarch.h.
+
+
+ * blockframe.c (find_pc_partial_function): Change return type to bool.
+ * elfread.c (elf_gnu_ifunc_resolve_name): Likewise.
+ * minsyms.c (in_gnu_ifunc_stub): Likewise.
+ (stub_gnu_ifunc_resolve_name): Likewise.
+ * symtab.c (compare_filenames_for_search): Likewise.
+ (compare_glob_filenames_for_search): Likewise.
+ (matching_obj_sections): Likewise.
+ (symbol_matches_domain): Likewise.
+ (find_line_symtab): Change out param EXACT_MATCH to bool *.
+ (find_line_pc): Change return type to bool.
+ (find_line_pc_range): Likewise.
+ (producer_is_realview): Likewise.
+ * symtab.h (symbol_matches_domain): Likewise.
+ (find_pc_partial_function): Likewise.
+ (find_pc_line_pc_range): Likewise.
+ (in_gnu_ifunc_stub): Likewise.
+ (struct gnu_ifunc_fns) <gnu_ifunc_resolve_name>: Likewise.
+ (find_line_pc): Likewise.
+ (find_line_pc_range): Likewise.
+ (matching_obj_sections): Likewise.
+ (find_line_symtab): Change out parameter to bool.
+ (producer_is_realview): Change return type to bool.
+ (compare_filenames_for_search): Likewise.
+ (compare_glob_filenames_for_search): Likewise.
+
+
+ * Makefile.in (COMMON_SFILES): Remove gdb_usleep.c.
+ (HFILES_NO_SRCDIR): Remove gdb_usleep.h.
+ * gdb_usleep.h: Remove.
+ * gdb_usleep.c: Remove.
+ * utils.c: Don't include gdb_usleep.h.
+
* python/py-type.c (type_to_type_object): Call check_typedef
+ PR breakpoints/25011
* symfile.c (symbol_file_command): Call solib_create_inferior_hook.
+ PR gdb/25010
* event-top.c: Remove include comment.
* inflow.c (class scoped_ignore_sigttou): Move from here...
* inflow.h (class scoped_ignore_sigttou): ...to here.