+2020-07-12 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbtypes.c (TYPE_ARRAY_BIT_STRIDE): Remove. Update all
+ callers to use the equivalent accessor methods.
+
+2020-07-12 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbtypes.h (struct range_bounds) <bit_stride>: New method.
+ (struct type) <bit_stride>: New method.
+ (TYPE_BIT_STRIDE): Remove.
+ * gdbtypes.c (update_static_array_size): Use type::bit_stride.
+
+2020-07-12 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbtypes.h (TYPE_ARRAY_LOWER_BOUND_VALUE,
+ TYPE_ARRAY_UPPER_BOUND_VALUE): Remove. Update all
+ callers to use the equivalent accessor methods instead.
+
+2020-07-12 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbtypes.h (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED,
+ TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED): Remove. Update all
+ callers to use the equivalent accessor methods instead.
+
+2020-07-12 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbtypes.h (TYPE_LOW_BOUND_KIND,
+ TYPE_HIGH_BOUND_KIND): Remove. Update all callers
+ to use dynamic_prop::kind.
+
+2020-07-12 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbtypes.h (TYPE_LOW_BOUND_UNDEFINED,
+ TYPE_HIGH_BOUND_UNDEFINED): Remove. Update all callers
+ to get the bound property's kind and check against
+ PROP_UNDEFINED.
+
+2020-07-12 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbtypes.h (TYPE_LOW_BOUND, TYPE_HIGH_BOUND): Remove. Update
+ all callers to use type::range_bounds followed by
+ dynamic_prop::{low,high}.
+
+2020-07-12 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * gdbtypes.h (struct dynamic_prop) <kind, set_undefined,
+ const_val, set_const_val, baton, set_locexpr, set_loclist,
+ set_addr_offset, variant_parts, set_variant_parts,
+ original_type, set_original_type>: New methods.
+ <kind>: Rename to...
+ <m_kind>: ... this. Update all users to use the new methods
+ instead.
+ <data>: Rename to...
+ <m_data>: ... this. Update all users to use the new methods
+ instead.
+
+2020-07-12 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbtypes.c (get_discrete_bounds): Return failure if
+ the range type's bounds are not both defined and constant
+ values.
+ (get_array_bounds): Update comment. Remove undefined bound check.
+
+2020-07-12 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * gdbtypes.h (TYPE_RANGE_DATA): Remove. Update callers to use
+ the type::bounds method directly.
+
+2020-07-12 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbtypes.h (struct type) <bounds, set_bounds>: New methods.
+ (TYPE_RANGE_DATA): Use type::bounds. Change all uses that
+ are used to set the range type's bounds to use set_bounds.
+
+2020-07-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * exec.c (_initialize_exec): Update exec-file-mismatch help.
+
+2020-07-10 Pedro Alves <pedro@palves.net>
+
+ * gdbthread.h (inferior_ref): Define.
+ (scoped_restore_current_thread) <m_thread>: Now a thread_info_ref.
+ (scoped_restore_current_thread) <m_inf>: Now an inferior_ref.
+ * thread.c
+ (scoped_restore_current_thread::restore):
+ Adjust to gdb::ref_ptr.
+ (scoped_restore_current_thread::~scoped_restore_current_thread):
+ Remove manual decref handling.
+ (scoped_restore_current_thread::scoped_restore_current_thread):
+ Adjust to use
+ inferior_ref::new_reference/thread_info_ref::new_reference.
+ Incref the thread before calling get_frame_id instead of after.
+ Let TARGET_CLOSE_ERROR propagate.
+
+2020-07-10 Pedro Alves <pedro@palves.net>
+
+ * frame-tailcall.c (dwarf2_tailcall_sniffer_first): Only swallow
+ NO_ENTRY_VALUE_ERROR / MEMORY_ERROR / OPTIMIZED_OUT_ERROR /
+ NOT_AVAILABLE_ERROR.
+ * value.c (value_optimized_out): Only swallow MEMORY_ERROR /
+ OPTIMIZED_OUT_ERROR / NOT_AVAILABLE_ERROR.
+
+2020-07-10 Simon Marchi <simon.marchi@polymtl.ca>
+ Pedro Alves <pedro@palves.net>
+
+ PR gdb/26199
+ * infrun.c (threads_are_resumed_pending_p): Delete.
+ (do_target_wait): Remove threads_are_executing and
+ threads_are_resumed_pending_p checks from the inferior_matches
+ lambda. Update comments.
+
+2020-07-10 Pedro Alves <pedro@palves.net>
+
+ PR gdb/26199
+ * infrun.c (handle_no_resumed): Transfer terminal to inferior with
+ executing threads.
+
+2020-07-10 Pedro Alves <pedro@palves.net>
+
+ PR gdb/26199
+ * infrun.c (handle_no_resumed): Handle multiple targets.
+
+2020-07-10 Pedro Alves <pedro@palves.net>
+
+ PR gdb/26199
+ * infrun.c (prepare_to_wait): Check target_can_async_p instead of
+ target_is_async_p.
+
+2020-07-10 Pedro Alves <pedro@palves.net>
+
+ PR gdb/26199
+ * target.c (target_pass_ctrlc): Look at the inferior's non-exited
+ threads, not all threads.
+
+2020-07-10 Pedro Alves <pedro@palves.net>
+
+ PR gdb/26199
+ * remote.c (remote_target::open_1): Pass remote target pointer as
+ data to create_async_event_handler.
+ (remote_async_inferior_event_handler): Mark async event handler
+ before returning if the remote target still has either pending
+ events or unacknowledged notifications.
+
+2020-07-10 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-nat.h (fbsd_nat_target::supports_multi_process): New
+ declaration.
+ * fbsd-nat.c (fbsd_nat_target::supports_multi_process): New
+ function.
+
+2020-07-09 John Baldwin <jhb@FreeBSD.org>
+
+ * inf-ptrace.c (inf_ptrace_target::wait): Don't compare against
+ inferior_ptid.
+
+2020-07-09 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-tdep.c (fbsd_print_auxv_entry): Handle AT_FREEBSD_ARGC,
+ AT_FREEBSD_ARGV, AT_FREEBSD_ENVC, AT_FREEBSD_ENVV,
+ AT_FREEBSD_PS_STRINGS.
+
+2020-07-08 Hannes Domani <ssbssa@yahoo.de>
+
+ * auto-load.c (auto_load_objfile_script_1): Convert drive part
+ of debugfile path on Windows.
+
+2020-07-08 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-nat.c (fbsd_nat_target::find_memory_regions): Rename 'obfd'
+ argument to 'data'.
+
+2020-07-08 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.c (ada_exception_message_1): Use read_memory.
+
+2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ PR python/22748
+ * dwarf2/frame-tailcall.c (dwarf2_tailcall_sniffer_first): Remove
+ special handling for inline frames.
+ * findvar.c (value_of_register_lazy): Skip inline frames when
+ creating lazy register values.
+ * frame.c (frame_id_computed_p): Delete definition.
+ * frame.h (frame_id_computed_p): Delete declaration.
+
+2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * NEWS: Mention additions to Python API.
+ * python/py-arch.c (archpy_register_groups): New function.
+ (arch_object_methods): Add 'register_groups' method.
+ * python/py-registers.c (reggroup_iterator_object): New struct.
+ (reggroup_object): New struct.
+ (gdbpy_new_reggroup): New function.
+ (gdbpy_reggroup_to_string): New function.
+ (gdbpy_reggroup_name): New function.
+ (gdbpy_reggroup_iter): New function.
+ (gdbpy_reggroup_iter_next): New function.
+ (gdbpy_new_reggroup_iterator): New function
+ (gdbpy_initialize_registers): Register new types.
+ (reggroup_iterator_object_type): Define new Python type.
+ (gdbpy_reggroup_getset): New static global.
+ (reggroup_object_type): Define new Python type.
+ * python/python-internal.h
+
+2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * Makefile.in (SUBDIR_PYTHON_SRCS): Add py-registers.c
+ * python/py-arch.c (archpy_registers): New function.
+ (arch_object_methods): Add 'registers' method.
+ * python/py-registers.c: New file.
+ * python/python-internal.h
+ (gdbpy_new_register_descriptor_iterator): Declare.
+ (gdbpy_initialize_registers): Declare.
+ * python/python.c (do_start_initialization): Call
+ gdbpy_initialize_registers.
+ * NEWS: Mention additions to the Python API.
+
+2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * NEWS: Mention new Python API method.
+ * python/py-unwind.c (pending_framepy_architecture): New function.
+ (pending_frame_object_methods): Add architecture method.
+
+2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * gdbarch.c: Regenerate.
+ * gdbarch.h: Regenerate.
+ * gdbarch.sh (deprecated_set_gdbarch_data): Delete.
+ (gdbarch_data): Use internal_error for the case where
+ deprecated_set_gdbarch_data was originally needed.
+ * ia64-libunwind-tdep.c (libunwind_descr_init): Update parameters,
+ and use passed in obstack.
+ (libunwind_frame_set_descr): Should no longer get back NULL from
+ gdbarch_data.
+ (_initialize_libunwind_frame): Register as a pre-init gdbarch data
+ type.
+ * user-regs.c (user_regs_init): Update parameters, and use passed
+ in obstack.
+ (user_reg_add): Should no longer get back NULL from gdbarch_data.
+ (_initialize_user_regs): Register as a pre-init gdbarch data type.
+
+2020-07-06 Tom de Vries <tdevries@suse.de>
+
+ * buildsym.c (buildsym_compunit::end_symtab_with_blockvector): Handle
+ End-Of-Sequence in lte_is_less_than.
+ * symtab.c (find_pc_sect_line): Revert change from commit 3d92a3e313
+ "gdb: Don't reorder line table entries too much when sorting".
+
+2020-07-06 Tom de Vries <tdevries@suse.de>
+
+ PR tui/26205
+ * tui/tui-win.c (tui_partial_win_by_name): Don't test for NULL name.
+
+2020-07-05 Tom de Vries <tdevries@suse.de>
+
+ PR build/26187
+ * inferior.h (struct infcall_suspend_state_deleter): If available, use
+ std::uncaught_exceptions instead of deprecated
+ std::uncaught_exception.
+
+2020-07-02 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * macroexp.h (macro_stringify): Return
+ gdb::unique_xmalloc_ptr<char>.
+ * macroexp.c (macro_stringify): Likewise.
+ * macrotab.c (fixup_definition): Update.
+
+2020-07-02 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * c-exp.y (scan_macro_expansion): Don't free `expansion`.
+ (lex_one_token): Update.
+ * macroexp.c (struct macro_buffer) <release>: Return
+ gdb::unique_xmalloc_ptr<char>.
+ (macro_stringify): Update.
+ (macro_expand): Update.
+ (macro_expand_next): Return gdb::unique_xmalloc_ptr<char>.
+ * macroexp.h (macro_expand_next): Likewise.
+
+2020-07-02 Simon Marchi <simon.marchi@efficios.com>
+
+ * macroexp.h (macro_lookup_ftype): Remove.
+ (macro_expand, macro_expand_once, macro_expand_next): Remove
+ lookup function parameters, add scope parameter.
+ * macroexp.c (scan, substitute_args, expand, maybe_expand,
+ macro_expand, macro_expand_once, macro_expand_next): Likewise.
+ * macroscope.h (standard_macro_lookup): Change parameter type
+ to macro_scope.
+ * macroscope.c (standard_macro_lookup): Likewise.
+ * c-exp.y (lex_one_token): Update.
+ * macrocmd.c (macro_expand_command): Likewise.
+ (macro_expand_once_command): Likewise.
+
+2020-07-02 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * inf-loop.c (inferior_event_handler): Remove client_data param.
+ * inf-loop.h (inferior_event_handler): Likewise.
+ * infcmd.c (step_1): Adjust.
+ * infrun.c (proceed): Adjust.
+ (fetch_inferior_event): Remove client_data param.
+ (infrun_async_inferior_event_handler): Adjust.
+ * infrun.h (fetch_inferior_event): Remove `void *` param.
+ * linux-nat.c (handle_target_event): Adjust.
+ * record-btrace.c (record_btrace_handle_async_inferior_event):
+ Adjust.
+ * record-full.c (record_full_async_inferior_event_handler):
+ Adjust.
+ * remote.c (remote_async_inferior_event_handler): Adjust.
+
+2020-07-01 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-data.h (struct tui_win_info) <name>: Now pure virtual.
+ * tui/tui-stack.h (struct tui_locator_window) <name>: New method.
+
+2020-07-01 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-wingeneral.c (tui_win_info::refresh_window): Move from
+ tui_gen_win_info.
+ (tui_win_info::make_window): Merge with
+ tui_gen_win_info::make_window.
+ (tui_win_info::make_visible): Move from tui_gen_win_info.
+ * tui/tui-win.c (tui_win_info::max_width): Move from
+ tui_gen_win_info.
+ * tui/tui-layout.h (class tui_layout_window) <m_window>: Change
+ type.
+ <window_factory>: Likewise.
+ * tui/tui-layout.c (tui_win_info::resize): Move from
+ tui_gen_win_info.
+ (make_standard_window): Change return type.
+ (get_locator_window, tui_get_window_by_name): Likewise.
+ (tui_layout_window::apply): Remove a cast.
+ * tui/tui-data.h (MIN_WIN_HEIGHT): Move earlier.
+ (struct tui_win_info): Merge with tui_gen_win_info.
+ (struct tui_gen_win_info): Remove.
+
+2020-07-01 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-stack.h (struct tui_locator_window): Derive from
+ tui_win_info.
+ <do_scroll_horizontal, do_scroll_vertical>: New methods.
+ <can_box>: New method.
+
+2020-07-01 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-stack.h (struct tui_locator_window): Remove body.
+
+2020-07-01 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.c (tui_data_window::display_registers_from)
+ (tui_data_window::display_registers_from)
+ (tui_data_window::first_data_item_displayed)
+ (tui_data_window::delete_data_content_windows): Update.
+ (tui_data_window::refresh_window, tui_data_window::no_refresh):
+ Remove.
+ (tui_data_window::check_register_values): Update.
+ (tui_data_item_window::rerender): Add parameters. Update.
+ (tui_data_item_window::refresh_window): Remove.
+ * tui/tui-data.h (struct tui_gen_win_info) <no_refresh>: No longer
+ virtual.
+ * tui/tui-regs.h (struct tui_data_item_window): Don't derive from
+ tui_gen_win_info.
+ <refresh_window, max_height, min_height>: Remove.
+ <rerender>: Add parameters.
+ <x, y, visible>: New members.
+ (struct tui_data_window) <refresh_window, no_refresh>: Remove.
+ <m_item_width>: New member.
+
+2020-07-01 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.c (tui_data_window::show_register_group)
+ (tui_data_window::check_register_values): Update.
+ * tui/tui-regs.h (struct tui_data_item_window) <regno>: Rename
+ from item_no.
+
+2020-07-01 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.c (tui_data_window::show_register_group): Remove
+ useless "if".
+
+2020-07-01 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.c (tui_data_window::show_register_group): Update.
+ * tui/tui-regs.h (struct tui_data_item_window) <name>: Remove.
+
+2020-07-01 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-stack.c (SINGLE_KEY): Move from tui-data.h
+ * tui/tui-winsource.h (enum tui_line_or_address_kind)
+ (struct tui_line_or_address): Move from tui-data.h.
+ * tui/tui-win.c (DEFAULT_TAB_LEN): Move from tui-data.h.
+ * tui/tui-data.h (DEFAULT_TAB_LEN): Move to tui-win.c.
+ (tui_cmd_window, tui_source_window_base, tui_source_window)
+ (tui_disasm_window): Don't declare.
+ (enum tui_line_or_address_kind, struct tui_line_or_address): Move
+ to tui-winsource.h.
+ (SINGLE_KEY): Move to tui-stack.c.
+
+2020-07-01 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.h (struct tui_data_item_window) <content>: Now a
+ std::string.
+ * tui/tui-regs.c (class tab_expansion_file): New.
+ (tab_expansion_file::write): New method.
+ (tui_register_format): Change return type. Use
+ tab_expansion_file.
+ (tui_get_register, tui_data_window::display_registers_from)
+ (tui_data_item_window::rerender): Update.
+ * tui/tui-io.h (tui_expand_tabs): Don't declare.
+ * tui/tui-io.c (tui_expand_tabs): Remove.
+
+2020-07-01 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.c (tui_reggroup_completer): Use complete_on_enum.
+
+2020-07-01 Fangrui Song <maskray@google.com>
+
+ * dwarf2/read.c (lnp_state_machine::check_line_address): Test -1.
+
+2020-07-01 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
+
+ * dwarf2/read.c (set_die_type): Removed conditions to restrict
+ forms for DW_AT_associated and DW_AT_allocated attributes,
+ which is already checked in function attr_to_dynamic_prop.
+
+2020-06-30 Tom Tromey <tromey@adacore.com>
+
+ * dwarf2/read.c (quirk_rust_enum): Correctly call
+ alloc_rust_variant for default-less enum.
+
+2020-06-30 Tom Tromey <tromey@adacore.com>
+
+ PR build/26183:
+ * ada-lang.c (ada_lookup_name_info::ada_lookup_name_info): Use
+ gdb::to_string.
+
+2020-06-29 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbarch.sh (displaced_step_copy_insn): Update doc.
+ * gdbarch.h: Re-generate.
+
+2020-06-28 Tom Tromey <tom@tromey.com>
+
+ * command.h (cmd_types): Remove.
+ (cmd_type): Don't declare.
+ * cli/cli-decode.h (enum cmd_types): Uncomment. No longer a
+ typedef.
+ * cli/cli-cmds.c (setting_cmd): Use cmd->type directly.
+ * cli/cli-decode.c (cmd_type): Remove.
+
+2020-06-27 Pedro Alves <palves@redhat.com>
+
+ * fork-child.c (prefork_hook): Adjust.
+ * infcmd.c (set_inferior_io_terminal, get_inferior_io_terminal):
+ Delete.
+ (set_inferior_tty_command, show_inferior_tty_command): Adjust.
+ * inferior.c (inferior::set_tty, inferior::tty): New methods.
+ * inferior.h (set_inferior_io_terminal, get_inferior_io_terminal):
+ Remove declarations.
+ (struct inferior) <set_tty, tty>: New methods.
+ (struct inferior) <terminal>: Rename to ...
+ (struct inferior) <m_terminal>: ... this and make private.
+ * main.c (captured_main_1): Adjust.
+ * mi/mi-cmd-env.c (mi_cmd_inferior_tty_set): Adjust.
+ (mi_cmd_inferior_tty_show): Adjust.
+ * nto-procfs.c (nto_procfs_target::create_inferior): Adjust.
+ * windows-nat.c (windows_nat_target::create_inferior): Adjust.
+
+2020-06-26 Nick Alcock <nick.alcock@oracle.com>
+
+ * configure.ac: Add --enable-libctf: handle --disable-static
+ properly.
+ * acinclude.m4: sinclude ../config/enable.m4.
+ * Makefile.in (aclocal_m4_deps): Adjust accordingly.
+ (LIBCTF): Substitute in.
+ (CTF_DEPS): New, likewise.
+ (CLIBS): libctf needs symbols from libbfd: move earlier.
+ (CDEPS): Use CTF_DEPS, not LIBCTF, now LIBCTF can include rpath
+ flags.
+ * ctfread.c: Surround in ENABLE_LIBCTF.
+ (elfctf_build_psymtabs) [!ENABLE_LIBCTF]: New stub.
+ * configure: Regenerate.
+ * config.in: Likewise.
+
+2020-06-25 Simon Marchi <simon.marchi@efficios.com>
+
+ * infcmd.c (set_inferior_io_terminal): Use make_unique_xstrdup.
+
+2020-06-25 Simon Marchi <simon.marchi@efficios.com>
+
+ * inferior.h (struct inferior) <terminal>: Change type to
+ gdb::unique_xmalloc_ptr<char>.
+ * inferior.c (inferior::~inferior): Don't free inf->terminal.
+ * infcmd.c (set_inferior_io_terminal): Don't free terminal
+ field, adjust to unique pointer.
+ (get_inferior_io_terminal): Adjust to unique pointer.
+
+2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (riscv_print_registers_info): Loop over all
+ registers, not just the known core set of registers.
+
+2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (riscv_register_name): Return NULL for duplicate
+ fflags, frm, and fcsr registers.
+ (riscv_register_reggroup_p): Remove unknown CSRs from save and
+ restore groups.
+ (riscv_tdesc_unknown_reg): New function.
+ (riscv_gdbarch_init): Pass riscv_tdesc_unknown_reg to
+ tdesc_use_registers.
+ * riscv-tdep.h (struct gdbarch_tdep): Add
+ unknown_csrs_first_regnum, unknown_csrs_count,
+ duplicate_fflags_regnum, duplicate_frm_regnum, and
+ duplicate_fcsr_regnum fields.
+
+2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * target-descriptions.c (tdesc_use_registers): Add new parameter a
+ callback, use the callback (when not null) to help number unknown
+ registers.
+ * target-descriptions.h (tdesc_unknown_register_ftype): New typedef.
+ (tdesc_use_registers): Add extra parameter to declaration.
+
+2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (value_of_riscv_user_reg): Moved to here from later
+ in the file.
+ (class riscv_pending_register_alias): Likewise.
+ (riscv_register_feature::register_info): Change 'required_p' field
+ to 'required', and change its type. Add 'check' member function.
+ (riscv_register_feature::register_info::check): Define new member
+ function.
+ (riscv_xreg_feature): Change initialisation of 'required' field.
+ (riscv_freg_feature): Likewise.
+ (riscv_virtual_feature): Likewise.
+ (riscv_csr_feature): Likewise.
+ (riscv_check_tdesc_feature): Take extra parameter, the csr
+ tdesc_feature, rewrite the function to use the new
+ riscv_register_feature::register_info::check function.
+ (riscv_gdbarch_init): Pass the csr tdesc_feature where needed.
+
+2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * features/Makefile: Remove all references to the deleted files
+ below.
+ * features/riscv/32bit-csr.c: Deleted.
+ * features/riscv/32bit-csr.xml: Deleted.
+ * features/riscv/64bit-csr.c: Deleted.
+ * features/riscv/64bit-csr.xml: Deleted.
+ * features/riscv/rebuild-csr-xml.sh: Deleted.
+
+2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (struct riscv_register_feature::register_info): Fix
+ whitespace error for declaration of names member variable.
+ (struct riscv_register_feature): Add new prefer_first_name member
+ variable, and fix whitespace error in declaration of registers.
+ (riscv_xreg_feature): Initialize prefer_first_name field.
+ (riscv_freg_feature): Likewise.
+ (riscv_virtual_feature): Likewise.
+ (riscv_csr_feature): Likewise.
+ (riscv_register_name): Expand on comments. Remove register name
+ modifications for CSR and virtual registers.
+
+2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (struct riscv_register_feature): Fix whitespace
+ errors.
+
+2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (riscv_create_csr_aliases): Handle csr aliases from
+ riscv-opc.h.
+ (class riscv_pending_register_alias): New class.
+ (riscv_check_tdesc_feature): Take vector of pending aliases and
+ populate it as appropriate.
+ (riscv_setup_register_aliases): Delete.
+ (riscv_gdbarch_init): Create vector of pending aliases and pass it
+ to riscv_check_tdesc_feature in all cases. Use the vector to
+ create the register aliases.
+
+2020-06-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * sol2-tdep.c (sol2_static_transform_name): Remove.
+ (sol2_init_abi): Don't register it.
+ * gdbarch.sh (static_transform_name): Remove.
+ * gdbarch.c, gdbarch.h: Regenerate.
+
+ * dbxread.c (read_dbx_symtab) <'S'>: Remove call to
+ gdbarch_static_transform_name.
+ * mdebugread.c (parse_partial_symbols) <'S'>: Likewise.
+ * stabsread.c (define_symbol) <'X'>: Remove.
+ (define_symbol) <'S'>: Remove gdbarch_static_transform_name
+ handling.
+ <'V'>: Likewise.
+ * xcoffread.c (scan_xcoff_symtab): Remove gdbarch.
+ <'S'>: Remove call to gdbarch_static_transform_name.
+
+2020-06-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * procfs.c (procfs_pre_trace): New function.
+ (procfs_target::create_inferior): Pass it to fork_inferior.
+
+2020-06-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * configure.tgt <sparc-*-linux*> (gdb_target_obs): Remove
+ sparc-sol2-tdep.o, sol2-tdep.o, sparc64-sol2-tdep.o.
+ <sparc64-*-linux*> (gdb_target_obs): Remove sparc64-sol2-tdep.o,
+ sol2-tdep.o, sparc-sol2-tdep.o.
+ * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Make static.
+ * sparc-tdep.h (sparc32_sol2_init_abi): Remove.
+ * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Make static.
+ * sparc64-tdep.h (sparc64_sol2_init_abi): Remove.
+
+2020-06-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * amd64-sol2-tdep.c (amd64_sol2_sigtramp_p): Remove.
+ (amd64_sol2_init_abi): Use sol2_sigtramp_p.
+ Call sol2_init_abi.
+ Remove calls to set_gdbarch_skip_solib_resolver,
+ set_gdbarch_core_pid_to_str.
+ * i386-sol2-tdep.c (i386_sol2_sigtramp_p): Remove.
+ (i386_sol2_static_transform_name): Remove.
+ (i386_sol2_init_abi): Call sol2_init_abi.
+ Remove calls to set_gdbarch_sofun_address_maybe_missing,
+ set_gdbarch_static_transform_name,
+ set_gdbarch_skip_solib_resolver, set_gdbarch_core_pid_to_str.
+ Use sol2_sigtramp_p.
+ * sol2-tdep.c (sol2_pc_in_sigtramp): New function.
+ (sol2_sigtramp_p): New function.
+ (sol2_static_transform_name): New function.
+ (sol2_skip_solib_resolver, sol2_core_pid_to_str): Make static.
+ (sol2_init_abi): New function.
+ * sol2-tdep.h (sol2_sigtramp_p, sol2_init_abi): Declare.
+ (sol2_skip_solib_resolver, sol2_core_pid_to_str): Remove.
+ * sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Remove.
+ (sparc32_sol2_sigtramp_frame_sniffer): Just call sol2_sigtramp_p.
+ (sparc_sol2_static_transform_name): Remove.
+ (sparc32_sol2_init_abi): Call sol2_init_abi.
+ Remove calls to set_gdbarch_sofun_address_maybe_missing,
+ set_gdbarch_static_transform_name,
+ set_gdbarch_skip_solib_resolver,
+ set_gdbarch_core_pid_to_str.
+ * sparc-tdep.h (sparc_sol2_pc_in_sigtramp)
+ (sparc_sol2_static_transform_name): Remove
+ * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_sniffer): Just
+ call sol2_sigtramp_p.
+ (sparc64_sol2_init_abi): Call sol2_init_abi.
+ Remove calls to set_gdbarch_sofun_address_maybe_missing,
+ set_gdbarch_static_transform_name,
+ set_gdbarch_skip_solib_resolver, set_gdbarch_core_pid_to_str.
+
+2020-06-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * symfile-add-flags.h: New flag SYMFILE_ALWAYS_CONFIRM.
+ * exec.c (validate_exec_file): If from_tty, set both
+ SYMFILE_VERBOSE (== from_tty) and SYMFILE_ALWAYS_CONFIRM.
+ * symfile.c (symbol_file_add_with_addrs): if always_confirm
+ and from_tty, unconditionally ask a confirmation.
+
+2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * target-descriptions.c (tdesc_architecture_name): Protect against
+ NULL pointer dereference.
+ (maint_print_xml_tdesc_cmd): New function.
+ (_initialize_target_descriptions): Register new 'maint print
+ xml-tdesc' command and give it the filename completer.
+ * NEWS: Mention new 'maint print xml-tdesc' command.
+
+2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * target-descriptions.c (class tdesc_compatible_info): New class.
+ (struct target_desc): Change type of compatible vector.
+ (tdesc_compatible_p): Update for change in type of
+ target_desc::compatible.
+ (tdesc_compatible_info_list): New function.
+ (tdesc_compatible_info_arch_name): New function.
+ (tdesc_add_compatible): Update for change in type of
+ target_desc::compatible.
+ (print_c_tdesc::visit_pre): Likewise.
+
+2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * target-descriptions.c (print_c_tdesc::print_c_tdesc): Change
+ whitespace to underscore.
+ (maint_print_c_tdesc_cmd): Use fake filename for target
+ descriptions that came from the target.
+ (_initialize_target_descriptions): Add filename command completion
+ for 'maint print c-tdesc'.
+
+2020-06-23 Simon Marchi <simon.marchi@efficios.com>
+
+ * dwarf2/loc.c (decode_debug_loclists_addresses): Add empty
+ lines.
+
+2020-06-23 Simon Marchi <simon.marchi@efficios.com>
+
+ * dwarf2/loc.c (decode_debug_loc_dwo_addresses): Add empty
+ lines.
+ (dwarf2_find_location_expression): Likewise.
+ (call_site_parameter_matches): Likewise.
+ (dwarf2_compile_expr_to_ax): Likewise.
+ (disassemble_dwarf_expression): Likewise.
+ (loclist_describe_location): Likewise.
+
+2020-06-23 Pedro Alves <palves@redhat.com>
+
+ * gdbarch-selftests.c: Don't include inferior.h, gdbthread.h or
+ progspace-and-thread.h. Include scoped-mock-context.h instead.
+ (register_to_value_test): Use scoped_mock_context.
+ * regcache.c: Include "scoped-mock-context.h".
+ (cooked_read_test): Don't error out if a target is already pushed.
+ Use scoped_mock_context. Adjust.
+ * scoped-mock-context.h: New file.
+
2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
* ada-lang.c (ada_language_data): Delete la_is_string_type_p