]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
Initial TUI mouse support
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index d564621f4c64784f92656c9a3d79a5ded42406c3..fca6750de384a6d6199aa11216e2a5fbec788ea2 100644 (file)
@@ -1,3 +1,607 @@
+2021-06-04  Hannes Domani  <ssbssa@yahoo.de>
+
+       * ser-mingw.c (console_select_thread): Handle MOUSE_EVENT.
+       * tui/tui-data.h (struct tui_win_info): Add click function.
+       * tui/tui-io.c (tui_prep_terminal): Enable mouse events.
+       (tui_deprep_terminal): Disable mouse events.
+       (tui_dispatch_ctrl_char): Handle KEY_MOUSE.
+       * tui/tui.c (tui_disable): Disable mouse events.
+
+2021-06-03  Magne Hov  <mhov@undo.io>
+
+       PR python/27841
+       * eval.c (expression::evaluate): Check inferior_ptid.
+
+2021-06-03  Pedro Alves  <pedro@palves.net>
+
+       * MAINTAINERS (The Official FSF-appointed GDB Maintainers): Remove
+       affiliation.
+       (Global Maintainers): Update my address.
+       (Write After Approval): Remove stale entry.
+
+2021-06-03  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-tdep.c (FBSD_SI_USER, FBSD_SI_QUEUE, FBSD_SI_TIMER)
+       (FBSD_SI_ASYNCIO, FBSD_SI_MESGQ, FBSD_SI_KERNEL, FBSD_SI_LWP)
+       (FBSD_ILL_ILLOPC, FBSD_ILL_ILLOPN, FBSD_ILL_ILLADR)
+       (FBSD_ILL_ILLTRP, FBSD_ILL_PRVOPC, FBSD_ILL_PRVREG)
+       (FBSD_ILL_COPROC, FBSD_ILL_BADSTK, FBSD_BUS_ADRALN)
+       (FBSD_BUS_ADRERR, FBSD_BUS_OBJERR, FBSD_BUS_OOMERR)
+       (FBSD_SEGV_MAPERR, FBSD_SEGV_ACCERR, FBSD_SEGV_PKUERR)
+       (FBSD_FPE_INTOVF, FBSD_FPE_INTDIV, FBSD_FPE_FLTDIV)
+       (FBSD_FPE_FLTOVF, FBSD_FPE_FLTUND, FBSD_FPE_FLTRES)
+       (FBSD_FPE_FLTINV, FBSD_FPE_FLTSUB, FBSD_TRAP_BRKPT)
+       (FBSD_TRAP_TRACE, FBSD_TRAP_DTRACE, FBSD_TRAP_CAP)
+       (FBSD_CLD_EXITED, FBSD_CLD_KILLED, FBSD_CLD_DUMPED)
+       (FBSD_CLD_TRAPPED, FBSD_CLD_STOPPED, FBSD_CLD_CONTINUED)
+       (FBSD_POLL_IN, FBSD_POLL_OUT, FBSD_POLL_MSG, FBSD_POLL_ERR)
+       (FBSD_POLL_PRI, FBSD_POLL_HUP, fbsd_signal_cause)
+       (fbsd_report_signal_info): New.
+       (fbsd_init_abi): Use fbsd_report_signal_info as gdbarch
+       report_signal_info method.
+
+2021-06-03  Magne Hov  <mhov@undo.io>
+
+       * MAINTAINERS (Write After Approval): Add Magne Hov.
+
+2021-06-03  Hannes Domani  <ssbssa@yahoo.de>
+
+       * python/py-symbol.c (gdbpy_initialize_symbols): Restore
+       gdb.SYMBOL_LABEL_DOMAIN constant.
+
+2021-06-01  John Baldwin  <jhb@FreeBSD.org>
+
+       * infrun.c (handle_inferior_event): Only call
+       gdbarch_displaced_step_restore_all_in_ptid if
+       gdbarch_supports_displaced_stepping is true.
+
+2021-06-01  Tom Tromey  <tromey@adacore.com>
+
+       * Makefile.in (all-data-directory): Remove.
+       (data-directory/Makefile): Remove.
+
+2021-06-01  Tom Tromey  <tromey@adacore.com>
+
+       * configure: Rebuild.
+       * configure.ac: Use AS_HELP_STRING for enable-shared.  Fix typo.
+
+2021-06-01  Tom Tromey  <tromey@adacore.com>
+
+       * silent-rules.mk (ECHO_CC): New variable.
+
+2021-06-01  Tom Tromey  <tromey@adacore.com>
+
+       * Makefile.in (SUBDIRS): Add testsuite.
+       (all): Don't exclude testsuite.
+
+2021-06-01  Tom Tromey  <tromey@adacore.com>
+
+       * configure.ac: Copy some code from testsuite/configure.ac.
+       (enable_libctf): Subst this, not ENABLE_LIBCTF.
+       * configure: Rebuild.
+
+2021-06-01  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/26096
+       * minsyms.c (msymbol_is_cold_clone): New function.
+       (msymbol_is_function): Use msymbol_is_cold_clone.
+
+2021-06-01  Fredrik Hederstierna  <fredrik@hederstierna.com>
+           Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR gdb/14383
+       * Makefile.in (ALL_TARGET_OBS): Add arm-none-tdep.o.
+       (ALLDEPFILES): Add arm-none-tdep.c
+       * arm-none-tdep.c: New file.
+       * configure.tgt (arm*-*-*): Add arm-none-tdep.o to cpu_obs.
+
+2021-06-01  Andrew Burgess  <andrew.burgess@embecosm.com>
+           Richard Bunt  <richard.bunt@arm.com>
+
+       * breakpoint.c (check_longjmp_breakpoint_for_call_dummy): Add
+       check for why the backtrace stopped.
+
+2021-05-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/read.h (struct structured_type) <signatured_type>: New.
+       Update all callers.
+       (struct dwarf2_per_bfd) <allocate_signatured_type>: Add
+       signature parameter, update all callers.
+       * dwar2/read.c (dwarf2_per_bfd::allocate_signatured_type): Add
+       signature parameter.
+
+2021-05-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/read.h (signatured_type_up): New, use where possible.
+
+2021-05-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/read.h (signatured_type, dwarf2_per_cu_data): Move up.
+
+2021-05-30  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.c (dwarf2_per_bfd::allocate_signatured_type): Set
+       is_debug_types.
+       (create_signatured_type_table_from_index)
+       (create_signatured_type_table_from_debug_names, add_type_unit)
+       (read_comp_units_from_section): Update.
+
+2021-05-30  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.h (struct dwarf2_per_bfd) <num_psymtabs,
+       m_num_psymtabs>: Remove.
+       (resize_symtabs): Update.
+       * dwarf2/read.c (dwarf2_per_bfd::allocate_per_cu)
+       (dwarf2_per_bfd::allocate_signatured_type): Update.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Fix tab after space indentation issues throughout.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Fix some indentation mistakes throughout.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.h (iterate_over_bp_locations): Remove.  Update
+       users to use all_bp_locations.
+       (all_bp_locations): New.
+       * breakpoint.c (all_bp_locations): Make non-static.
+       (iterate_over_bp_locations): Remove.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.h (iterate_over_breakpoints): Remove.  Update
+       callers to use all_breakpoints or all_breakpoints_safe.
+       (breakpoint_range, all_breakpoints, breakpoint_safe_range,
+       all_breakpoints_safe): Move here.
+       * breakpoint.c (all_breakpoints, all_breakpoints_safe): Make
+       non-static.
+       (iterate_over_breakpoints): Remove.
+       * python/py-finishbreakpoint.c (bpfinishpy_detect_out_scope_cb):
+       Return void.
+       * python/py-breakpoint.c (build_bp_list): Add comment, reverse
+       return value logic.
+       * guile/scm-breakpoint.c (bpscm_build_bp_list): Return void.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.c (get_first_locp_gte_addr): Remove.
+       (ALL_BP_LOCATIONS_AT_ADDR): Remove.  Replace all uses with
+       all_bp_locations_at_addr.
+       (struct bp_locations_at_addr_range): New.
+       (all_bp_locations_at_addr): New.
+       (bp_locations_compare_addrs): New.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.c (ALL_BP_LOCATIONS): Remove, update users to use
+       all_bp_locations.
+       (all_bp_locations): New.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.c (bp_locations): Change to std::vector, update all
+       users.
+       (bp_locations_count): Remove.
+       (update_global_location_list): Change to work with indices
+       rather than bp_location**.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.h (bp_locations_range): New.
+       (struct breakpoint) <locations>: New.  Use where possible.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.h (all_tracepoints): Remove.
+       (breakpoint_iterator): Move here.
+       (struct tracepoint_filter): New.
+       (tracepoint_iterator): New.
+       (tracepoint_range): New.
+       (all_tracepoints): New.
+       * breakpoint.c (ALL_TRACEPOINTS): Remove, replace all users with
+       all_tracepoints.
+       (breakpoint_iterator): Move to header.
+       (all_tracepoints): New.
+       * tracepoint.c (start_tracing): Adjust.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.c (breakpoint_safe_range): New.
+       (all_breakpoints_safe): New.  Use instead of
+       ALL_BREAKPOINTS_SAFE where possible.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.c (ALL_BREAKPOINTS): Remove, replace all uses with
+       all_breakpoints.
+       (breakpoint_iterator): New.
+       (breakpoint_range): New.
+       (all_breakpoints): New.
+
+2021-05-27  Hannes Domani  <ssbssa@yahoo.de>
+
+       * python/py-tui.c (tui_py_window::output): Add full_window
+       argument.
+       (gdbpy_tui_write): Parse "full_window" argument.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * make-init-c: Add option to reverse function calls.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Makefile.in (INIT_FILES_FILTER_OUT): New.
+       (INIT_FILES): Use INIT_FILES_FILTER_OUT.
+       (stamp-init): Use make-init-c.
+       * bpf-tdep.c (_initialize_bpf_tdep): Remove "void".
+       * silent-rules.mk (ECHO_INIT_C): Change.
+       * make-init-c: New file.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * command.h (add_alias_cmd): Accept target as
+       cmd_list_element.  Update callers.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * command.h (add_info_alias): Accept target as
+       cmd_list_element.  Update callers.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * command.h (add_com_alias): Accept target as
+       cmd_list_element.  Update callers.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * python/py-param.c (add_setshow_generic): Use return values of
+       add_setshow functions.
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * mi/mi-main.c (_initialize_mi_main):
+       * python/py-auto-load.c (gdbpy_initialize_auto_load):
+       * remote.c (_initialize_remote):
+
+2021-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * command.h (set_show_commands): New.
+       (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd,
+       add_setshow_boolean_cmd, add_setshow_filename_cmd,
+       add_setshow_string_cmd, add_setshow_string_noescape_cmd,
+       add_setshow_optional_filename_cmd, add_setshow_integer_cmd,
+       add_setshow_uinteger_cmd, add_setshow_zinteger_cmd,
+       add_setshow_zuinteger_cmd, add_setshow_zuinteger_unlimited_cmd):
+       Return set_show_commands.  Adjust callers.
+       * cli/cli-decode.c (add_setshow_cmd_full): Return
+       set_show_commands, remove result parameters, adjust callers.
+
+2021-05-27  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/27919
+       * dwarf2/read.c (process_psymtab_comp_unit):
+
+2021-05-27  Tom de Vries  <tdevries@suse.de>
+
+       * dwarf2/read.c (find_partial_die): Fix "Cannot not" typo in dwarf
+       error.
+
+2021-05-27  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/27898
+       * dwarf2/cu.c (dwarf2_cu::dwarf2_cu): Add load_all_dies init.
+       * dwarf2/cu.h (dwarf2_cu): Add load_all_dies field.
+       * dwarf2/read.c (load_partial_dies, find_partial_die): Update.
+       * dwarf2/read.h (dwarf2_per_cu_data::dwarf2_per_cu_data): Remove
+       load_all_dies init.
+       (dwarf2_per_cu_data): Remove load_all_dies field.
+
+2021-05-26  Simon Marchi  <simon.marchi@efficios.com>
+
+       * regcache.c (reg_buffer::reg_buffer): Default-initialize
+       m_registers array.
+
+2021-05-26  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.c (allocate_type_unit_groups_table)
+       (handle_DW_AT_stmt_list, allocate_dwo_file_hash_table): Use
+       htab_delete_entry.
+       (free_line_header_voidp): Remove.
+       * completer.c
+       (completion_tracker::completion_hash_entry::deleter): Remove.
+       (completion_tracker::discard_completions): Use htab_delete_entry.
+       * utils.h (htab_delete_entry): New template function.
+
+2021-05-24  Hannes Domani  <ssbssa@yahoo.de>
+
+       * python/py-tui.c (tui_py_window::refresh_window):
+       Avoid flickering.
+
+2021-05-23  Tom de Vries  <tdevries@suse.de>
+
+       PR tdep/27822
+       * target.h (struct target_ops): Mention target_thread_architecture in
+       read_description comment.
+       * x86-linux-nat.c (x86_linux_nat_target::read_description): Use
+       pid to determine if process is 64-bit or 32-bit.
+       * aarch64-linux-nat.c (aarch64_linux_nat_target::read_description):
+       Same.
+       * ppc-linux-nat.c (ppc_linux_nat_target::read_description): Same.
+        * riscv-linux-nat.c (riscv_linux_nat_target::read_description): Same.
+       * s390-linux-nat.c (s390_linux_nat_target::read_description): Same.
+       * arm-linux-nat.c (arm_linux_nat_target::read_description): Same.
+       Likewise, use pid to determine if kernel supports reading VFP
+       registers.
+
+2021-05-22  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * main.c (enum cmdarg_kind): Fix option type comments for
+       CMDARG_EARLYINIT_FILE and CMDARG_EARLYINIT_COMMAND.
+
+2021-05-21  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/25047
+       * contrib/cc-with-tweaks.sh: Handle -l.
+
+2021-05-21  Tom de Vries  <tdevries@suse.de>
+
+       PR breakpoint/27889
+       * jit.c (jit_breakpoint_re_set_internal): Skip separate debug
+       objects.  Call get_jiter_objfile_data with the_objfile.
+
+2021-05-20  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * linespec.c (linespec_p): Remove.  Replace all uses with
+       "linespec *".
+
+2021-05-20  Alexandra Hájková  <ahajkova@redhat.com>
+           Pedro Alves  <pedro@palves.net>
+
+       * cli/cli-script.h (command_line_up): New unique_ptr typedef.
+       * cli/cli-script.c (multi_line_command_p): Use unique_ptr
+       command_line_up instead of struct command_line.
+       (build_command_line): Likewise.
+       (get_command_line): Update the cmd function call parameter.
+       (process_next_line):  Use unique_ptr command_line_up instead
+       of struct command_line.
+       (recurse_read_control_structure): Change the the type of
+       next to command_line_up.
+       (read_command_lines_1): Change type of `next' to be
+       command_line_up and update all references of `next'
+       accordingly.
+
+2021-05-20  Alexandra Hájková  <ahajkova@redhat.com>
+
+       * MAINTAINERS (Write After Approval): Add myself.
+
+2021-05-19  John Baldwin  <jhb@FreeBSD.org>
+
+       * dwarf2/read.c (tu_abbrev_offset::operator<): Mark const.
+
+2021-05-18  Alexandra Hájková  <ahajkova@redhat.com>
+
+       * inflow.c (new_tty): Do not leak tty.
+
+2021-05-17  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.h: Update include.
+       * dwarf2/read.c: Update include.
+       * dwarf2/line-header.c: Update include.
+       * dwarf2/cu.h: Update include.
+       * dwarf2/comp-unit-head.h: Rename from comp-unit.h.
+       * dwarf2/comp-unit-head.c: Rename from comp-unit.c.
+       * Makefile.in (COMMON_SFILES): Update.
+
+2021-05-17  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.c (maybe_queue_comp_unit)
+       (dwarf2_per_objfile::age_comp_units): Update.
+       (dwarf2_add_dependence, dwarf2_mark_helper, dwarf2_mark): Move to
+       dwarf2_cu methods.
+       * dwarf2/cu.h (struct dwarf2_cu) <mark, clear_mark, is_marked,
+       add_dependence>: New methods.
+       <m_dependencies>: Add "m_" prefix.  Now private.
+       <m_mark>: Add "m_" prefix.
+       * dwarf2/cu.c (dwarf2_cu::dwarf2_cu): Update.
+       (dwarf2_mark_helper): New function.
+       (dwarf2_cu::mark, dwarf2_cu::add_dependence): New methods.
+
+2021-05-17  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.c (dwarf2_cu::addr_sized_int_type)
+       (dwarf2_cu::start_symtab, dwarf2_cu::addr_type)
+       (dwarf2_cu::dwarf2_cu): Move to cu.c.
+       * dwarf2/cu.c: New file.
+       * Makefile.in (COMMON_SFILES): Add dwarf2/cu.c.
+
+2021-05-17  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Add dwarf2/cu.h.
+       * dwarf2/read.c (struct delayed_method_info, struct dwarf2_cu):
+       Move to cu.h.
+       * dwarf2/cu.h: New file.
+
+2021-05-17  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * .dir-locals.el: Set sentence-end-double-space for all modes, and
+       set brace-list-open to 0 for C and C++ modes.
+
+2021-05-17  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2/loc.c (dwarf2_evaluate_loc_desc::get_frame_base): Throw
+       if frame is null.
+
+2021-05-17  Tom Tromey  <tromey@adacore.com>
+
+       * nat/linux-osdata.c (user_from_uid, time_from_time_t)
+       (group_from_gid): Subtract one from strncpy length.
+
+2021-05-17  Tom Tromey  <tromey@adacore.com>
+
+       * source.c (add_path): Check 'p' before using 'p[-1]'.
+
+2021-05-17  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2/read.h (struct dwarf2_per_cu_data_deleter: New.
+       (dwarf2_per_cu_data_up): New typedef.
+       (struct dwarf2_per_bfd) <allocate_per_cu>: Change return type.
+       <all_comp_units>: Use dwarf2_per_cu_data_up.
+       * dwarf2/read.c (dwarf2_per_cu_data::operator()): New function.
+       (dwarf2_per_bfd::allocate_per_cu): Return dwarf2_per_cu_data_up.
+       (create_cu_from_index_list): Likewise.
+       (create_signatured_type_table_from_index)
+       (create_cus_from_debug_names_list, add_type_unit)
+       (read_comp_units_from_section): Update.
+       (dwarf2_find_containing_comp_unit): Change type of all_comp_units.
+       (run_test): Update.
+
+2021-05-17  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.c (tu_abbrev_offset::operator<): New method.
+       (sort_tu_by_abbrev_offset): Remove.
+       (build_type_psymtabs): Update.
+
+2021-05-17  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * py-project.toml: New.
+       * gdb-gdb.py.in: Re-format.
+
+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.