+
+ * tid-parse.c (tid_is_in_list): Fix wrong 'See' comment.
+
+
+ * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Use pulongest.
+
+
+ * NEWS: Mention changed commands.
+ * ser-uds.c: New file.
+ * configure.ac (SER_HARDWIRE): Add ser-uds.o.
+ * configure: Regenerate.
+ * Makefile.in: Add new file.
+ * serial.c (serial_open): Check if filename is a socket
+ and lookup the appropriate interface accordingly.
+
+
+ * aarch64-linux-tdep.c (AARCH64_SIGCONTEXT_RESERVED_OFFSET): Add
+ define.
+ (AARCH64_EXTRA_MAGIC): Likewise.
+ (AARCH64_FPSIMD_MAGIC): Likewise.
+ (AARCH64_SVE_MAGIC): Likewise.
+ (AARCH64_EXTRA_DATAP_OFFSET): Likewise.
+ (AARCH64_FPSIMD_FPSR_OFFSET): Likewise.
+ (AARCH64_FPSIMD_FPCR_OFFSET): Likewise.
+ (AARCH64_FPSIMD_V0_OFFSET): Likewise.
+ (AARCH64_FPSIMD_VREG_SIZE): Likewise.
+ (AARCH64_SVE_CONTEXT_VL_OFFSET): Likewise.
+ (AARCH64_SVE_CONTEXT_REGS_OFFSET): Likewise.
+ (AARCH64_SVE_CONTEXT_P_REGS_OFFSET): Likewise.
+ (AARCH64_SVE_CONTEXT_FFR_OFFSET): Likewise.
+ (AARCH64_SVE_CONTEXT_SIZE): Likewise.
+ (read_aarch64_ctx): Add function.
+ (aarch64_linux_sigframe_init): Detect FP registers.
+
+
+ * aarch64-tdep.c (AARCH64_Q0_REGNUM): Move to here.
+ (AARCH64_D0_REGNUM): Likewise.
+ (AARCH64_S0_REGNUM): Likewise.
+ (AARCH64_H0_REGNUM): Likewise.
+ (AARCH64_B0_REGNUM): Likewise.
+ (AARCH64_SVE_V0_REGNUM): Likewise.
+ * arch/aarch64.h (AARCH64_Q0_REGNUM): Move from here.
+ (AARCH64_D0_REGNUM): Likewise.
+ (AARCH64_S0_REGNUM): Likewise.
+ (AARCH64_H0_REGNUM): Likewise.
+ (AARCH64_B0_REGNUM): Likewise.
+ (AARCH64_SVE_V0_REGNUM): Likewise.
+
+
+ * gdb_proc_service.h (gdb_prfpregset_t): Remove typedef.
+ * proc-service.c (ps_lgetfpregs, ps_lsetfpregs): Use
+ prfpregset_t instead of gdb_prfpregset_t.
+ * configure.ac (PRFPREGSET_T_BROKEN): Remove check.
+ * configure, config.in: Rebuild.
+
+
+ * common/gdb_proc_service.h: New file, factored out from...
+ * gdb_proc_service.h: Moved common code to the above file.
+ * Makefile.in (HFILES_NO_SRCDIR): Add the above new file.
+
+
+ * gdb_proc_service.h: Use elf_gregset_t if prgregset_t is
+ undefined. Use elf_fpregset_t if prfpregset_t is undefined.
+
+
+ * configure.ac: Check if sys/procfs.h defines elf_fpregset_t.
+ (AC_CHECK_HEADERS): Check for linux/elf.h.
+ * configure, config.in: Rebuild.
+ * gdb_proc_service.h: Include linux/elf.h if sys/procfs.h
+ doesn't define elf_fpregset_t.
+
+
+ * gdb_proc_service.h: Whitespace change.
+
+
+ * unittests/scoped_mmap-selftests.c: Don't check HAVE_UNISTD_H.
+ * unittests/scoped_fd-selftests.c: Don't check HAVE_UNISTD_H.
+ * common/scoped_fd.h: Don't check HAVE_UNISTD_H.
+
+
+ * README: Minor change.
+
+
+ * darwin-nat-info.c (darwin_debug_regions_recurse)
+ (info_mach_exceptions_command): Remove unused local variables.
+ * darwin-nat.c (darwin_decode_notify_message)
+ (darwin_nat_target::resume, darwin_nat_target::mourn_inferior)
+ (darwin_stop_inferior, darwin_setup_exceptions)
+ (darwin_nat_target::kill, darwin_attach_pid, darwin_ptrace_him)
+ (darwin_nat_target::attach, darwin_nat_target::detach)
+ (darwin_read_write_inferior, darwin_read_dyld_info): Remove unused
+ local variables.
+ * i386-darwin-nat.c (i386_darwin_dr_set): Remove unused local
+ variables.
+
+
+ * README: Remove some leftover text.
+
+
+ * PROBLEMS: Rewrite.
+ * README: Update.
+
+
+ * disasm-selftests.c (print_one_insn_test): Add bfd_arch_riscv to
+ case with explicit breakpoint kind.
+ * riscv-tdep.c (show_use_compressed_breakpoints): Remove
+ 'additional_info' and related logic.
+ (riscv_debug_breakpoints): New variable.
+ (riscv_breakpoint_kind_from_pc): Use the length of the existing
+ instruction to determine the breakpoint kind.
+ (_initialize_riscv_tdep): Add 'set/show debug riscv breakpoints'
+ flag. Update description of 'set/show riscv
+ use-compressed-breakpoints' flag.
+
+
+ (NEWS): Mention changes to frame related commands.
+ * cli/cli-decode.c (add_cmd_suppress_notification): New function.
+ (add_prefix_cmd_suppress_notification): New function.
+ (add_com_suppress_notification): Call
+ add_cmd_suppress_notification.
+ * command.h (add_cmd_suppress_notification): Declare.
+ (add_prefix_cmd_suppress_notification): Declare.
+ * mi/mi-cmd-stack.c: Add 'safe-ctype.h' include.
+ (parse_frame_specification): Moved from stack.c, with
+ simplification to handle a single argument.
+ (mi_cmd_stack_select_frame): Use parse_frame_specification, the
+ switch to the selected frame. Add a header comment.
+ * stack.c: Remove 'safe-ctype.h' include.
+ (find_frame_for_function): Add declaration.
+ (find_frame_for_address): New function.
+ (parse_frame_specification): Moved into mi/mi-cmd-stack.c.
+ (frame_selection_by_function_completer): New function.
+ (info_frame_command): Rename to...
+ (info_frame_command_core): ...this, and update parameter types.
+ (select_frame_command): Rename to...
+ (select_frame_command_core): ...this, and update parameter types.
+ (frame_command): Rename to...
+ (frame_command_core): ...this, and update parameter types.
+ (class frame_command_helper): New class to wrap implementations of
+ frame related sub-commands.
+ (frame_apply_cmd_list): New static global.
+ (frame_cmd_list): Make static.
+ (select_frame_cmd_list): New global for sub-commands.
+ (info_frame_cmd_list): New global for sub-commands.
+ (_initialize_stack): Register sub-commands for 'frame',
+ 'select-frame', and 'info frame'. Update 'frame apply' commands
+ to use frame_apply_cmd_list. Move function local static
+ frame_apply_list to file static frame_apply_cmd_list for
+ consistency.
+ * stack.h (select_frame_command): Delete declarationn.
+ (select_frame_for_mi): Declare new function.
+
+
+ * riscv-tdep.c (riscv_insn::decode): Decode c.lui.
+ (riscv_scan_prologue): Split handling of AUIPC, LUI, ADD, ADDI,
+ and NOP.
+
+
+ * elf32-nds32.c (elf32_nds32_allocate_dynrelocs): Remove.
+
+
+ * valops.c (auto_abandon): Remove dead code.
+
+
+ * tui/tui-win.c (WIN_HEIGHT_USAGE): Remove extra ">"s.
+
+
+ * common/pathstuff.c (get_standard_cache_dir): Make
+ "xdg_cache_home" and "home" const.
+ * top.c (init_history): Make "tmpenv" const.
+ * main.c (get_init_files): Make "homedir" const.
+
+
+ PR python/18852:
+ * python/py-param.c (get_set_value): Use gdbpy_handle_exception.
+
+
+ * python/py-function.c (fnpy_call): Use gdbpy_handle_exception.
+ * python/py-cmd.c (cmdpy_function): Use gdbpy_handle_exception.
+ * python/python-internal.h (gdbpy_handle_exception): Declare.
+ * python/py-utils.c (gdbpy_handle_exception): New function.
+
+
+ PR python/17284:
+ * python/py-type.c (typy_template_argument): Check for negative
+ argument number.
+
+
+ PR python/14062:
+ * python/python.c (gdbpy_run_events): Do not ignore exceptions.
+
+
+ PR python/18170:
+ * python/py-value.c (valpy_int): Allow conversion from pointer
+ type.
+
+
+ PR python/20126:
+ * python/py-value.c (valpy_int): Respect type sign.
+
+
+ PR python/18352;
+ * python/py-value.c (valpy_float): Allow conversions from int or
+ char.
+ (valpy_int, valpy_long): Allow conversions from float.
+
+
+ * ctf.c (ctf_start): Use gdb_fopen_cloexec.
+ * common/scoped_mmap.c (mmap_file): Use gdb_open_cloexec.
+
+
+ * amd64-sol2-tdep.c (amd64_sol2_sigtramp_p): Also recognize
+ __sighndlr.
+ * i386-sol2-tdep.c (i386_sol2_sigtramp_p): Likewise.
+
+
+ * windows-nat.c (windows_nat_target::wait): Remove a spurious
+ target_terminal::ours().
+
+
+ * aarch64-linux-tdep.c (aarch64_linux_supply_sve_regset): Change type
+ of vl to ULONGEST.
+
+
+ * breakpoint.c (update_inserted_breakpoint_locations): Remove
+ redundant condition.
+
+
+ * proc-utils.h (PROC_CTL_WORD_TYPE): Remove.
+
+ * procfs.c: Don't check for PR_MODEL_NATIVE definition.
+ * sparc-sol2-nat.c: Likewise. Remove Linux, __arch64__ references.
+ * sol-thread.c (ps_pdmodel): Don't guard definition.
+
+ * procfs.c: Fix formatting.
+
+ * procfs.c (sysset_t_alloc): Remove.
+ (create_procinfo): Use XNEW instead of sysset_t_alloc.
+ (procfs_debug_inferior): Likewise.
+ (procfs_set_exec_trap): Likewise.
+ (proc_set_traced_sysentry): Don't allocate argp dynamically.
+ (proc_set_traced_sysexit): Likewise.
+
+ * procfs.c (create_procinfo): Use xsnprintf to fix ARI warning.
+ (dead_procinfo): Likewise.
+ (proc_warn): Likewise.
+ (proc_error): Likewise.
+ (proc_get_LDT_entry): Likewise.
+ (do_attach): Likewise.
+ (procfs_target::pid_to_str): Likewise.
+ (iterate_over_mappings): Likewise.
+
+ * procfs.c (create_procinfo): Fix ARI warning.
+ (proc_get_status): Likewise.
+ (proc_stop_process): Likewise.
+ (proc_run_process): Likewise.
+ (proc_kill): Likewise.
+ (proc_get_LDT_entry): Likewise.
+ (procfs_find_LDT_entry): Likewise.
+ (proc_update_threads): Likewise.
+ (proc_iterate_over_threads): Likewise.
+ (do_attach): Likewise.
+ (procfs_xfer_memory): Likewise.
+ (invalidate_cache): Likewise.
+ (procfs_target::resume): Likewise.
+ (procfs_init_inferior): Likewise.
+ (procfs_set_exec_trap): Likewise.
+ (procfs_target::thread_alive): Likewise.
+ (procfs_target::pid_to_exec_file): Likewise.
+ (iterate_over_mappings): Likewise.
+ (procfs_target::make_corefile_notes): Likewise.
+ * sol-thread.c (sol_thread_target::thread_alive): Likewise.
+
+ * procfs.c (procfs_find_LDT_entry): Silence ARI warning.
+ (procfs_find_LDT_entry): Likewise.
+ * sol-thread.c (ps_lgetLDT): Likewise.
+
+
+ PR tdep/17903
+ * procfs.c (procfs_target): Declare pid_to_exec_file.
+ (procfs_target::pid_to_exec_file): New.
+
+
+ * auxv.c (default_print_auxv_entry): Reflect AT_SUN_CAP_HW1
+ renaming.
+ Handle AT_SUN_EMULATOR, AT_SUN_BRANDNAME, AT_SUN_BRAND_AUX1,
+ AT_SUN_BRAND_AUX2, AT_SUN_BRAND_AUX3, AT_SUN_CAP_HW2.
+
+
+ * i386-v4-nat.c (regmap, supply_gregset, fill_gregset)
+ (supply_fpregset, fill_fpregset): Move ...
+ * i386-sol2-nat.c [PR_MODEL_NATIVE != PR_MODEL_LP64]: ... here.
+ Remove HAVE_GREGSET_T, HAVE_FPREGET_T guards.
+ Remove references to ioctl-based procfs.
+ Include <sys/reg.h>.
+ Remove PR_MODEL_NATIVE guards.
+ * configure.nat <sol2, i386> (NATDEPFILES): Remove i386-v4-nat.o.
+ * Makefile.in (ALLDEPFILES): Remove i386-v4-nat.c.
+
+
+ PR gdb/20981:
+ * solib-darwin.c (darwin_get_dyld_bfd): New function.
+ (darwin_solib_get_all_image_info_addr_at_init): Update call.
+ (darwin_solib_create_inferior_hook): Handle unrelocated dyld.
+
+
+ * fbsd-tdep.c (fbsd_print_sockaddr_in): Style fix.
+ (fbsd_print_sockaddr_in6): Likewise.
+
+
+ * eval.c (skip_undetermined_arglist): Skip argument list helper.
+ (evaluate_subexp_standard): Return a dummy type when
+ honoring EVAL_SKIP in OP_VAR_VALUE and handle skipping in the
+ OP_F77_UNDETERMINED_ARGLIST case.
+ * expression.h (enum noside): Update comment.
+
+
+ * solib-svr4.c (svr4_same_1): Also handle amd64 ld.so.1.
+
+
+ * procfs.c (MAX_PROC_NAME_SIZE): Allow for 6-digit PID_MAX and
+ uint_t lwpid_t.
+ (create_procinfo): Print pids in /proc without leading zeros.
+
+
+ * nios2-tdep.c (nios2_gcc_target_options): New.
+ (nios2_gdb_arch_init): Install new hook.
+
+
+ * patches/0001-Fix-PR-gdb-23558-Use-system-s-getcwd-when-cross-comp.patch:
+ New file.
+ * update-gnulib.sh: Apply patch.
+ * configure: Re-generate.
+
+
+ * infcmd.c (_initialize_infcmd): Remove "running" from "info proc"
+ description. Make "info proc" command descriptions more
+ consistent.
+
+
+ * NEWS: Mention 'info proc files' command.
+
+
+ * fbsd-nat.c (fbsd_nat_target::info_proc): List open file
+ descriptors for IP_FILES and IP_ALL.
+
+
+ * fbsd-tdep.c (KF_FLAGS, KF_OFFSET, KF_VNODE_TYPE, KF_SOCK_DOMAIN)
+ (KF_SOCK_TYPE, KF_SOCK_PROTOCOL, KF_SA_LOCAL, KF_SA_PEER)
+ (KINFO_FILE_TYPE_SOCKET, KINFO_FILE_TYPE_PIPE)
+ (KINFO_FILE_TYPE_FIFO, KINFO_FILE_TYPE_KQUEUE)
+ (KINFO_FILE_TYPE_CRYPTO, KINFO_FILE_TYPE_MQUEUE)
+ (KINFO_FILE_TYPE_SHM, KINFO_FILE_TYPE_SEM, KINFO_FILE_TYPE_PTS)
+ (KINFO_FILE_TYPE_PROCDESC, KINFO_FILE_FD_TYPE_ROOT)
+ (KINFO_FILE_FD_TYPE_JAIL, KINFO_FILE_FD_TYPE_TRACE)
+ (KINFO_FILE_FD_TYPE_CTTY, KINFO_FILE_FLAG_READ)
+ (KINFO_FILE_FLAG_WRITE, KINFO_FILE_FLAG_APPEND)
+ (KINFO_FILE_FLAG_ASYNC, KINFO_FILE_FLAG_FSYNC)
+ (KINFO_FILE_FLAG_NONBLOCK, KINFO_FILE_FLAG_DIRECT)
+ (KINFO_FILE_FLAG_HASLOCK, KINFO_FILE_FLAG_EXEC)
+ (KINFO_FILE_VTYPE_VREG, KINFO_FILE_VTYPE_VDIR)
+ (KINFO_FILE_VTYPE_VCHR, KINFO_FILE_VTYPE_VLNK)
+ (KINFO_FILE_VTYPE_VSOCK, KINFO_FILE_VTYPE_VFIFO, FBSD_AF_UNIX)
+ (FBSD_AF_INET, FBSD_AF_INET6, FBSD_SOCK_STREAM, FBSD_SOCK_DGRAM)
+ (FBSD_SOCK_SEQPACKET, FBSD_IPPROTO_ICMP, FBSD_IPPROTO_TCP)
+ (FBSD_IPPROTO_UDP, FBSD_IPPROTO_SCTP): New defines.
+ (struct fbsd_sockaddr_in, struct fbsd_sockaddr_in6)
+ (struct fbsd_sockaddr_un): New types.
+ (fbsd_file_fd, fbsd_file_type, fbsd_file_flags, fbsd_ipproto)
+ (fbsd_print_sockaddr_in, fbsd_print_sockaddr_in6)
+ (fbsd_info_proc_files_header, fbsd_info_proc_files_entry)
+ (fbsd_core_info_proc_files): New functions.
+ (fbsd_core_info_proc): List open file descriptors for IP_FILES and
+ IP_ALL.
+ * fbsd-tdep.h (fbsd_info_proc_files_header)
+ (fbsd_info_proc_files_entry): New.
+
+
+ * defs.h (enum info_proc_what) [IP_FILES]: New value.
+ * infcmd.c (info_proc_cmd_files): New function.
+ (_initialize_infcmd): Register 'info proc files' command.
+
+
+ * gnulib/aclocal-m4-deps.mk: Re-generate.
+ * gnulib/aclocal.m4: Re-generate.
+ * gnulib/config.in: Re-generate.
+ * gnulib/configure: Re-generate.
+ * gnulib/import/Makefile.am: Re-generate.
+ * gnulib/import/Makefile.in: Re-generate.
+ * gnulib/import/m4/gnulib-cache.m4: Re-generate.
+ * gnulib/import/m4/gnulib-comp.m4: Re-generate.
+ * gnulib/import/arpa_inet.in.h: New file.
+ * gnulib/import/inet_ntop.c: New file.
+ * gnulib/import/m4/arpa_inet_h.m4: New file.
+ * gnulib/import/m4/inet_ntop.m4: New file.
+ * gnulib/import/m4/netinet_in_h.m4: New file.
+ * gnulib/import/m4/socklen.m4: New file.
+ * gnulib/import/m4/sockpfaf.m4: New file.
+ * gnulib/import/m4/stdalign.m4: New file.
+ * gnulib/import/m4/sys_uio_h.m4: New file.
+ * gnulib/import/netinet_in.in.h: New file.
+ * gnulib/import/stdalign.in.h: New file.
+ * gnulib/import/sys_socket.c: New file.
+ * gnulib/import/sys_socket.in.h: New file.
+ * gnulib/import/sys_uio.in.h: New file.
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add inet_ntop
+ module.
+
+
+ * gnulib/aclocal-m4-deps.mk: New file.
+ * gnulib/update-gnulib.sh: Generate "aclocal-m4-deps.mk"
+ deterministically.
+
+
+ * fbsd-tdep.c (fbsd_core_vnode_path): Use KF_PATH instead of
+ KVE_PATH.
+
+
+ * compile/compile-object-load.c (struct
+ link_hash_table_cleanup_data): Add constructor and destructor.
+ Use DISABLE_COPY_AND_ASSIGN.
+ (~link_hash_table_cleanup_data): Rename from
+ link_hash_table_free. Now a destructor.
+ (copy_sections): Use gdb::unique_xmalloc_ptr. Remove cleanups.
+
+
+ * compile/compile-object-run.c (do_module_cleanup): Use delete.
+ * compile/compile-object-load.c (struct munmap_list): Move to
+ header file.
+ (munmap_list::add): Rename from munmap_list_add; rewrite.
+ (munmap_list::~munmap_list): Rename from munmap_list_free.
+ (munmap_listp_free_cleanup): Remove.
+ (compile_object_load): Update.
+ * compile/compile-object-load.h (struct munmap_list): Move from
+ compile-object-load.c. Rewrite.
+
+
+ * aarch64-tdep.c (pass_in_v): Use register size.
+ (aarch64_extract_return_value): Likewise.
+ (aarch64_store_return_value): Likewise.
+
+
+ * utils.c (dump_core) [HAVE_SETRLIMIT]: Cast RLIM_INFINITY to
+ rlim_t.
+
+
+ * python/lib/gdb/command/frame_filters.py (EnableFrameFilter):
+ Fix short help line.
+
+
+ PR python/20445:
+ * configure: Rebuild.
+ * configure.ac: Conditionally use -DNDEBUG for Python.
+
+
+ * configure: Rebuild.
+ * configure.ac: Use gmp as a library dependency when checking for
+ mpfr.
+
+
+ * python/py-inferior.c (find_inferior_object): Delete.
+
+
+ * compile/compile-cplus-types.c
+ (compile_cplus_instance::enter_scope): Don't use new_scope after
+ std::move.
+
+
+ * common/pathstuff.c (get_standard_cache_dir): Use
+ ~/Library/Caches on macOS.
+ * common/pathstuff.h (get_standard_cache_dir): Update comment.
+
+
+ PR python/23669
+ * breakpoint.c (commands_cmd_element): New.
+ (_initialize_breakpoint): Assign commands_cmd_element.
+ * breakpoint.h (commands_cmd_element): New.
+ * cli/cli-script.c (while_cmd_element, if_command,
+ define_cmd_element): New.
+ (command_name_equals): Remove.
+ (process_next_line): Compare commands by pointer, not by name.
+ (_initialize_cli_script): Assign the various cmd_list_element
+ variables.
+ * compile/compile.c (compile_cmd_element): New.
+ (_initialize_compile): Assign compile_cmd_element.
+ * compile/compile.h (compile_cmd_element): New.
+ * guile/guile.c (guile_cmd_element): New.
+ (install_gdb_commands): Assign guile_cmd_element.
+ * guile/guile.h (guile_cmd_element): New.
+ * python/python.c (python_cmd_element): New.
+ (_initialize_python): Assign python_cmd_element.
+ * python/python.h (python_cmd_element): New.
+ * tracepoint.c (while_stepping_cmd_element): New.
+ (_initialize_tracepoint): Assign while_stepping_cmd_element.
+ * tracepoint.h (while_stepping_cmd_element): New.
+
+
+ * infrun.c (save_infcall_suspend_state): Return
+ infcall_suspend_state_up.
+ (save_infcall_control_state): Return infcall_control_state_up.
+ * inferior.h (save_infcall_suspend_state)
+ (save_infcall_control_state): Declare later. Return unique
+ pointers.
+
+
+ * infrun.c (struct stop_context): Declare constructor,
+ destructor, "changed" method.
+ (stop_context::stop_context): Rename from save_stop_context.
+ (stop_context::~stop_context): Rename from
+ release_stop_context_cleanup.
+ (normal_stop): Update.
+ (stop_context::changed): Rename from stop_context_changed. Return
+ bool.
+
+
+ * inferior.h (struct infcall_suspend_state_deleter): New.
+ (infcall_suspend_state_up): New typedef.
+ (struct infcall_control_state_deleter): New.
+ (infcall_control_state_up): New typedef.
+ (make_cleanup_restore_infcall_suspend_state)
+ (make_cleanup_restore_infcall_control_state): Don't declare.
+ * infcall.c (call_function_by_hand_dummy): Update.
+ * infrun.c (do_restore_infcall_suspend_state_cleanup)
+ (make_cleanup_restore_infcall_suspend_state): Remove.
+ (do_restore_infcall_control_state_cleanup)
+ (make_cleanup_restore_infcall_control_state): Remove.
+
+
+ * gdbthread.h (struct thread_control_state): Add initializer.
+ (class thread_info) <control>: Remove initializer.
+ * inferior.h (struct inferior_control_state): Add initializer.
+ (class inferior) <control>: Remove initializer.
+ (exit_inferior_1): Update.
+ * infrun.c (struct infcall_control_state): Add constructors.
+ (save_infcall_control_state): Use new.
+ (restore_infcall_control_state, discard_infcall_control_state):
+ Use delete.
+
+
+ * infrun.c (struct infcall_suspend_state) <registers>: Now a
+ unique_ptr.
+ <siginfo_data>: Now a unique_xmalloc_ptr.
+ (save_infcall_suspend_state, restore_infcall_suspend_state)
+ (discard_infcall_suspend_state)
+ (get_infcall_suspend_state_regcache): Update.
+
+
+ * gdbthread.h (struct thread_suspend_state): Add initializers.
+ (class thread_info) <suspend>: Remove initializer.
+ * infrun.c (struct infcall_suspend_state): Add initializers.
+ (save_infcall_suspend_state): Use new.
+ (discard_infcall_suspend_state): Use delete.
+
+
+ * python/python-internal.h (CPYCHECKER_STEALS_REFERENCE_TO_ARG):
+ Remove.
+ * python/py-varobj.c (py_varobj_iter_ctor): Change pyiter to
+ rvalue reference. Remove CPYCHECKER_STEALS_REFERENCE_TO_ARG.
+ (py_varobj_iter_new): Likewise.
+ (py_varobj_get_iterator): Use gdbpy_ref.
+
+
+ * python/py-threadevent.c (py_get_event_thread): Simplify.
+ * python/py-inferior.c (infpy_thread_from_thread_handle):
+ Return immediately after calling thread_to_thread_object. Use
+ Py_RETURN_NONE.
+ (thread_to_thread_object): Set the exception on a NULL return.
+
+
+ * Makefile.in (LIBGDB_OBS): Sort COMMON_OBS.
+
+
+ * python/python-internal.h (CPYCHECKER_RETURNS_BORROWED_REF):
+ Remove.
+
+
+ * python/python-internal.h (thread_to_thread_object): Change
+ return type.
+ * python/py-inferior.c (thread_to_thread_object): Return a new
+ reference.
+ (infpy_thread_from_thread_handle): Update.
+ * python/py-infthread.c (gdbpy_selected_thread): Update.
+ * python/py-stopevent.c (create_stop_event_object): Update.
+ * python/py-threadevent.c (py_get_event_thread): Return a new
+ reference.
+ (py_get_event_thread): Update.
+ * python/py-event.h (py_get_event_thread): Change return type.
+ * python/py-continueevent.c (create_continue_event_object):
+ Update.
+
+
+ * python/py-progspace.c (pspy_get_objfiles): Update.
+ * python/python-internal.h (objfile_to_objfile_object): Change
+ return type.
+ * python/py-newobjfileevent.c (create_new_objfile_event_object):
+ Update.
+ * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers):
+ Update.
+ * python/python.c (gdbpy_get_current_objfile): Update.
+ (gdbpy_objfiles): Update.
+ * python/py-objfile.c (objfpy_get_owner, gdbpy_lookup_objfile):
+ Update.
+ (objfile_to_objfile_object): Return a new reference.
+ * python/py-symtab.c (stpy_get_objfile): Update.
+ * python/py-prettyprint.c (find_pretty_printer_from_objfiles):
+ Update.
+
+
+ * python/py-inferior.c (infpy_get_progspace): Update.
+ * python/python-internal.h (pspace_to_pspace_object): Change
+ return type.
+ * python/py-newobjfileevent.c
+ (create_clear_objfiles_event_object): Update.
+ * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers):
+ Update.
+ * python/python.c (gdbpy_get_current_progspace): Update.
+ (gdbpy_progspaces): Update.
+ * python/py-progspace.c (pspace_to_pspace_object): Return a new
+ reference.
+ * python/py-objfile.c (objfpy_get_progspace): Update.
+ * python/py-prettyprint.c (find_pretty_printer_from_progspace):
+ Update.
+
+
+ * python/lib/gdb/__init__.py (current_progspace, objfiles)
+ (solib_name, block_for_pc, find_pc_line): New functions.
+ (execute_unwinders): Update.
+ * python/py-block.c (gdbpy_block_for_pc): Remove.
+ * python/py-inferior.c (infpy_get_progspace): New function.
+ (inferior_object_getset) <progspace>: Add.
+ * python/py-progspace.c (pspy_objfiles): Rewrite.
+ (pspy_solib_name, pspy_block_for_pc)
+ (pspy_find_pc_line, pspy_is_valid): New functions.
+ (progspace_object_methods): Add entries for solib_name,
+ block_for_pc, find_pc_line, is_valid.
+ * python/python-internal.h (gdbpy_block_for_pc)
+ (build_objfiles_list): Don't declare.
+ * python/python.c: Don't include solib.h.
+ (gdbpy_solib_name, gdbpy_find_pc_line)
+ (gdbpy_get_current_progspace, build_objfiles_list)
+ (gdbpy_objfiles): Remove.
+ (GdbMethods) <current_progspace, objfiles, block_for_pc,
+ solib_name, find_pc_line>: Remove entries.
+
+
+ * top.c (new_ui_command): Use GNU style for metasyntactic
+ variables.
+ * breakpoint.c (stopat_command): Use GNU style for metasyntactic
+ variables.
+ * maint.c (maintenance_translate_address): Remove "<>" around
+ text.
+ * interps.c (interpreter_exec_cmd): Use GNU style for
+ metasyntactic variables.
+ * nto-procfs.c (nto_procfs_target_info): Use GNU style for
+ metasyntactic variables.
+ * tracepoint.c (tfind_range_command): Use GNU style for
+ metasyntactic variables.
+ (tfind_outside_command): Likewise.
+ (_initialize_tracepoint): Likewise.
+ * remote.c (extended_remote_target::create_inferior): Use GNU
+ style for metasyntactic variables.
+ * sparc64-tdep.c (adi_examine_command): Use GNU style for
+ metasyntactic variables.
+ (adi_assign_command): Likewise.
+
+
+ * disasm.c (show_disassembler_options_sfunc): Use GNU style for
+ metasyntactic variables. Print message if no disassembler options
+ are available.
+
+
+ * infcmd.c (get_inferior_args): Return const char *.
+ * inferior.h (get_inferior_args): Return type now const.
+ * linux-tdep.c (linux_fill_prpsinfo): Update.
+ * procfs.c (procfs_target::make_corefile_notes): Update.
+
+
+ * python/python.c (execute_gdb_command): Call bpstat_do_actions
+ inside the TRY.
+
+
+ * nios2-tdep.c (nios2_type_align): New.
+ (nios2_gdb_arch_init): Install type_align hook.
+
+
+ * eval.c (fake_method::fake_method): Call xzalloc directly for a
+ type that is neither object file owned, nor gdbarch owned.
+ * gdbtypes.c (get_type_gdbarch): Add an assert that returned
+ gdbarch is non-NULL.
+ (alloc_type_instance): Allocate non-objfile owned types on the
+ gdbarch obstack.
+ (copy_type_recursive): Allocate TYPE_FIELDS and TYPE_RANGE_DATA
+ using TYPE_ALLOC to ensure memory is allocated on the correct
+ obstack.
+ * gdbtypes.h (TYPE_ALLOC): Allocate space on either the objfile
+ obstack, or the gdbarch obstack.
+ (TYPE_ZALLOC): Rewrite using TYPE_ALLOC.
+
+
+ * infcall.c (call_function_by_hand_dummy): Remove unnecessary
+ block.
+
+
+ * nat/fork-inferior.c (get_startup_shell): Remove "static".
+
+
+ * python/py-inferior.c (infpy_thread_from_thread_handle): Now
+ static.
+
+
+ * exec.c (try_open_exec_file): Use std::string.
+
+
+ * utils.h (gdb_bfd_errmsg): Return std::string.
+ * exec.c (exec_file_attach): Update.
+ * compile/compile-object-load.c (compile_object_load): Update.
+ * utils.c (gdb_bfd_errmsg): Return std::string.
+
+
+ * procfs.c (struct procinfo_deleter): New.
+ (procinfo_up): New typedef.
+ (do_destroy_procinfo_cleanup): Remove.
+ (procfs_target::info_proc): Use procinfo_up. Remove cleanups.
+
+
+ * source.c (add_path): Use gdb::unique_xmalloc_ptr.
+
+
+ * python/py-progspace.c (PSPY_REQUIRE_VALID): New macro.
+ (pspy_get_objfiles): New function.
+ (progspace_object_methods): New.
+ (pspace_object_type): Add tp_methods callback.
+ * python/python-internal.h (build_objfiles_list): New
+ declaration.
+ * python/python.c (build_objfiles_list): New function.
+ (gdbpy_objfiles): Implement using build_objfiles_list.
+ * NEWS: Mention the Progspace.objfiles method.
+
+
+ * python/py-inferior.c (infpy_get_progspace): New function.
+ (inferior_object_getset): Add progspace property.
+ * NEWS: Mention the new property.
+
+
+ PR rust/23650:
+ * rust-lang.c (rust_evaluate_subexp): Use field name, not "foo".
+
+
+ PR rust/23626:
+ * rust-lang.c (rust_enum_variant): Now static.
+ (rust_empty_enum_p): New function.
+ (rust_print_enum, rust_evaluate_subexp, rust_print_struct_def):
+ Handle empty enum.
+
+
+ * python/py-inferior.c (infpy_repr): New.
+ (inferior_object_type): Register infpy_repr.
+ * python/py-objfile.c (objfpy_repr): New.
+ (objfile_object_type): Register objfpy_repr.
+
+
+ * fbsd-nat.c (fbsd_nat_target::info_proc): Remove unused variable.
+
+
+ * aarch64-fbsd-tdep.h (AARCH64_FBSD_SIZEOF_GREGSET): Fix comment
+ typo.
+
+
+ * common/common-utils.c: Don't include '<sys/stat.h>'.
+ (is_regular_file): Move to...
+ * common/filestuff.c (is_regular_file): ... here.
+ * common/common-utils.h (is_regular_file): Move to...
+ * common/filestuff.h (is_regular_file): ... here.
+
+
+ * skip.c (debug_skip): New variable.
+ (skiplist_entry::do_skip_file_p): Add debug output.
+ (skiplist_entry::do_skip_gfile_p): Likewise.
+ (skiplist_entry::skip_function_p): Likewise.
+ (_initialize_step_skip): Create debug command.
+ * NEWS: Mention set/show debug skip.
+
+
+ * darwin-nat.c (should_disable_startup_with_shell):
+ New function.
+ (darwin_nat_target::create_inferior): Add call.
+
+
+ * darwin-nat.h (struct darwin_thread_info) <gdb_port,
+ inf_port, msg_state>: Initialize.
+ (struct darwin_thread_info) <signaled, single_step>: Change
+ type and initialize.
+ (struct darwin_thread_info) <event>: Initialize.
+
+
+ PR gdb/23555
+ PR gdb/23558
+ * gnulib/import/m4/getcwd-path-max.m4: Add cross-compilation
+ guesses.
+
+
+ Revert:
+
+ PR gdb/23555
+ PR gdb/23558
+ * gnulib/aclocal.m4: Regenerate.
+ * gnulib/config.in: Regenerate.
+ * gnulib/configure: Regenerate.
+ * gnulib/import/Makefile.am: Update.
+ * gnulib/import/Makefile.in: Update.
+ * gnulib/import/extra/snippet/_Noreturn.h: Rename to...
+ * gnulib/import/_Noreturn.h: ... this.
+ * gnulib/import/alloca.in.h: Update.
+ * gnulib/import/extra/snippet/arg-nonnull.h: Rename to...
+ * gnulib/import/arg-nonnull.h: ... this.
+ * gnulib/import/assure.h: Update.
+ * gnulib/import/at-func.c: Update.
+ * gnulib/import/basename-lgpl.c: Update.
+ * gnulib/import/extra/snippet/c++defs.h: Rename to...
+ * gnulib/import/c++defs.h: ... this.
+ * gnulib/import/canonicalize-lgpl.c: Update.
+ * gnulib/import/cdefs.h: Update.
+ * gnulib/import/chdir-long.c: Update.
+ * gnulib/import/chdir-long.h: Update.
+ * gnulib/import/cloexec.c: Update.
+ * gnulib/import/cloexec.h: Update.
+ * gnulib/import/close.c: Update.
+ * gnulib/import/closedir.c: Update.
+ * gnulib/import/config.charset: Update.
+ * gnulib/import/dirent-private.h: Update.
+ * gnulib/import/dirent.in.h: Update.
+ * gnulib/import/dirfd.c: Update.
+ * gnulib/import/dirname-lgpl.c: Update.
+ * gnulib/import/dirname.h: Update.
+ * gnulib/import/dosname.h: Update.
+ * gnulib/import/dup-safer-flag.c: Update.
+ * gnulib/import/dup-safer.c: Update.
+ * gnulib/import/dup.c: Update.
+ * gnulib/import/dup2.c: Update.
+ * gnulib/import/errno.in.h: Update.
+ * gnulib/import/error.c: Update.
+ * gnulib/import/error.h: Update.
+ * gnulib/import/exitfail.c: Update.
+ * gnulib/import/exitfail.h: Update.
+ * gnulib/import/extra/update-copyright: Update.
+ * gnulib/import/fchdir.c: Update.
+ * gnulib/import/fcntl.c: Update.
+ * gnulib/import/fcntl.in.h: Update.
+ * gnulib/import/fd-hook.c: Update.
+ * gnulib/import/fd-hook.h: Update.
+ * gnulib/import/fd-safer-flag.c: Update.
+ * gnulib/import/fd-safer.c: Update.
+ * gnulib/import/fdopendir.c: Update.
+ * gnulib/import/filename.h: Update.
+ * gnulib/import/filenamecat-lgpl.c: Update.
+ * gnulib/import/filenamecat.h: Update.
+ * gnulib/import/flexmember.h: Update.
+ * gnulib/import/float+.h: Update.
+ * gnulib/import/float.c: Update.
+ * gnulib/import/float.in.h: Update.
+ * gnulib/import/fnmatch.c: Update.
+ * gnulib/import/fnmatch.in.h: Update.
+ * gnulib/import/fnmatch_loop.c: Update.
+ * gnulib/import/fpucw.h: Update.
+ * gnulib/import/frexp.c: Update.
+ * gnulib/import/frexpl.c: Update.
+ * gnulib/import/fstat.c: Update.
+ * gnulib/import/fstatat.c: Update.
+ * gnulib/import/getcwd-lgpl.c: Update.
+ * gnulib/import/getcwd.c: Update.
+ * gnulib/import/getdtablesize.c: Update.
+ * gnulib/import/getlogin_r.c: Update.
+ * gnulib/import/getprogname.c: Update.
+ * gnulib/import/getprogname.h: Update.
+ * gnulib/import/gettext.h: Update.
+ * gnulib/import/gettimeofday.c: Update.
+ * gnulib/import/glob-libc.h: Update.
+ * gnulib/import/glob.c: Update.
+ * gnulib/import/glob.in.h: Update.
+ * gnulib/import/glob_internal.h: Update.
+ * gnulib/import/glob_pattern_p.c: Update.
+ * gnulib/import/globfree.c: Update.
+ * gnulib/import/hard-locale.c: Update.
+ * gnulib/import/hard-locale.h: Update.
+ * gnulib/import/intprops.h: Update.
+ * gnulib/import/inttypes.in.h: Update.
+ * gnulib/import/isnan.c: Update.
+ * gnulib/import/isnand-nolibm.h: Update.
+ * gnulib/import/isnand.c: Update.
+ * gnulib/import/isnanl-nolibm.h: Update.
+ * gnulib/import/isnanl.c: Update.
+ * gnulib/import/itold.c: Update.
+ * gnulib/import/libc-config.h: Update.
+ * gnulib/import/limits.in.h: Update.
+ * gnulib/import/localcharset.c: Update.
+ * gnulib/import/localcharset.h: Update.
+ * gnulib/import/localtime-buffer.c: Update.
+ * gnulib/import/localtime-buffer.h: Update.
+ * gnulib/import/lstat.c: Update.
+ * gnulib/import/m4/00gnulib.m4: Update.
+ * gnulib/import/m4/__inline.m4: Update.
+ * gnulib/import/m4/absolute-header.m4: Update.
+ * gnulib/import/m4/alloca.m4: Update.
+ * gnulib/import/m4/builtin-expect.m4: Update.
+ * gnulib/import/m4/canonicalize.m4: Update.
+ * gnulib/import/m4/chdir-long.m4: Update.
+ * gnulib/import/m4/close.m4: Update.
+ * gnulib/import/m4/closedir.m4: Update.
+ * gnulib/import/m4/configmake.m4: Update.
+ * gnulib/import/m4/d-ino.m4: Update.
+ * gnulib/import/m4/d-type.m4: Update.
+ * gnulib/import/m4/dirent_h.m4: Update.
+ * gnulib/import/m4/dirfd.m4: Update.
+ * gnulib/import/m4/dirname.m4: Update.
+ * gnulib/import/m4/double-slash-root.m4: Update.
+ * gnulib/import/m4/dup.m4: Update.
+ * gnulib/import/m4/dup2.m4: Update.
+ * gnulib/import/m4/eealloc.m4: Update.
+ * gnulib/import/m4/environ.m4: Update.
+ * gnulib/import/m4/errno_h.m4: Update.
+ * gnulib/import/m4/error.m4: Update.
+ * gnulib/import/m4/exponentd.m4: Update.
+ * gnulib/import/m4/exponentl.m4: Update.
+ * gnulib/import/m4/extensions.m4: Update.
+ * gnulib/import/m4/extern-inline.m4: Update.
+ * gnulib/import/m4/fchdir.m4: Update.
+ * gnulib/import/m4/fcntl-o.m4: Update.
+ * gnulib/import/m4/fcntl.m4: Update.
+ * gnulib/import/m4/fcntl_h.m4: Update.
+ * gnulib/import/m4/fdopendir.m4: Update.
+ * gnulib/import/m4/filenamecat.m4: Update.
+ * gnulib/import/m4/flexmember.m4: Update.
+ * gnulib/import/m4/float_h.m4: Update.
+ * gnulib/import/m4/fnmatch.m4: Update.
+ * gnulib/import/m4/fnmatch_h.m4: Update.
+ * gnulib/import/m4/fpieee.m4: Update.
+ * gnulib/import/m4/frexp.m4: Update.
+ * gnulib/import/m4/frexpl.m4: Update.
+ * gnulib/import/m4/fstat.m4: Update.
+ * gnulib/import/m4/fstatat.m4: Update.
+ * gnulib/import/m4/getcwd-abort-bug.m4: Update.
+ * gnulib/import/m4/getcwd-path-max.m4: Update.
+ * gnulib/import/m4/getcwd.m4: Update.
+ * gnulib/import/m4/getdtablesize.m4: Update.
+ * gnulib/import/m4/getlogin.m4: Update.
+ * gnulib/import/m4/getlogin_r.m4: Update.
+ * gnulib/import/m4/getpagesize.m4: Update.
+ * gnulib/import/m4/getprogname.m4: Update.
+ * gnulib/import/m4/gettimeofday.m4: Update.
+ * gnulib/import/m4/glibc21.m4: Update.
+ * gnulib/import/m4/glob.m4: Update.
+ * gnulib/import/m4/glob_h.m4: Update.
+ * gnulib/import/m4/gnulib-cache.m4: Update.
+ * gnulib/import/m4/gnulib-common.m4: Update.
+ * gnulib/import/m4/gnulib-comp.m4: Update.
+ * gnulib/import/m4/gnulib-tool.m4: Update.
+ * gnulib/import/m4/hard-locale.m4: Update.
+ * gnulib/import/m4/include_next.m4: Update.
+ * gnulib/import/m4/inttypes-pri.m4: Update.
+ * gnulib/import/m4/inttypes.m4: Update.
+ * gnulib/import/m4/isnand.m4: Update.
+ * gnulib/import/m4/isnanl.m4: Update.
+ * gnulib/import/m4/largefile.m4: Update.
+ * gnulib/import/m4/limits-h.m4: Update.
+ * gnulib/import/m4/localcharset.m4: Update.
+ * gnulib/import/m4/locale-fr.m4: Update.
+ * gnulib/import/m4/locale-ja.m4: Update.
+ * gnulib/import/m4/locale-zh.m4: Update.
+ * gnulib/import/m4/localtime-buffer.m4: Update.
+ * gnulib/import/m4/longlong.m4: Update.
+ * gnulib/import/m4/lstat.m4: Update.
+ * gnulib/import/m4/malloc.m4: Update.
+ * gnulib/import/m4/malloca.m4: Update.
+ * gnulib/import/m4/math_h.m4: Update.
+ * gnulib/import/m4/mbrtowc.m4: Update.
+ * gnulib/import/m4/mbsinit.m4: Update.
+ * gnulib/import/m4/mbsrtowcs.m4: Update.
+ * gnulib/import/m4/mbstate_t.m4: Update.
+ * gnulib/import/m4/memchr.m4: Update.
+ * gnulib/import/m4/memmem.m4: Update.
+ * gnulib/import/m4/mempcpy.m4: Update.
+ * gnulib/import/m4/memrchr.m4: Update.
+ * gnulib/import/m4/mkdir.m4: Update.
+ * gnulib/import/m4/mkstemp.m4: Update.
+ * gnulib/import/m4/mmap-anon.m4: Update.
+ * gnulib/import/m4/mode_t.m4: Update.
+ * gnulib/import/m4/msvc-inval.m4: Update.
+ * gnulib/import/m4/msvc-nothrow.m4: Update.
+ * gnulib/import/m4/multiarch.m4: Update.
+ * gnulib/import/m4/nocrash.m4: Update.
+ * gnulib/import/m4/off_t.m4: Update.
+ * gnulib/import/m4/onceonly.m4: Update.
+ * gnulib/import/m4/open-cloexec.m4: Update.
+ * gnulib/import/m4/open.m4: Update.
+ * gnulib/import/m4/openat.m4: Update.
+ * gnulib/import/m4/opendir.m4: Update.
+ * gnulib/import/m4/pathmax.m4: Update.
+ * gnulib/import/m4/rawmemchr.m4: Update.
+ * gnulib/import/m4/readdir.m4: Update.
+ * gnulib/import/m4/readlink.m4: Update.
+ * gnulib/import/m4/realloc.m4: Update.
+ * gnulib/import/m4/rename.m4: Update.
+ * gnulib/import/m4/rewinddir.m4: Update.
+ * gnulib/import/m4/rmdir.m4: Update.
+ * gnulib/import/m4/save-cwd.m4: Update.
+ * gnulib/import/m4/secure_getenv.m4: Update.
+ * gnulib/import/m4/setenv.m4: Update.
+ * gnulib/import/m4/signal_h.m4: Update.
+ * gnulib/import/m4/ssize_t.m4: Update.
+ * gnulib/import/m4/stat-time.m4: Update.
+ * gnulib/import/m4/stat.m4: Update.
+ * gnulib/import/m4/std-gnu11.m4: Update.
+ * gnulib/import/m4/stdbool.m4: Update.
+ * gnulib/import/m4/stddef_h.m4: Update.
+ * gnulib/import/m4/stdint.m4: Update.
+ * gnulib/import/m4/stdio_h.m4: Update.
+ * gnulib/import/m4/stdlib_h.m4: Update.
+ * gnulib/import/m4/strchrnul.m4: Update.
+ * gnulib/import/m4/strdup.m4: Update.
+ * gnulib/import/m4/strerror.m4: Update.
+ * gnulib/import/m4/string_h.m4: Update.
+ * gnulib/import/m4/strstr.m4: Update.
+ * gnulib/import/m4/strtok_r.m4: Update.
+ * gnulib/import/m4/sys_socket_h.m4: Update.
+ * gnulib/import/m4/sys_stat_h.m4: Update.
+ * gnulib/import/m4/sys_time_h.m4: Update.
+ * gnulib/import/m4/sys_types_h.m4: Update.
+ * gnulib/import/m4/tempname.m4: Update.
+ * gnulib/import/m4/time_h.m4: Update.
+ * gnulib/import/m4/unistd-safer.m4: Update.
+ * gnulib/import/m4/unistd_h.m4: Update.
+ * gnulib/import/m4/warn-on-use.m4: Update.
+ * gnulib/import/m4/wchar_h.m4: Update.
+ * gnulib/import/m4/wchar_t.m4: Update.
+ * gnulib/import/m4/wctype_h.m4: Update.
+ * gnulib/import/m4/wint_t.m4: Update.
+ * gnulib/import/malloc.c: Update.
+ * gnulib/import/malloc/scratch_buffer.h: Update.
+ * gnulib/import/malloc/scratch_buffer_grow.c: Update.
+ * gnulib/import/malloc/scratch_buffer_grow_preserve.c: Update.
+ * gnulib/import/malloc/scratch_buffer_set_array_size.c: Update.
+ * gnulib/import/malloca.c: Update.
+ * gnulib/import/malloca.h: Update.
+ * gnulib/import/malloca.valgrind: Update.
+ * gnulib/import/math.in.h: Update.
+ * gnulib/import/mbrtowc.c: Update.
+ * gnulib/import/mbsinit.c: Update.
+ * gnulib/import/mbsrtowcs-impl.h: Update.
+ * gnulib/import/mbsrtowcs-state.c: Update.
+ * gnulib/import/mbsrtowcs.c: Update.
+ * gnulib/import/memchr.c: Update.
+ * gnulib/import/memmem.c: Update.
+ * gnulib/import/mempcpy.c: Update.
+ * gnulib/import/memrchr.c: Update.
+ * gnulib/import/mkdir.c: Update.
+ * gnulib/import/mkstemp.c: Update.
+ * gnulib/import/msvc-inval.c: Update.
+ * gnulib/import/msvc-inval.h: Update.
+ * gnulib/import/msvc-nothrow.c: Update.
+ * gnulib/import/msvc-nothrow.h: Update.
+ * gnulib/import/open.c: Update.
+ * gnulib/import/openat-die.c: Update.
+ * gnulib/import/openat-priv.h: Update.
+ * gnulib/import/openat-proc.c: Update.
+ * gnulib/import/openat.c: Update.
+ * gnulib/import/openat.h: Update.
+ * gnulib/import/opendir.c: Update.
+ * gnulib/import/pathmax.h: Update.
+ * gnulib/import/pipe-safer.c: Update.
+ * gnulib/import/rawmemchr.c: Update.
+ * gnulib/import/readdir.c: Update.
+ * gnulib/import/readlink.c: Update.
+ * gnulib/import/realloc.c: Update.
+ * gnulib/import/ref-add.sin: Update.
+ * gnulib/import/ref-del.sin: Update.
+ * gnulib/import/rename.c: Update.
+ * gnulib/import/rewinddir.c: Update.
+ * gnulib/import/rmdir.c: Update.
+ * gnulib/import/same-inode.h: Update.
+ * gnulib/import/save-cwd.c: Update.
+ * gnulib/import/save-cwd.h: Update.
+ * gnulib/import/scratch_buffer.h: Update.
+ * gnulib/import/secure_getenv.c: Update.
+ * gnulib/import/setenv.c: Update.
+ * gnulib/import/signal.in.h: Update.
+ * gnulib/import/stat-time.c: Update.
+ * gnulib/import/stat-time.h: Update.
+ * gnulib/import/stat-w32.c: Update.
+ * gnulib/import/stat-w32.h: Update.
+ * gnulib/import/stat.c: Update.
+ * gnulib/import/stdbool.in.h: Update.
+ * gnulib/import/stddef.in.h: Update.
+ * gnulib/import/stdint.in.h: Update.
+ * gnulib/import/stdio.in.h: Update.
+ * gnulib/import/stdlib.in.h: Update.
+ * gnulib/import/str-two-way.h: Update.
+ * gnulib/import/strchrnul.c: Update.
+ * gnulib/import/strdup.c: Update.
+ * gnulib/import/streq.h: Update.
+ * gnulib/import/strerror-override.c: Update.
+ * gnulib/import/strerror-override.h: Update.
+ * gnulib/import/strerror.c: Update.
+ * gnulib/import/string.in.h: Update.
+ * gnulib/import/stripslash.c: Update.
+ * gnulib/import/strnlen1.c: Update.
+ * gnulib/import/strnlen1.h: Update.
+ * gnulib/import/strstr.c: Update.
+ * gnulib/import/strtok_r.c: Update.
+ * gnulib/import/sys_stat.in.h: Update.
+ * gnulib/import/sys_time.in.h: Update.
+ * gnulib/import/sys_types.in.h: Update.
+ * gnulib/import/tempname.c: Update.
+ * gnulib/import/tempname.h: Update.
+ * gnulib/import/time.in.h: Update.
+ * gnulib/import/unistd--.h: Update.
+ * gnulib/import/unistd-safer.h: Update.
+ * gnulib/import/unistd.in.h: Update.
+ * gnulib/import/unsetenv.c: Update.
+ * gnulib/import/verify.h: Update.
+ * gnulib/import/extra/snippet/warn-on-use.h: Update.
+ * gnulib/import/wchar.in.h: Update.
+ * gnulib/import/wctype.in.h: Update.
+ * gnulib/import/xalloc-oversized.h: Update.
+ * gnulib/update-gnulib.sh (GNULIB_COMMIT_SHA1): Set to
+ "53e2c179f26a890fa6685af4b6c1397ee370433b".
+
+
+ * record-btrace.c (get_thread_current_frame): Remove
+ old_inferior_ptid.
+
+
+ * ada-lang.c (ada_value_struct_elt): Call ada_to_fixed_type
+ with check_tag to 1 if and only if the type is tagged and the
+ component being searched cannot been found in the current
+ view. Otherwise, always call ada_to_fixed_type with
+ check_tag to 0.
+
+
+ * ada-lang.c (ada_is_access_to_unconstrained_array): Remove static
+ declaration.
+ * ada-lang.h: add ada_is_access_to_unconstrained_array prototype.
+ * ada-varobj.c (ada_varobj_get_number_of_children,
+ ada_varobj_describe_child, ada_value_is_changeable_p): Cleanup code.
+
+
+ * ada-valprint.c (ada_value_print): Use type instead of
+ enclosing type.
+
+
+ * ada-lang.c (ada_value_subscript): Handle case when parameter is
+ an array of access to unconstrained array.
+
+
+ * ada-lang.c (ada_is_access_to_unconstrained_array): New function.
+ (ada_check_typedef): Use it.
+
+
+ * ada-varobj.c (ada_varobj_describe_struct_child)
+ (ada_varobj_describe_child): Handle union case like struct one.
+
+
+ PR python/18380:
+ * python/python.c (_initialize_python): Make example in "python"
+ help work in Python 3.
+
+
+ * Makefile.in (transformed_name): Use INSTALL_SCRIPT instead of
+ INSTALL_PROGRAM to install gdb-add-index.sh. Don't append
+ $(EXEEXT) to the script, as it is not a program.
+
+
+ * python/py-prettyprint.c (pretty_print_one_value): Return
+ gdbpy_ref<>.
+ (print_string_repr): Adjust.
+ (apply_varobj_pretty_printer): Return gdbpy_ref<>.
+ * python/python-internal.h (apply_varobj_pretty_printer): Return
+ gdbpy_ref<>.
+ * varobj.c (varobj_value_get_print_value): Adjust.
+
+
+ PR python/16047:
+ * python/py-prettyprint.c (pretty_print_one_value): Check for
+ to_string method.
+
+
+ * ada-lang.c (resolve_subexp): Pass correct OPLEN in call to
+ replace_operator_with_call.
+
+
+ * ada-lang.c (ada_value_cast): Remove unnecessary parentheses.
+
+
+ * ada-typeprint.c (print_range): Print the bounds using TYPE
+ rather than its TYPE_TARGET_TYPE.
+
+
+ * ada-lang.c (ada_to_fixed_value): Minor reformatting in
+ call to ada_to_fixed_value_create.
+
+
+ * ada-lang.c (ada_decode): strip dot prefix in symbol name.
+
+
+ * ada-lang.c (ada_exception_sal): Replace gdb_assert calls
+ by calls to error.
+
+
+ * ada-lang.c (ada_unhandled_exception_name_addr_from_raise):
+ Move update of loop variable "fi".
+
+
+ * ada-lang.c (value_assign_to_component): In the case of
+ big-endian targets, extract the bits of the given VAL
+ using an src_offset of zero if container is not a scalar.
+
+
+ PR gdb/23105
+ * fbsd-nat.c (fbsd_nat_target::xfer_partial): Add support for
+ TARGET_OBJECT_FREEBSD_VMMAP and TARGET_OBJECT_FREEBSD_PS_STRINGS.
+ * fbsd-tdep.c (fbsd_make_note_desc): New.
+ (fbsd_make_corefile_notes): Write NT_PROCSTAT_AUXV,
+ NT_PROCSTAT_VMMAP and NT_PROCSTAT_PS_STRINGS notes.
+ * target.h (enum target_object) Add FreeBSD-specific
+ TARGET_OBJECT_FREEBSD_VMMAP and TARGET_OBJECT_FREEBSD_PS_STRINGS.
+
+
+ * compile/compile-c.h (generate_c_for_variable_locations):
+ Change reference to pointer.
+ * compile/compile-c-support.c (compile_program) <compute>:
+ Likewise.
+ * compile/compile-c-symbols.c (generate_vla_size): Likewise.
+ (generate_c_for_for_one_variable): Likewise
+ (generate_c_for_variable_locations): Likewise
+ * compile/compile-c-types.c (compile_c_instance::convert_type):
+ Likewise
+ * compile/compile-cplus-symbols.c (convert_one_symbol):
+ std::move the scope passed to enter_scope.
+ * compile/compile-cplus-types.c
+ (compile_cplus_instance::enter_scope): Make parameter
+ rvalue-reference.
+ (compile_cplus_instance::new_scope): Change reference to
+ pointer.
+ (compile_cplus_instance::convert_type): Likewise
+ (compile_cplus_convert_typedef): std::move the scope passed to
+ enter_scope.
+ (compile_cplus_convert_struct_or_union): Likewise.
+ (compile_cplus_convert_enum): Likewise.
+ (compile_cplus_convert_namespace): Likewise.
+ * compile/compile-cplus.h (compile_cplus_instance)
+ <enter_scope>: Make parameter rvalue-reference.
+ * compile/compile-internal.h (compile_instance)
+ <get_cached_type>: Likewise
+ * compile/compile-loc2c.c (push): Likewise
+ (pushf): Likewise
+ (unary): Likewise
+ (binary): Likewise
+ (print_label): Likewise
+ (pushf_register_address): Likewise
+ (pushf_register): Likewise
+ (do_compile_dwarf_expr_to_c): Likewise
+ (compile_dwarf_expr_to_c): Likewise
+ (compile_dwarf_bounds_to_c): Likewise
+ * compile/compile.c (compile_instance::get_cached_type):
+ Likewise
+ * compile/compile.h (compile_dwarf_expr_to_c): Likewise.
+ (compile_dwarf_bounds_to_c): Likewise
+ * dwarf2loc.c (locexpr_generate_c_location): Likewise.
+ (dwarf2_compile_property_to_c): Likewise
+ * dwarf2loc.h (dwarf2_compile_property_to_c): Likewise
+ * symtab.h (struct symbol_computed_ops) <generate_c_location>:
+ Likewise
+
+
+ * tui/tui-data.h (struct tui_win_element) <highlight>: Remove.
+ * tui/tui-data.c (init_content_element): Don't initialize it.
+
+
+ * tui/tui-data.h (struct tui_win_info)
+ <detail::opaque>: Remove.
+ * tui/tui-data.c (init_win_info): Remove assignment.
+
+
+ * warning.m4 (AM_GDB_WARNINGS): Add -Wformat when testing
+ -Wformat-nonliteral.
+ * target-float.c (host_float_ops<T>::to_string)
+ (host_float_ops<T>::from_string): Use
+ DIAGNOSTIC_IGNORE_FORMAT_NONLITERAL.
+ * configure: Rebuild.
+
+
+ * printcmd.c (printf_c_string): Use
+ DIAGNOSTIC_IGNORE_FORMAT_NONLITERAL.
+ (printf_wide_c_string, printf_pointer, ui_printf): Likewise.
+
+
+ * cli/cli-cmds.c (shell_escape, edit_command): Remove cast.
+
+
+ * dwarf2loc.c (sect_variable_value): Call indirect_synthetic_pointer
+ with resolve_abstract_p == true.
+ (indirect_synthetic_pointer): Add resolve_abstract_p parameter,
+ defaulting to false. Propagate resolve_abstract_p to
+ dwarf2_fetch_die_loc_sect_off.
+ * dwarf2loc.h (dwarf2_fetch_die_loc_sect_off): Add resolve_abstract_p
+ parameter, defaulting to false.
+ * dwarf2read.c (read_variable): Add variable to abstract_to_concrete.
+ (dwarf2_fetch_die_loc_sect_off): Add and handle resolve_abstract_p
+ parameter.
+ * dwarf2read.h (struct die_info): Forward-declare.
+ (die_info_ptr): New typedef.
+ (struct dwarf2_per_objfile): Add abstract_to_concrete field.
+
+
+ GDB 8.2 released.
+
+
+ * gnulib/Makefile.in (aclocal_m4_deps): Move to
+ "aclocal-m4-deps.mk". Include file here.
+ $(srcdir)/aclocal.m4: Add "configure.ac".
+ * gnulib/aclocal-m4-deps.mk: New file.
+ * gnulib/update-gnulib.sh: Automatically update
+ "aclocal-m4-deps.mk".
+
+
+ * configure: Rebuild.
+ * configure.ac: Remove multi-ice code.
+
+
+ * Makefile.in (GDB_WARN_CFLAGS_NO_DEFS): Remove.
+ (ada-exp.o): Update.
+
+
+ * Makefile.in (printcmd.o, target-float.o): Remove.
+ (GDB_WARN_CFLAGS_NO_FORMAT): Remove.
+
+
+ * gnulib/Makefile.in: Remove obsolete comment.
+ * Makefile.in: Remove obsolete comment.
+
+
+ * riscv-tdep.c (riscv_frame_cache): Fix ARI warning, don't end a
+ line with '+'.
+
+
+ * riscv-tdep.c: Add 'prologue-value.h' include.
+ (struct riscv_unwind_cache): New struct.
+ (riscv_debug_unwinder): New global.
+ (riscv_scan_prologue): Update arguments, capture register details
+ from prologue scan.
+ (riscv_skip_prologue): Reformat arguments line, move end of
+ prologue calculation into riscv_scan_prologue.
+ (riscv_frame_cache): Update return type, create
+ riscv_unwind_cache, scan the prologue, and fill in remaining cache
+ details.
+ (riscv_frame_this_id): Use frame id computed in riscv_frame_cache.
+ (riscv_frame_prev_register): Use the trad_frame within the
+ riscv_unwind_cache.
+ (_initialize_riscv_tdep): Add 'set/show debug riscv unwinder'
+ flag.
+
+
+ * trad-frame.h (trad_frame_set_realreg): Declare.
+ (trad_frame_set_addr): Declare.
+ * trad-frame.c (trad_frame_set_realreg): Define new function.
+ (trad_frame_set_addr): Define new function.
+ (trad_frame_set_reg_realreg): Use new function.
+ (trad_frame_set_reg_addr): Use new function.
+
+
+ * compile/compile-cplus-types.c (compile_cplus_debug_output_1): Use
+ pulongest instead of "%lld".
+ * compile/compile-cplus-symbols.c (gcc_cplus_convert_symbol): Remove
+ ATTRIBUTE_UNUSED.
+
+
+ * dwarf2read.c (dwarf2_add_field): Set the TYPE_LENGTH of the
+ variant part type.
+
+
+ * gdbarch.h: Regenerate.
+
+
+ * gdbarch.sh (have_nonsteppable_watchpoint): Add comment.
+ * target.h (Hardware watchpoint interfaces): Describe
+ continuable/steppable/non-steppable watchpoints.
+ * gdbarch.h, gdbarch.c: Regenerate.
+
+
+ * nto-procfs.c (nto_procfs_target::have_continuable_watchpoint):
+ Delete.
+ * s390-linux-nat.c
+ (s390_linux_nat_target::have_continuable_watchpoint): Delete.
+ * target.h (target_ops::have_continuable_watchpoint): Delete.
+ (target_have_continuable_watchpoint): Delete.
+ * x86-nat.h (x86_nat_target::have_continuable_watchpoint): Delete.
+ * target-delegates.c: Regenerate.
+
+
+ * gnulib/Makefile.in (aclocal_m4_deps): Update according to
+ the files present in "gnulib/import/m4/".
+
+
+ * riscv-tdep.c (riscv_insn::decode): Decode c.addi4spn, c.sd,
+ c.sw, c.swsp, and c.sdsp.
+
+
+ * riscv-tdep.c (struct riscv_inferior_data): Delete.
+ (riscv_read_misa_reg): Don't cache value read into inferior data.
+ (riscv_new_inferior_data): Delete.
+ (riscv_inferior_data_cleanup): Delete.
+ (riscv_inferior_data): Delete.
+ (riscv_invalidate_inferior_data): Delete.
+ (_initialize_riscv_tdep): Remove initialisation of inferior data.
+
+
+ * compile/compile-cplus-types.c
+ (compile_cplus_instance::leave_scope): Take the address of scope
+ object.
+ (compile_cplus_instance::convert_qualified_base): Compare quals
+ to 0.
+
+
+ * compile/compile-cplus-types.c (compile_cplus_instance::enter_scope):
+ Use "%s" and host_address_to_string instead of "%p" in printf.
+
+
+ * Makefile.in (SUBDIR_GCC_COMPILE_SRCS): Add compile-cplus-symbols.c
+ and compile-cplus-types.c.
+ (HFILES_NO_SRCDIR): Add gcc-cp-plugin.h.
+ * c-lang.c (cplus_language_defn): Set C++ compile functions.
+ * c-lang.h (cplus_get_compile_context, cplus_compute_program):
+ Declare.
+ * compile/compile-c-support.c: Include compile-cplus.h.
+ (load_libcompile): Templatize.
+ (get_compile_context): "New" function.
+ (c_get_compile_context): Use get_compile_context.
+ (cplus_get_compile_context): New function.
+ (cplus_push_user_expression, cplus_pop_user_expression)
+ (cplus_add_code_header, cplus_add_input, cplus_compile_program)
+ (cplus_compute_program): Define new structs/functions.
+ * compile/compile-cplus-symmbols.c: New file.
+ * compile/compile-cplus-types.c: New file.
+ * compile/compile-cplus.h: New file.
+ * compile/compile-internal.h (debug_compile_oracle, GCC_TYPE_NONE):
+ Declare.
+ * compile/compile-object-load.c (get_out_value_type): Use
+ strncmp_iw when comparing symbol names.
+ (compile_object_load): Add mst_bss and mst_data.
+ * compile/compile.c (_initialize_compile): Remove
+ -Wno-implicit-function-declaration from `compile_args'.
+ * compile/gcc-cp-plugin.h: New file.
+ * NEWS: Mention C++ compile support and new debug options.
+
+
+ * linespec.c (collect_info::add_symbol): Make virtual.
+ (struct symbol_searcher_collect_info): New struct.
+ (symbol_searcher::find_all_symbols): New method.
+ * symtab.h (class symbol_searcher): New class.
+
+
+ * linespec.c (struct linespec) <function_symbols, label_symbols>:
+ Change to vector of block_symbol. Update all users.
+ (struct collect_info) <symbols>: Likewise.
+ (collect_info::add_symbol): Take block_symbol as argument.
+ Update all callers.
+ (decode_compound_collector) <m_symbols>: Change type to vector
+ of block_symbol. Update all users.
+ (decode_compound_collector::operator ()): Change parameter type
+ to block_symbol.
+ (find_method, find_function_symbols, find_linespec_symbols)
+ (find_label_symbols_in_block, find_label_symbols): Change symbol
+ vectors to block_symbol vectors.
+ * symtab.h (symbol_found_callback_ftype): Change parameter type to
+ block_symbol.
+
+
+ * linespec.c (symbolp): Remove typedef and VEC definitions.
+ (bound_minimal_symbol_d): Likewise.
+
+
+ * linespec.c (decode_compound_collector::decode_compound_collector):
+ Remove initialization for `m_symtabs'.
+ (decode_compound_collector::release_symbols): Change return type
+ to std::vector. Update all callers.
+ (class decode_compound_collector) <m_symbols>: Change type to
+ std::vector.
+ (lookup_prefix_sym): Change return type to std::vector. Update all
+ callers.
+ (compare_symbols): Remove.
+ (std_compare_symbols): Rename to `compare_symbols'.
+ (find_method): Change `sym_classes' parameter to std::vector.
+ Update all callers. Use std::sort to sort sym_classes.
+ (find_linespec_symbols): Remove cleanup.
+
+
+ * linespec.c (struct linespec) <minimal_symbols>: Change type to
+ std::vector. Update all users.
+ (convert_linespec_to_sals): Use std::sort to sort minimal symbols.
+ (struct collect_info) <minimal_symbols>: Likewise.
+ (compare_msymbols): Return bool. Change parameters to const
+ bound_minimal_symbol references.
+ (find_method, find_function_symbols, find_linespec_symbols): Change
+ `minsyms' parameter to std::vector. Update all callers.
+
+
+ * linespec.c (struct linespec) <label_symbols>: Change type to
+ std::vector. Update all users.
+ (find_label_symbols_in_block): Change `result' parameter to
+ std::vector. Update all callers.
+ (find_label_symbols): Return std::vector. Update all callers.
+
+
+ * linespec.c (struct linespec) <function_symbols>: Change type to
+ std::vector. Update all users.
+ (struct collect_info) <function_symbols>: Likewise.
+ (convert_linespec_to_sals): Use std::sort to sort function_symbols.
+ (std_compare_symbols): New function.
+ (find_method, find_function_symbols, find_linespec_symbols)
+ (find_label_symbols_in_block): Change `symbols' parameter to
+ std::vector. Update all callers.
+ (find_label_symbols): Likewise for `function_symbols' and
+ `label_funcs_ret'.
+
+
+ * linespec.c (symtab_vector_up): Define.
+ (struct linespec) <file_symtabs>: Change type to std::vector *.
+ Update all uses.
+ (struct collect_info) <file_symtabs>: Likewise.
+ (collect_symtabs_from_filename): Return symtab_vector_up.
+ Update all callers.
+ (decode_objc): Remove cleanup.
+ (symtab_collector::symtab_collector): Initialize `m_symtabs'.
+ (symtab_collector::release_symtabs): Return symtab_vector_up.
+ Update all callers.
+ (class symtab_collector) <m_symtabs>: Change type to symtab_vector_up.
+ Update all users.
+ (collect_symtabs_from_filename, symtabs_from_filename): Return
+ symtab_vector_up. Update all callers.
+
+
+ * csky-tdep.c (csky_analyze_prologue): Use
+ core_addr_to_string_nz.
+
+
+ * windows-nat.c (struct xlate_exception) <them>: Change type to
+ DWORD.
+ (xlate): Fix formatting. Remove last entry.
+ (struct xlate_exception, xlate): Comment out.
+ (windows_nat_target::resume): Use ranged for.
+
+
+ * riscv-linux-nat.c: Include elf/common.h instead of elf.h.
+ (riscv_linux_nat_target::fetch_registers): Use NT_FPREGSET instead
+ of NT_PRFPREG.
+ (riscv_linux_nat_target::store_registers): Likewise.
+
+
+ PR gdb/23555
+ PR gdb/23558
+ * gnulib/aclocal.m4: Regenerate.
+ * gnulib/config.in: Regenerate.
+ * gnulib/configure: Regenerate.
+ * gnulib/import/Makefile.am: Update.
+ * gnulib/import/Makefile.in: Update.
+ * gnulib/import/extra/snippet/_Noreturn.h: Rename to...
+ * gnulib/import/_Noreturn.h: ... this.
+ * gnulib/import/alloca.in.h: Update.
+ * gnulib/import/extra/snippet/arg-nonnull.h: Rename to...
+ * gnulib/import/arg-nonnull.h: ... this.
+ * gnulib/import/assure.h: Update.
+ * gnulib/import/at-func.c: Update.
+ * gnulib/import/basename-lgpl.c: Update.
+ * gnulib/import/extra/snippet/c++defs.h: Rename to...
+ * gnulib/import/c++defs.h: ... this.
+ * gnulib/import/canonicalize-lgpl.c: Update.
+ * gnulib/import/cdefs.h: Update.
+ * gnulib/import/chdir-long.c: Update.
+ * gnulib/import/chdir-long.h: Update.
+ * gnulib/import/cloexec.c: Update.
+ * gnulib/import/cloexec.h: Update.
+ * gnulib/import/close.c: Update.
+ * gnulib/import/closedir.c: Update.
+ * gnulib/import/config.charset: Update.
+ * gnulib/import/dirent-private.h: Update.
+ * gnulib/import/dirent.in.h: Update.
+ * gnulib/import/dirfd.c: Update.
+ * gnulib/import/dirname-lgpl.c: Update.
+ * gnulib/import/dirname.h: Update.
+ * gnulib/import/dosname.h: Update.
+ * gnulib/import/dup-safer-flag.c: Update.
+ * gnulib/import/dup-safer.c: Update.
+ * gnulib/import/dup.c: Update.
+ * gnulib/import/dup2.c: Update.
+ * gnulib/import/errno.in.h: Update.
+ * gnulib/import/error.c: Update.
+ * gnulib/import/error.h: Update.
+ * gnulib/import/exitfail.c: Update.
+ * gnulib/import/exitfail.h: Update.
+ * gnulib/import/extra/update-copyright: Update.
+ * gnulib/import/fchdir.c: Update.
+ * gnulib/import/fcntl.c: Update.
+ * gnulib/import/fcntl.in.h: Update.
+ * gnulib/import/fd-hook.c: Update.
+ * gnulib/import/fd-hook.h: Update.
+ * gnulib/import/fd-safer-flag.c: Update.
+ * gnulib/import/fd-safer.c: Update.
+ * gnulib/import/fdopendir.c: Update.
+ * gnulib/import/filename.h: Update.
+ * gnulib/import/filenamecat-lgpl.c: Update.
+ * gnulib/import/filenamecat.h: Update.
+ * gnulib/import/flexmember.h: Update.
+ * gnulib/import/float+.h: Update.
+ * gnulib/import/float.c: Update.
+ * gnulib/import/float.in.h: Update.
+ * gnulib/import/fnmatch.c: Update.
+ * gnulib/import/fnmatch.in.h: Update.
+ * gnulib/import/fnmatch_loop.c: Update.
+ * gnulib/import/fpucw.h: Update.
+ * gnulib/import/frexp.c: Update.
+ * gnulib/import/frexpl.c: Update.
+ * gnulib/import/fstat.c: Update.
+ * gnulib/import/fstatat.c: Update.
+ * gnulib/import/getcwd-lgpl.c: Update.
+ * gnulib/import/getcwd.c: Update.
+ * gnulib/import/getdtablesize.c: Update.
+ * gnulib/import/getlogin_r.c: Update.
+ * gnulib/import/getprogname.c: Update.
+ * gnulib/import/getprogname.h: Update.
+ * gnulib/import/gettext.h: Update.
+ * gnulib/import/gettimeofday.c: Update.
+ * gnulib/import/glob-libc.h: Update.
+ * gnulib/import/glob.c: Update.
+ * gnulib/import/glob.in.h: Update.
+ * gnulib/import/glob_internal.h: Update.
+ * gnulib/import/glob_pattern_p.c: Update.
+ * gnulib/import/globfree.c: Update.
+ * gnulib/import/hard-locale.c: Update.
+ * gnulib/import/hard-locale.h: Update.
+ * gnulib/import/intprops.h: Update.
+ * gnulib/import/inttypes.in.h: Update.
+ * gnulib/import/isnan.c: Update.
+ * gnulib/import/isnand-nolibm.h: Update.
+ * gnulib/import/isnand.c: Update.
+ * gnulib/import/isnanl-nolibm.h: Update.
+ * gnulib/import/isnanl.c: Update.
+ * gnulib/import/itold.c: Update.
+ * gnulib/import/libc-config.h: Update.
+ * gnulib/import/limits.in.h: Update.
+ * gnulib/import/localcharset.c: Update.
+ * gnulib/import/localcharset.h: Update.
+ * gnulib/import/localtime-buffer.c: Update.
+ * gnulib/import/localtime-buffer.h: Update.
+ * gnulib/import/lstat.c: Update.
+ * gnulib/import/m4/00gnulib.m4: Update.
+ * gnulib/import/m4/__inline.m4: Update.
+ * gnulib/import/m4/absolute-header.m4: Update.
+ * gnulib/import/m4/alloca.m4: Update.
+ * gnulib/import/m4/builtin-expect.m4: Update.
+ * gnulib/import/m4/canonicalize.m4: Update.
+ * gnulib/import/m4/chdir-long.m4: Update.
+ * gnulib/import/m4/close.m4: Update.
+ * gnulib/import/m4/closedir.m4: Update.
+ * gnulib/import/m4/configmake.m4: Update.
+ * gnulib/import/m4/d-ino.m4: Update.
+ * gnulib/import/m4/d-type.m4: Update.
+ * gnulib/import/m4/dirent_h.m4: Update.
+ * gnulib/import/m4/dirfd.m4: Update.
+ * gnulib/import/m4/dirname.m4: Update.
+ * gnulib/import/m4/double-slash-root.m4: Update.
+ * gnulib/import/m4/dup.m4: Update.
+ * gnulib/import/m4/dup2.m4: Update.
+ * gnulib/import/m4/eealloc.m4: Update.
+ * gnulib/import/m4/environ.m4: Update.
+ * gnulib/import/m4/errno_h.m4: Update.
+ * gnulib/import/m4/error.m4: Update.
+ * gnulib/import/m4/exponentd.m4: Update.
+ * gnulib/import/m4/exponentl.m4: Update.
+ * gnulib/import/m4/extensions.m4: Update.
+ * gnulib/import/m4/extern-inline.m4: Update.
+ * gnulib/import/m4/fchdir.m4: Update.
+ * gnulib/import/m4/fcntl-o.m4: Update.
+ * gnulib/import/m4/fcntl.m4: Update.
+ * gnulib/import/m4/fcntl_h.m4: Update.
+ * gnulib/import/m4/fdopendir.m4: Update.
+ * gnulib/import/m4/filenamecat.m4: Update.
+ * gnulib/import/m4/flexmember.m4: Update.
+ * gnulib/import/m4/float_h.m4: Update.
+ * gnulib/import/m4/fnmatch.m4: Update.
+ * gnulib/import/m4/fnmatch_h.m4: Update.
+ * gnulib/import/m4/fpieee.m4: Update.
+ * gnulib/import/m4/frexp.m4: Update.
+ * gnulib/import/m4/frexpl.m4: Update.
+ * gnulib/import/m4/fstat.m4: Update.
+ * gnulib/import/m4/fstatat.m4: Update.
+ * gnulib/import/m4/getcwd-abort-bug.m4: Update.
+ * gnulib/import/m4/getcwd-path-max.m4: Update.
+ * gnulib/import/m4/getcwd.m4: Update.
+ * gnulib/import/m4/getdtablesize.m4: Update.
+ * gnulib/import/m4/getlogin.m4: Update.
+ * gnulib/import/m4/getlogin_r.m4: Update.
+ * gnulib/import/m4/getpagesize.m4: Update.
+ * gnulib/import/m4/getprogname.m4: Update.
+ * gnulib/import/m4/gettimeofday.m4: Update.
+ * gnulib/import/m4/glibc21.m4: Update.
+ * gnulib/import/m4/glob.m4: Update.
+ * gnulib/import/m4/glob_h.m4: Update.
+ * gnulib/import/m4/gnulib-cache.m4: Update.
+ * gnulib/import/m4/gnulib-common.m4: Update.
+ * gnulib/import/m4/gnulib-comp.m4: Update.
+ * gnulib/import/m4/gnulib-tool.m4: Update.
+ * gnulib/import/m4/hard-locale.m4: Update.
+ * gnulib/import/m4/include_next.m4: Update.
+ * gnulib/import/m4/inttypes-pri.m4: Update.
+ * gnulib/import/m4/inttypes.m4: Update.
+ * gnulib/import/m4/isnand.m4: Update.
+ * gnulib/import/m4/isnanl.m4: Update.
+ * gnulib/import/m4/largefile.m4: Update.
+ * gnulib/import/m4/limits-h.m4: Update.
+ * gnulib/import/m4/localcharset.m4: Update.
+ * gnulib/import/m4/locale-fr.m4: Update.
+ * gnulib/import/m4/locale-ja.m4: Update.
+ * gnulib/import/m4/locale-zh.m4: Update.
+ * gnulib/import/m4/localtime-buffer.m4: Update.
+ * gnulib/import/m4/longlong.m4: Update.
+ * gnulib/import/m4/lstat.m4: Update.
+ * gnulib/import/m4/malloc.m4: Update.
+ * gnulib/import/m4/malloca.m4: Update.
+ * gnulib/import/m4/math_h.m4: Update.
+ * gnulib/import/m4/mbrtowc.m4: Update.
+ * gnulib/import/m4/mbsinit.m4: Update.
+ * gnulib/import/m4/mbsrtowcs.m4: Update.
+ * gnulib/import/m4/mbstate_t.m4: Update.
+ * gnulib/import/m4/memchr.m4: Update.
+ * gnulib/import/m4/memmem.m4: Update.
+ * gnulib/import/m4/mempcpy.m4: Update.
+ * gnulib/import/m4/memrchr.m4: Update.
+ * gnulib/import/m4/mkdir.m4: Update.
+ * gnulib/import/m4/mkstemp.m4: Update.
+ * gnulib/import/m4/mmap-anon.m4: Update.
+ * gnulib/import/m4/mode_t.m4: Update.
+ * gnulib/import/m4/msvc-inval.m4: Update.
+ * gnulib/import/m4/msvc-nothrow.m4: Update.
+ * gnulib/import/m4/multiarch.m4: Update.
+ * gnulib/import/m4/nocrash.m4: Update.
+ * gnulib/import/m4/off_t.m4: Update.
+ * gnulib/import/m4/onceonly.m4: Update.
+ * gnulib/import/m4/open-cloexec.m4: Update.
+ * gnulib/import/m4/open.m4: Update.
+ * gnulib/import/m4/openat.m4: Update.
+ * gnulib/import/m4/opendir.m4: Update.
+ * gnulib/import/m4/pathmax.m4: Update.
+ * gnulib/import/m4/rawmemchr.m4: Update.
+ * gnulib/import/m4/readdir.m4: Update.
+ * gnulib/import/m4/readlink.m4: Update.
+ * gnulib/import/m4/realloc.m4: Update.
+ * gnulib/import/m4/rename.m4: Update.
+ * gnulib/import/m4/rewinddir.m4: Update.
+ * gnulib/import/m4/rmdir.m4: Update.
+ * gnulib/import/m4/save-cwd.m4: Update.
+ * gnulib/import/m4/secure_getenv.m4: Update.
+ * gnulib/import/m4/setenv.m4: Update.
+ * gnulib/import/m4/signal_h.m4: Update.
+ * gnulib/import/m4/ssize_t.m4: Update.
+ * gnulib/import/m4/stat-time.m4: Update.
+ * gnulib/import/m4/stat.m4: Update.
+ * gnulib/import/m4/std-gnu11.m4: Update.
+ * gnulib/import/m4/stdbool.m4: Update.
+ * gnulib/import/m4/stddef_h.m4: Update.
+ * gnulib/import/m4/stdint.m4: Update.
+ * gnulib/import/m4/stdio_h.m4: Update.
+ * gnulib/import/m4/stdlib_h.m4: Update.
+ * gnulib/import/m4/strchrnul.m4: Update.
+ * gnulib/import/m4/strdup.m4: Update.
+ * gnulib/import/m4/strerror.m4: Update.
+ * gnulib/import/m4/string_h.m4: Update.
+ * gnulib/import/m4/strstr.m4: Update.
+ * gnulib/import/m4/strtok_r.m4: Update.
+ * gnulib/import/m4/sys_socket_h.m4: Update.
+ * gnulib/import/m4/sys_stat_h.m4: Update.
+ * gnulib/import/m4/sys_time_h.m4: Update.
+ * gnulib/import/m4/sys_types_h.m4: Update.
+ * gnulib/import/m4/tempname.m4: Update.
+ * gnulib/import/m4/time_h.m4: Update.
+ * gnulib/import/m4/unistd-safer.m4: Update.
+ * gnulib/import/m4/unistd_h.m4: Update.
+ * gnulib/import/m4/warn-on-use.m4: Update.
+ * gnulib/import/m4/wchar_h.m4: Update.
+ * gnulib/import/m4/wchar_t.m4: Update.
+ * gnulib/import/m4/wctype_h.m4: Update.
+ * gnulib/import/m4/wint_t.m4: Update.
+ * gnulib/import/malloc.c: Update.
+ * gnulib/import/malloc/scratch_buffer.h: Update.
+ * gnulib/import/malloc/scratch_buffer_grow.c: Update.
+ * gnulib/import/malloc/scratch_buffer_grow_preserve.c: Update.
+ * gnulib/import/malloc/scratch_buffer_set_array_size.c: Update.
+ * gnulib/import/malloca.c: Update.
+ * gnulib/import/malloca.h: Update.
+ * gnulib/import/malloca.valgrind: Update.
+ * gnulib/import/math.in.h: Update.
+ * gnulib/import/mbrtowc.c: Update.
+ * gnulib/import/mbsinit.c: Update.
+ * gnulib/import/mbsrtowcs-impl.h: Update.
+ * gnulib/import/mbsrtowcs-state.c: Update.
+ * gnulib/import/mbsrtowcs.c: Update.
+ * gnulib/import/memchr.c: Update.
+ * gnulib/import/memmem.c: Update.
+ * gnulib/import/mempcpy.c: Update.
+ * gnulib/import/memrchr.c: Update.
+ * gnulib/import/mkdir.c: Update.
+ * gnulib/import/mkstemp.c: Update.
+ * gnulib/import/msvc-inval.c: Update.
+ * gnulib/import/msvc-inval.h: Update.
+ * gnulib/import/msvc-nothrow.c: Update.
+ * gnulib/import/msvc-nothrow.h: Update.
+ * gnulib/import/open.c: Update.
+ * gnulib/import/openat-die.c: Update.
+ * gnulib/import/openat-priv.h: Update.
+ * gnulib/import/openat-proc.c: Update.
+ * gnulib/import/openat.c: Update.
+ * gnulib/import/openat.h: Update.
+ * gnulib/import/opendir.c: Update.
+ * gnulib/import/pathmax.h: Update.
+ * gnulib/import/pipe-safer.c: Update.
+ * gnulib/import/rawmemchr.c: Update.
+ * gnulib/import/readdir.c: Update.
+ * gnulib/import/readlink.c: Update.
+ * gnulib/import/realloc.c: Update.
+ * gnulib/import/ref-add.sin: Update.
+ * gnulib/import/ref-del.sin: Update.
+ * gnulib/import/rename.c: Update.
+ * gnulib/import/rewinddir.c: Update.
+ * gnulib/import/rmdir.c: Update.
+ * gnulib/import/same-inode.h: Update.
+ * gnulib/import/save-cwd.c: Update.
+ * gnulib/import/save-cwd.h: Update.
+ * gnulib/import/scratch_buffer.h: Update.
+ * gnulib/import/secure_getenv.c: Update.
+ * gnulib/import/setenv.c: Update.
+ * gnulib/import/signal.in.h: Update.
+ * gnulib/import/stat-time.c: Update.
+ * gnulib/import/stat-time.h: Update.
+ * gnulib/import/stat-w32.c: Update.
+ * gnulib/import/stat-w32.h: Update.
+ * gnulib/import/stat.c: Update.
+ * gnulib/import/stdbool.in.h: Update.
+ * gnulib/import/stddef.in.h: Update.
+ * gnulib/import/stdint.in.h: Update.
+ * gnulib/import/stdio.in.h: Update.
+ * gnulib/import/stdlib.in.h: Update.
+ * gnulib/import/str-two-way.h: Update.
+ * gnulib/import/strchrnul.c: Update.
+ * gnulib/import/strdup.c: Update.
+ * gnulib/import/streq.h: Update.
+ * gnulib/import/strerror-override.c: Update.
+ * gnulib/import/strerror-override.h: Update.
+ * gnulib/import/strerror.c: Update.
+ * gnulib/import/string.in.h: Update.
+ * gnulib/import/stripslash.c: Update.
+ * gnulib/import/strnlen1.c: Update.
+ * gnulib/import/strnlen1.h: Update.
+ * gnulib/import/strstr.c: Update.
+ * gnulib/import/strtok_r.c: Update.
+ * gnulib/import/sys_stat.in.h: Update.
+ * gnulib/import/sys_time.in.h: Update.
+ * gnulib/import/sys_types.in.h: Update.
+ * gnulib/import/tempname.c: Update.
+ * gnulib/import/tempname.h: Update.
+ * gnulib/import/time.in.h: Update.
+ * gnulib/import/unistd--.h: Update.
+ * gnulib/import/unistd-safer.h: Update.
+ * gnulib/import/unistd.in.h: Update.
+ * gnulib/import/unsetenv.c: Update.
+ * gnulib/import/verify.h: Update.
+ * gnulib/import/extra/snippet/warn-on-use.h: Update.
+ * gnulib/import/wchar.in.h: Update.
+ * gnulib/import/wctype.in.h: Update.
+ * gnulib/import/xalloc-oversized.h: Update.
+ * gnulib/update-gnulib.sh (GNULIB_COMMIT_SHA1): Set to
+ "53e2c179f26a890fa6685af4b6c1397ee370433b".
+
+
+ PR gdb/13000:
+ * gdb/main.c (captured_main_1): Exit with nonzero status
+ in batch mode if the last command to be executed failed.
+ * NEWS: Mention the above.
+
+
+ * csky-tdep.c (csky_memory_insert_breakpoint): Remove newline at
+ end of warning message.
+
+
+ PR gdb/22943:
+ * aarch64-tdep.c (is_hfa_or_hva): Remove function.
+ (aarch64_extract_return_value): Use
+ aapcs_is_vfp_call_or_return_candidate.
+ (aarch64_return_in_memory): Likewise.
+ (aarch64_store_return_value): Likewise.
+
+
+ * aarch64-tdep.c
+ (aapcs_is_vfp_call_or_return_candidate): Make static
+ (pass_in_v_or_stack): Remove function.
+ (pass_in_v_vfp_candidate): New function.
+ (aarch64_push_dummy_call): Check for float register candidates.
+
+
+ * aarch64-tdep.c (HA_MAX_NUM_FLDS): New macro.
+ (aapcs_is_vfp_call_or_return_candidate_1): New function.
+ (aapcs_is_vfp_call_or_return_candidate): Likewise.
+
+
+ PR build/23399
+ * common/agent.c (IPA_SYM_STRUCT_NAME): Define.
+ (struct ipa_sym_addresses): Rename to...
+ (struct ipa_sym_addresses_common): ... this.
+ * common/agent.h (IPA_SYM): Use IPA_SYM_STRUCT_NAME.
+
+
+ * c-exp.y (struct token_and_value): Remove typedef and DEF_VEC.
+ (token_fifo): Now a std::vector.
+ (yylex, c_parse): Update.
+ * d-exp.y (struct token_and_value): Remove typedef and DEF_VEC.
+ (token_fifo): Now a std::vector.
+ (yylex, d_parse): Update.
+ * go-exp.y (struct token_and_value): Remove typedef and DEF_VEC.
+ (token_fifo): Now a std::vector.
+ (yylex, go_parse): Update.
+
+
+ * parser-defs.h (struct type_stack) <elements>: Change type to
+ std::vector<union type_stack_elt>.
+ <depth, size>: Remove.
+ * parse.c (parse_exp_in_context_1): Adjust.
+ (type_stack_reserve): Remove.
+ (check_type_stack_depth): Remove.
+ (insert_into_type_stack): Adjust to std::vector.
+ (insert_type): Likewise.
+ (push_type): Likewise.
+ (push_type_int): Likewise.
+ (insert_type_address_space): Likewise.
+ (pop_type): Likewise.
+ (pop_type_int): Likewise.
+ (pop_typelist): Likewise.
+ (pop_type_stack): Likewise.
+ (append_type_stack): Likewise.
+ (push_type_stack): Likewise.
+ (get_type_stack): Likewise.
+ (type_stack_cleanup): Likewise.
+ (push_typelist): Likewise.
+ (follow_types): Likewise.
+ (_initialize_parse): Likewise.
+
+
+ * NEWS: Mention csky target.
+
+
+ * csky-linux-tdep.c: New file.
+ * csky-tdep.c: Likewise.
+ * csky-tdep.h: Likewise.
+ * Makefile.in (ALL_TARGET_OBS): Add csky-linux-tdep.o and
+ csky-tdep.o.
+ (HFILES_NO_SRCDIR): Add csky-tdep.h.
+ (ALLDEPFILES): Add csky-linux-tdep.c and csky-tdep.c
+ * configure.tgt: Add csky support.
+
+
+ * python/py-framefilter.c (py_print_frame): Print frame architecture
+ when printing on an MI output.
+
+
+ PR build/23087:
+ * configure: Rebuild.
+ * warning.m4 (AM_GDB_WARNINGS): Remove -Wno-narrowing.
+
+
+ * aarch64-linux-tdep.c
+ (aarch64_linux_iterate_over_regset_sections) <sve_regmap>: Add
+ casts to int.
+
+
+ * ppc64-tdep.c (insn_d, insn_ds, insn_xfx): Add casts to
+ unsigned.
+ (ppc64_standard_linkage1, ppc64_standard_linkage2)
+ (ppc64_standard_linkage3, ppc64_standard_linkage4)
+ (ppc64_standard_linkage5, ppc64_standard_linkage6)
+ (ppc64_standard_linkage7, ppc64_standard_linkage8): Add casts to
+ unsigned.
+
+
+ * xtensa-tdep.h (XTREG_END): Add cast to unsigned.
+ (XTENSA_GDBARCH_TDEP_INSTANTIATE): Likewise.
+
* tramp-frame.h (TRAMP_SENTINEL_INSN): Redefine.