+2021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * cli/cli-decode.h (cmd_list_element) <is_command_class_help>:
+ New, use it.
+ * command.h (cmd_func_p): Remove.
+ * cli/cli-decode.c (cmd_func_p): Remove.
+
+2021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * cli/cli-decode.h (cmd_list_element) <is_alias>: New, use it.
+
+2021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * cli/cli-decode.h (cmd_list_element) <cmd_pointer>: Rename
+ to...
+ <alias_target>: ... this.
+ (add_alias_cmd): Rename old to target.
+ (add_info_alias): Rename old_name to target_name.
+ (add_com_alias): Likewise.
+
+2021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Rename "prefixlist" parameters to "subcommands" throughout.
+ * cli/cli-decode.h (cmd_list_element) <prefixlist>: Rename to...
+ <subcommands>: ... this.
+ * cli/cli-decode.c (lookup_cmd_for_prefixlist): Rename to...
+ (lookup_cmd_with_subcommands): ... this.
+
+2021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * cli/cli-decode.c (add_alias_cmd): Don't handle old == 0.
+
+2021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * cli/cli-decode.h (prefixname): Make const, move implementation
+ to cli/cli-decode.c.
+ * cli/cli-decode.c (cmd_list_element::prefixname): New.
+
+2021-05-16 Weimin Pan <weimin.pan@oracle.com>
+
+ * ctfread.c (new_symbol): Set function address.
+ (read_func_kind_type): Remove incorrect type name setting.
+ Don't copy name returned from ctf_type_ame_raw throughout file.
+
+2021-05-14 Tom Tromey <tom@tromey.com>
+
+ * rust-lang.c (rust_language::val_print_struct)
+ (rust_language::print_enum): Use common_val_print, not
+ value_print_inner.
+
+2021-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ * python/py-inferior.c (infpy_get_connection_num): New function.
+ (inferior_object_getset): Add a new element for 'connection_num'.
+ * NEWS: Mention the 'connection_num' attribute of Inferior objects.
+
+2021-05-14 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * remote.c (check_pending_events_prevent_wildcard_vcont): Change
+ argument type, update and re-wrap, header comment.
+ (remote_target::commit_resumed): Convert any_process_wildcard and
+ may_global_wildcard_vcont from int to bool.
+
+2021-05-14 Kent Cheung <kent.cheung@arm.com>
+
+ * cp-valprint.c (cp_print_value): Replaced duplicate code.
+ * guile/scm-pretty-print.c (ppscm_print_children): Check max_depth
+ just before printing child values.
+ (gdbscm_apply_val_pretty_printer): Don't check max_depth before
+ printing string representation.
+ * python/py-prettyprint.c (print_children): Check max_depth just
+ before printing child values.
+ (gdbpy_apply_val_pretty_printer): Don't check max_depth before
+ printing string representation.
+
+2021-05-14 Mike Frysinger <vapier@gentoo.org>
+
+ * remote-sim.c: Change gdb/callback.h & gdb/remote-sim.h includes to
+ sim/callback.h & sim/sim.h.
+
+2021-05-13 Mike Frysinger <vapier@gentoo.org>
+
+ * lm32-tdep.c: Delete gdb/callback.h, gdb/remote-sim.h, and
+ sim-regno.h include.
+
+2021-05-13 Simon Marchi <simon.marchi@efficios.com>
+
+ * inf-child.h (inf_child_target) <follow_exec>: New.
+ * inf-child.c (inf_child_target::follow_exec): New.
+
+2021-05-13 Simon Marchi <simon.marchi@efficios.com>
+
+ * target.h (struct target_ops) <follow_exec>: Add ptid_t
+ parameter.
+ (target_follow_exec): Likewise.
+ * target.c (target_follow_exec): Add ptid_t parameter.
+ * infrun.c (follow_exec): Adjust call to target_follow_exec,
+ don't push target nor create thread.
+ * linux-thread-db.c (class thread_db_target) <follow_exec>: New.
+ (thread_db_target::wait): Just return on TARGET_WAITKIND_EXECD.
+ (thread_db_target::follow_exec): New.
+ * remote.c (class remote_target) <follow_exec>: Add ptid_t parameter.
+ (remote_target::follow_exec): Call
+ process_stratum_target::follow_exec.
+ * target-delegates.c: Re-generate.
+
+2021-05-13 Simon Marchi <simon.marchi@efficios.com>
+
+ * infrun.c (follow_exec): Call target_follow_fork when
+ follow-exec-mode is same.
+ * target.h (target_follow_fork): Improve doc.
+
+2021-05-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * cli/cli-decode.h (struct cmd_list_element) <pre_show_hook>:
+ Remove.
+ * cli/cli-setshow.c (do_show_command): Adjust.
+
+2021-05-13 Luis Machado <luis.machado@linaro.org>
+
+ * arch/aarch64-mte-linux.c (aarch64_mte_get_tag_granules): Don't
+ include the last address in the range.
+
+2021-05-12 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * python/python-internal.h (gdbpy_parse_command_name): Return
+ gdb::unique_xmalloc_ptr.
+ * python/py-cmd.c (gdbpy_parse_command_name): Likewise.
+ (cmdpy_init): Adjust.
+ * python/py-param.c (parmpy_init): Adjust.
+ (add_setshow_generic): Take gdb::unique_xmalloc_ptr, release it
+ when done.
+
+2021-05-12 George Barrett <bob@bob131.so>
+
+ * NEWS (Guile API): Note the addition of the new procedure.
+ * guile/scm-value.c (gdbscm_value_const_value): Add
+ implementation of value-const-value procedure.
+ (value_functions): Add value-const-value procedure.
+
+2021-05-12 George Barrett <bob@bob131.so>
+
+ * NEWS (Guile API): Note the addition of new procedures.
+ * guile/scm-value.c (gdbscm_reference_value): Add helper function
+ for reference value creation.
+ (gdbscm_value_reference_value): Add implementation of
+ value-reference-value procedure.
+ (gdbscm_value_rvalue_reference_value): Add implementation of
+ value-rvalue-reference-value procedure.
+ (value_functions): Add value-reference-value procedure. Add
+ value-rvalue-reference-value procedure.
+
+2021-05-12 George Barrett <bob@bob131.so>
+
+ * guile/scm-type.c (type_integer_constants): Add binding for
+ TYPE_CODE_RVALUE_REF.
+ * guile/scm-value.c (gdbscm_value_referenced_value): Handle
+ dereferencing of rvalue references.
+ * NEWS (Guile API): Note improvements in rvalue reference support.
+
+2021-05-12 Markus Metzger <markus.t.metzger@intel.com>
+
+ * btrace.c (handle_pt_insn_events): Ignore status update enable
+ events.
+
+2021-05-11 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * arm-tdep.c (arm_record_data_proc_misc_ld_str): Fix
+ indentation.
+
+2021-05-11 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * cli/cli-decode.h (struct cmd_list_element): Fix indentation.
+
+2021-05-10 Lancelot Six <lsix@lancelotsix.com>
+
+ PR gdb/27614
+ * contrib/gdb-add-index.sh: Fix when called with a symlink as an
+ argument.
+
+2021-05-10 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * nat/linux-waitpid.c (status_to_str): Show signal name.
+
+2021-05-09 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * python/py-breakpoint.c (pybp_debug): New static global.
+ (show_pybp_debug): New function.
+ (pybp_debug_printf): Define.
+ (PYBP_SCOPED_DEBUG_ENTER_EXIT): Define.
+ (gdbpy_breakpoint_created): Add some debugging.
+ (gdbpy_breakpoint_deleted): Likewise.
+ (gdbpy_breakpoint_modified): Likewise.
+ (_initialize_py_breakpoint): New function.
+
+2021-05-09 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * python/py-unwind.c (pyuw_debug): Convert to bool.
+ (show_pyuw_debug): New function.
+ (pyuw_debug_printf): Define.
+ (PYUW_SCOPED_DEBUG_ENTER_EXIT): Define.
+ (pyuw_this_id): Convert to new debug print macros.
+ (pyuw_prev_register): Likewise.
+ (pyuw_sniffer): Likewise.
+ (pyuw_dealloc_cache): Likewise.
+ (_initialize_py_unwind): Update now pyuw_debug is a bool, and add
+ show function when registering.
+
+2021-05-09 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * dummy-frame.c (fprint_dummy_frames): Convert use of
+ fprint_frame_id to use frame_id::to_string.
+ * frame.c (fprint_field): Delete.
+ (fprint_frame_id): Moved to...
+ (frame_id::to_string): ...this, rewritten to return a string.
+ (fprint_frame): Convert use of fprint_frame_id to use
+ frame_id::to_string.
+ (compute_frame_id): Likewise.
+ (frame_id_p): Likewise.
+ (frame_id_eq): Likewise.
+ (frame_id_inner): Likewise.
+ * frame.h (struct frame_id) <to_string>: New member function.
+ (fprint_frame_id): Delete declaration.
+ * guile/scm-frame.c (frscm_print_frame_smob): Convert use of
+ fprint_frame_id to use frame_id::to_string.
+ * python/py-frame.c (frame_object_to_frame_info): Likewise.
+ * python/py-unwind.c (unwind_infopy_str): Likewise.
+ (pyuw_this_id): Likewise.
+
+2021-05-08 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * nat/linux-waitpid.c (status_to_str): Return std::string.
+ * nat/linux-waitpid.h (status_to_str): Likewise.
+ * linux-nat.c (linux_nat_post_attach_wait): Adjust.
+ (linux_nat_target::attach): Adjust.
+ (linux_handle_extended_wait): Adjust.
+ (wait_lwp): Adjust.
+ (stop_wait_callback): Adjust.
+ (linux_nat_filter_event): Adjust.
+ (linux_nat_wait_1): Adjust.
+ * nat/linux-waitpid.c (status_to_str): Adjust.
+ * nat/linux-waitpid.h (status_to_str): Adjust.
+
+2021-05-08 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * infrun.h (infrun_debug_printf): Add missing space.
+
+2021-05-08 Pedro Alves <pedro@palves.net>
+
+ * linux-nat.c (linux_nat_target::supports_disable_randomization):
+ Remove references to HAVE_PERSONALITY.
+ * nat/linux-personality.c: Remove references to HAVE_PERSONALITY.
+ (maybe_disable_address_space_randomization)
+ (~maybe_disable_address_space_randomizatio): Remove references to
+ HAVE_PERSONALITY.
+ * config.in, configure: Regenerate.
+
+2021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * cli/cli-cmds.c: Add 'gdbsupport/gdb_tilde_expand.h'
+ include.
+ (source_script_with_search): Perform tilde expansion.
+
+2021-05-07 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * target-descriptions.c (struct target_desc_info) <filename>:
+ Make std::string.
+ (copy_inferior_target_desc_info): Adjust.
+ (target_desc_info_free): Adjust.
+ (target_find_description): Adjust.
+ (set_tdesc_filename_cmd): Adjust.
+ (show_tdesc_filename_cmd): Adjust.
+ (unset_tdesc_filename_cmd): Adjust.
+ (maint_print_c_tdesc_cmd): Adjust.
+
+2021-05-07 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * target-descriptions.c (struct target_desc_info): Initialize
+ fields.
+ (get_tdesc_info): Use new.
+ (target_desc_info_free): Use delete.
+
+2021-05-07 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * target-descriptions.c (struct target_desc_info) <fetched>:
+ bool.
+ (target_find_description): Adjust.
+ (target_clear_description): Adjust.
+
+2021-05-07 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * target-descriptions.c (struct target_desc_info) <tdesc>:
+ Adjust doc.
+ (target_desc_fetched): Remove.
+ (current_target_desc): Remove.
+ (target_description_filename): Remove.
+ (target_find_description): Adjust.
+ (target_clear_description): Adjust.
+ (target_current_description): Adjust.
+ (set_tdesc_filename_cmd): Adjust.
+ (show_tdesc_filename_cmd): Adjust.
+ (unset_tdesc_filename_cmd): Adjust.
+ (maint_print_c_tdesc_cmd): Adjust.
+ (maint_print_xml_tdesc_cmd): Adjust.
+
+2021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * infcmd.c (notice_new_inferior): Change parameter type.
+ * inferior.h (notice_new_inferior): Change parameter type.
+ * remote.c (remote_notice_new_inferior): Change parameter type to
+ bool. Also update type of local variable to bool.
+ (remote_target::update_thread_list): Change type of local variable
+ to bool.
+ (remote_target::process_stop_reply): Pass bool instead of int to
+ remote_notice_new_inferior.
+
+2021-05-07 Simon Marchi <simon.marchi@efficios.com>
+
+ * target.c (target_stack::unpush): Call target_ops::find_beneath
+ to get the target beneath `t`.
+
+2021-05-07 Simon Marchi <simon.marchi@efficios.com>
+
+ * target.c (target_close): Check in all inferiors that the
+ target is not pushed.
+
+2021-05-07 Aaron Merey <amerey@redhat.com>
+
+ * debuginfod-support.c (debuginfod_init): Remove.
+ (get_debuginfod_client): New function.
+
+2021-05-07 Tom Tromey <tom@tromey.com>
+
+ * breakpoint.c (ambiguous_names_p): Use htab_eq_string.
+ * utils.c (streq_hash): Remove.
+ * utils.h (streq_hash): Don't declare.
+ * completer.c (completion_tracker::discard_completions): Update
+ comment.
+ * ada-lang.c (_initialize_ada_language): Use htab_eq_string.
+
+2021-05-07 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Re-format all Python files using black.
+
+2021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * guile/guile-internal.h (gdbscm_safe_source_script): Change
+ function return type.
+ * guile/guile.c (gdbscm_source_script): Update to handle change in
+ gdbscm_safe_source_script.
+ * guile/scm-objfile.c (gdbscm_source_objfile_script): Likewise.
+ * guile/scm-safe-call.c (gdbscm_safe_source_script): Change return
+ type.
+
+2021-05-06 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * inferior.h (class inferior) <args>: Change type to
+ unique_xmalloc_ptr.
+ * inferior.c (inferior::~inferior): Don't free args.
+ * infcmd.c (get_inferior_args): Adjust.
+ (set_inferior_args): Adjust.
+
+2021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * guile/scm-breakpoint.c (bpscm_print_breakpoint_smob): Only print
+ breakpoint locations when the breakpoint actually has a location.
+
+2021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ * mi/mi-cmd-break.c (mi_cmd_break_condition): New function.
+ * mi/mi-cmds.c: Change the binding of "-break-condition" to
+ mi_cmd_break_condition.
+ * mi/mi-cmds.h (mi_cmd_break_condition): Declare.
+ * breakpoint.h (set_breakpoint_condition): Declare a new
+ overload.
+ * breakpoint.c (set_breakpoint_condition): New overloaded function
+ extracted out from ...
+ (condition_command): ... this.
+ * NEWS: Mention the change.
+
+2021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ * mi/mi-cmd-break.c (mi_cmd_break_insert_1): Recognize the
+ '--force-condition' flag to force the condition in the
+ '-break-insert' and '-dprintf-insert' commands.
+ * NEWS: Mention the change.
+
+2021-05-04 Tom de Vries <tdevries@suse.de>
+
+ PR guile/27806
+ * guile/guile.c (gdbscm_initialize): Don't let guile change libgmp
+ memory functions.
+
+2021-04-30 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (dwarf2_initialize_objfile): Update.
+ (add_signatured_type_cu_to_table): Remove.
+ (create_debug_type_hash_table): Assume dwo_file is non-null.
+ (create_debug_types_hash_table): Update comment.
+ (create_all_type_units): Remove.
+ (sort_tu_by_abbrev_offset): Update comment.
+ (build_type_psymtabs): Rename from build_type_psymtabs_1.
+ (build_type_psymtabs): Remove.
+ (process_skeletonless_type_unit, dwarf2_build_psymtabs_hard):
+ Update.
+ (read_comp_units_from_section): Add types_htab, section_kind
+ parameters.
+ (create_all_comp_units): Read type units.
+
+2021-04-30 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.h (struct tu_stats) <nr_tus>: New member.
+ (struct dwarf2_per_bfd) <get_cutu, get_tu>: Remove
+ <get_cu>: Now inline.
+ <all_type_units>: Remove.
+ * dwarf2/read.c (dwarf2_per_bfd::~dwarf2_per_bfd): Update.
+ (dwarf2_per_bfd::get_cutu, dwarf2_per_bfd::get_cu)
+ (dwarf2_per_bfd::get_tu): Remove.
+ (dwarf2_per_bfd::allocate_signatured_type): Update nr_tus.
+ (create_signatured_type_table_from_index)
+ (create_signatured_type_table_from_debug_names)
+ (dw2_symtab_iter_next, dwarf2_base_index_functions::print_stats)
+ (dwarf2_base_index_functions::expand_all_symtabs)
+ (dw2_expand_marked_cus, dw_expand_symtabs_matching_file_matcher)
+ (dwarf2_base_index_functions::map_symbol_filenames)
+ (dw2_debug_names_iterator::next, dwarf2_initialize_objfile)
+ (add_signatured_type_cu_to_table, create_all_type_units)
+ (add_type_unit, build_type_psymtabs_1, print_tu_stats)
+ (create_all_comp_units): Update.
+ * dwarf2/index-write.c (check_dwarf64_offsets, write_gdbindex)
+ (write_debug_names): Update.
+
+2021-04-30 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.h (struct dwarf2_per_bfd) <allocate_per_cu,
+ allocate_signatured_type>: Change return type.
+ <all_comp_units, all_type_units>: Hold unique pointers.
+ (struct dwarf2_per_cu_data): Add constructor and initializers.
+ (struct signatured_type): Derive from dwarf2_per_cu_data.
+ * dwarf2/read.c (type_unit_group): Derive from
+ dwarf2_per_cu_data.
+ (dwarf2_per_bfd::get_cutu, dwarf2_per_bfd::get_cu)
+ (dwarf2_per_bfd::get_tu)
+ (dwarf2_per_bfd::allocate_signatured_type)
+ (dwarf2_per_bfd::allocate_signatured_type)
+ (create_cu_from_index_list, create_cus_from_index_list)
+ (create_signatured_type_table_from_index)
+ (create_signatured_type_table_from_debug_names)
+ (create_addrmap_from_aranges)
+ (dwarf2_base_index_functions::find_last_source_symtab)
+ (dw_expand_symtabs_matching_file_matcher)
+ (dwarf2_gdb_index::expand_symtabs_matching)
+ (dwarf2_base_index_functions::map_symbol_filenames)
+ (create_cus_from_debug_names_list)
+ (dw2_debug_names_iterator::next)
+ (dwarf2_debug_names_index::expand_symtabs_matching)
+ (create_debug_type_hash_table, add_type_unit)
+ (fill_in_sig_entry_from_dwo_entry, lookup_dwo_signatured_type):
+ Update.
+ (allocate_type_unit_groups_table): Use delete.
+ (create_type_unit_group): Change return type. Use new.
+ (get_type_unit_group, build_type_psymtabs_1)
+ (build_type_psymtab_dependencies)
+ (process_skeletonless_type_unit, set_partial_user)
+ (dwarf2_build_psymtabs_hard, read_comp_units_from_section)
+ (create_cus_hash_table, queue_and_load_dwo_tu, follow_die_sig_1)
+ (read_signatured_type): Update.
+ (dwarf2_find_containing_comp_unit): Change type of
+ 'all_comp_units'.
+ (run_test): Update.
+ (dwarf2_per_bfd::allocate_per_cu)
+ (dwarf2_per_bfd::allocate_signatured_type): Change return type.
+ Use new.
+ (add_signatured_type_cu_to_table): Update.
+ * dwarf2/index-write.c (write_one_signatured_type)
+ (check_dwarf64_offsets, psyms_seen_size, write_gdbindex)
+ (write_debug_names): Update.
+
+2021-04-30 Tom Tromey <tromey@adacore.com>
+
+ * nat/windows-nat.h (get_image_name): Don't declare.
+ * nat/windows-nat.c (get_image_name): Now static.
+
+2021-04-30 Tom Tromey <tromey@adacore.com>
+
+ * windows-nat.c (windows_nat::handle_load_dll): Update.
+ (windows_nat_target::get_windows_debug_event): Call
+ dll_loaded_event.
+ (windows_add_all_dlls, windows_add_dll): Move to
+ nat/windows-nat.c.
+ * nat/windows-nat.h (handle_load_dll): Change parameters.
+ (dll_loaded_event, windows_add_all_dlls): Declare.
+ * nat/windows-nat.c (windows_add_dll, windows_add_all_dlls): Move
+ from windows-nat.c.
+ (dll_loaded_event): New function.
+
+2021-04-30 Tom Tromey <tromey@adacore.com>
+
+ * nat/windows-nat.h (GenerateConsoleCtrlEvent): New define.
+ (GenerateConsoleCtrlEvent_ftype, GenerateConsoleCtrlEvent):
+ Declare.
+ * nat/windows-nat.c (GenerateConsoleCtrlEvent): Define.
+ (initialize_loadable): Initialize GenerateConsoleCtrlEvent.
+
+2021-04-30 Tom Tromey <tromey@adacore.com>
+
+ * windows-nat.c: Move code to nat/windows-nat.[ch].
+ (_initialize_windows_nat): Call initialize_loadable.
+ * nat/windows-nat.h (AdjustTokenPrivileges)
+ (DebugActiveProcessStop, DebugBreakProcess)
+ (DebugSetProcessKillOnExit, EnumProcessModules)
+ (EnumProcessModulesEx, GetModuleInformation)
+ (GetModuleFileNameExA, GetModuleFileNameExW)
+ (LookupPrivilegeValueA, OpenProcessToken, GetConsoleFontSize)
+ (GetCurrentConsoleFont, Wow64SuspendThread)
+ (Wow64GetThreadContext, Wow64SetThreadContext)
+ (Wow64GetThreadSelectorEntry): Move from windows-nat.c.
+ (AdjustTokenPrivileges_ftype)
+ (DebugActiveProcessStop_ftype, DebugBreakProcess_ftype)
+ (DebugSetProcessKillOnExit_ftype, EnumProcessModules_ftype)
+ (EnumProcessModulesEx_ftype, GetModuleInformation_ftype)
+ (GetModuleFileNameExA_ftype, GetModuleFileNameExW_ftype)
+ (LookupPrivilegeValueA_ftype, OpenProcessToken_ftype)
+ (GetConsoleFontSize_ftype)
+ (GetCurrentConsoleFont_ftype, Wow64SuspendThread_ftype)
+ (Wow64GetThreadContext_ftype, Wow64SetThreadContext_ftype)
+ (Wow64GetThreadSelectorEntry_ftype): Likewise.
+ (initialize_loadable): Declare.
+ * nat/windows-nat.c (AdjustTokenPrivileges)
+ (DebugActiveProcessStop, DebugBreakProcess)
+ (DebugSetProcessKillOnExit, EnumProcessModules)
+ (EnumProcessModulesEx, GetModuleInformation, GetModuleFileNameExA)
+ (GetModuleFileNameExW, LookupPrivilegeValueA, OpenProcessToken)
+ (GetCurrentConsoleFont, GetConsoleFontSize, Wow64SuspendThread)
+ (Wow64GetThreadContext, Wow64SetThreadContext)
+ (Wow64GetThreadSelectorEntry): Define.
+ (bad, bad_GetCurrentConsoleFont, bad_GetConsoleFontSize): Move
+ from windows-nat.c.
+ (initialize_loadable): Likewise, and rename.
+
+2021-04-30 Tom Tromey <tromey@adacore.com>
+
+ * windows-nat.c (bad_GetModuleFileNameEx): Remove define.
+ (bad_DebugActiveProcessStop, bad_DebugBreakProcess)
+ (bad_DebugSetProcessKillOnExit, bad_EnumProcessModules)
+ (bad_GetModuleFileNameExW, bad_GetModuleFileNameExA)
+ (bad_GetModuleInformation, bad_OpenProcessToken): Remove.
+ (bad): New template functions.
+ (_initialize_loadable): Update.
+
+2021-04-30 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.c (ada_index_type): Use ada_check_typedef.
+
+2021-04-29 Simon Marchi <simon.marchi@efficios.com>
+
+ * auto-load.h: Split namespace declaration.
+
+2021-04-29 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * infrun.c (save_waitstatus): Move variables to inner scope.
+
2021-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
* NEWS: Fix typo and stray full stop.