+2018-02-24 Tom Tromey <tom@tromey.com>
+
+ * i386-tdep.c (i386_fast_tracepoint_valid_at): "msg" now a
+ std::string.
+ * gdbarch.sh (fast_tracepoint_valid_at): Change "msg" to a
+ std::string*.
+ * gdbarch.c: Rebuild.
+ * gdbarch.h: Rebuild.
+ * breakpoint.c (check_fast_tracepoint_sals): Use std::string.
+ * arch-utils.h (default_fast_tracepoint_valid_at): Update.
+ * arch-utils.c (default_fast_tracepoint_valid_at): "msg" now a
+ std::string*.
+
+2018-02-23 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * gdbtypes.h (sect_offset): Change type to uint64_t.
+ (sect_offset_str): New function.
+ * dwarf2read.c (create_addrmap_from_aranges): Use
+ sect_offset_str.
+ (error_check_comp_unit_head): Likewise.
+ (create_debug_type_hash_table): Likewise.
+ (read_cutu_die_from_dwo): Likewise.
+ (init_cutu_and_read_dies): Likewise.
+ (init_cutu_and_read_dies_no_follow): Likewise.
+ (process_psymtab_comp_unit_reader): Likewise.
+ (partial_die_parent_scope): Likewise.
+ (peek_die_abbrev): Likewise.
+ (process_queue): Likewise.
+ (dwarf2_physname): Likewise.
+ (read_namespace_alias): Likewise.
+ (read_import_statement): Likewise.
+ (create_dwo_cu_reader): Likewise.
+ (create_cus_hash_table): Likewise.
+ (lookup_dwo_cutu): Likewise.
+ (inherit_abstract_dies): Likewise.
+ (read_func_scope): Likewise.
+ (read_call_site_scope): Likewise.
+ (dwarf2_add_member_fn): Likewise.
+ (read_common_block): Likewise.
+ (read_module_type): Likewise.
+ (read_typedef): Likewise.
+ (read_subrange_type): Likewise.
+ (load_partial_dies): Likewise.
+ (read_partial_die): Likewise.
+ (find_partial_die): Likewise.
+ (read_str_index): Likewise.
+ (dwarf2_string_attr): Likewise.
+ (build_error_marker_type): Likewise.
+ (lookup_die_type): Likewise.
+ (dump_die_shallow): Likewise.
+ (follow_die_ref): Likewise.
+ (dwarf2_fetch_die_loc_sect_off): Likewise.
+ (dwarf2_fetch_constant_bytes): Likewise.
+ (follow_die_sig): Likewise.
+ (get_signatured_type): Likewise.
+ (get_DW_AT_signature_type): Likewise.
+ (dwarf2_find_containing_comp_unit): Likewise.
+ (set_die_type): Likewise.
+
+2018-02-21 John Baldwin <jhb@FreeBSD.org>
+
+ * arch/aarch64.c: Include "common-defs.h".
+ * arch/amd64.c: Likewise.
+ * arch/i386.c: Likewise.
+
+2018-02-21 Tom Tromey <tom@tromey.com>
+
+ * value.h: (extract_field_op): Update.
+ * eval.c (extract_field_op): Return a const char *.
+ * expression.h (parse_expression_for_completion): Update.
+ * completer.c (complete_expression): Update.
+ (add_struct_fields): Make fieldname const.
+ * parse.c (expout_completion_name): Now a unique_xmalloc_ptr.
+ (mark_completion_tag, parse_exp_in_context_1): Update.
+ (parse_expression_for_completion): Change "name" to
+ unique_xmalloc_ptr*.
+
+2018-02-21 Tom Tromey <tom@tromey.com>
+
+ * infcall.c (call_function_by_hand_dummy): Use std::vector.
+
+2018-02-21 Yao Qi <yao.qi@linaro.org>
+
+ * avr-tdep.c (avr_read_pc): Change parameter type to
+ readable_regcache.
+ * gdbarch.sh (read_pc): Likewise.
+ * gdbarch.c: Re-generated.
+ * gdbarch.h: Re-generated.
+ * hppa-tdep.c (hppa_read_pc): Change parameter type to
+ readable_regcache.
+ * ia64-tdep.c (ia64_read_pc): Likewise.
+ * mips-tdep.c (mips_read_pc): Likewise.
+ * spu-tdep.c (spu_read_pc): Likewise.
+
+2018-02-21 Yao Qi <yao.qi@linaro.org>
+
+ * Makefile.in (COMMON_SFILES): Add regcache-dump.c
+ * regcache-dump.c: New file.
+ * regcache.c: Move register_dump to regcache-dump.c.
+ (maintenance_print_registers): Likewise.
+ (maintenance_print_raw_registers): Likewise.
+ (maintenance_print_cooked_registers): Likewise.
+ (maintenance_print_register_groups): Likewise.
+ (maintenance_print_remote_registers): Likewise.
+ (_initialize_regcache): Likewise.
+ * regcache.h (register_dump): Moved from regcache.c.
+
+2018-02-21 Yao Qi <yao.qi@linaro.org>
+
+ * regcache.c (regcache::regcache): Update.
+ (regcache::invalidate): Move it to detached_regcache::invalidate.
+ (get_thread_arch_aspace_regcache): Update.
+ (regcache::raw_update): Update.
+ (regcache::cooked_read): Remove some code.
+ (regcache::cooked_read_value): Likewise.
+ (regcache::raw_write): Remove assert on m_readonly_p.
+ (regcache::raw_supply_integer): Move it to
+ detached_regcache::raw_supply_integer.
+ (regcache::raw_supply_zeroed): Likewise.
+ * regcache.h (detached_regcache) <raw_supply_integer>: New
+ declaration.
+ <raw_supply_zeroed, invalidate>: Likewise.
+ (regcache) <raw_supply_integer, raw_supply_zeroed>: Removed.
+ <invalidate>: Likewise.
+ <m_readonly_p>: Removed.
+
+2018-02-21 Yao Qi <yao.qi@linaro.org>
+
+ * infcmd.c (get_return_value): Let stop_regs point to
+ get_current_regcache.
+ * regcache.c (regcache::regcache): Remove.
+ (register_dump_reg_buffer): New class.
+ (regcache_print): Adjust.
+ * regcache.h (regcache): Remove constructors.
+
+2018-02-21 Yao Qi <yao.qi@linaro.org>
+
+ * regcache.c (class register_dump): New class.
+ (register_dump_regcache, register_dump_none): New class.
+ (register_dump_remote, register_dump_groups): New class.
+ (regcache_print): Update.
+ * regcache.h (regcache_dump_what): Move it to regcache.c.
+ (regcache) <dump>: Remove.
+
+2018-02-21 Yao Qi <yao.qi@linaro.org>
+
+ * jit.c (struct jit_unwind_private) <regcache>: Change its type to
+ reg_buffer_rw *.
+ (jit_unwind_reg_set_impl): Call raw_supply.
+ (jit_frame_sniffer): Use reg_buffer_rw.
+ * record-full.c (record_full_core_regbuf): Change its type.
+ (record_full_core_open_1): Use reg_buffer_rw.
+ (record_full_close): Likewise.
+ (record_full_core_fetch_registers): Use regcache->raw_supply.
+ (record_full_core_store_registers): Likewise.
+ * regcache.c (regcache::get_register_status): Move it to
+ reg_buffer.
+ (regcache_raw_set_cached_value): Remove.
+ (regcache::raw_set_cached_value): Remove.
+ (regcache::raw_write): Call raw_supply.
+ (regcache::raw_supply): Move it to reg_buffer_rw.
+ * regcache.h (regcache_raw_set_cached_value): Remove.
+ (reg_buffer_rw): New class.
+
+2018-02-21 Yao Qi <yao.qi@linaro.org>
+
+ * dummy-frame.c (dummy_frame_cache) <prev_regcache>: Use
+ readonly_detached_regcache.
+ (dummy_frame_prev_register): Use regcache->cooked_read.
+ * frame.c (frame_save_as_regcache): Change return type.
+ (frame_pop): Update.
+ * frame.h (frame_save_as_regcache): Update declaration.
+ * inferior.h (get_infcall_suspend_state_regcache): Update
+ declaration.
+ * infrun.c (infcall_suspend_state) <registers>: use
+ readonly_detached_regcache.
+ (save_infcall_suspend_state): Don't use regcache_dup.
+ (get_infcall_suspend_state_regcache): Change return type.
+ * linux-fork.c (struct fork_info) <savedregs>: Change to
+ readonly_detached_regcache.
+ <pc>: New field.
+ (fork_save_infrun_state): Don't use regcache_dup.
+ (info_checkpoints_command): Adjust.
+ * mi/mi-main.c (register_changed_p): Update declaration.
+ (mi_cmd_data_list_changed_registers): Use
+ readonly_detached_regcache.
+ (register_changed_p): Change parameter type to
+ readonly_detached_regcache.
+ * ppc-linux-tdep.c (ppu2spu_cache) <regcache>: Use
+ readonly_detached_regcache.
+ (ppu2spu_sniffer): Construct a new readonly_detached_regcache.
+ * regcache.c (readonly_detached_regcache::readonly_detached_regcache):
+ New.
+ (regcache::save): Move it to reg_buffer.
+ (regcache::restore): Change parameter type.
+ (regcache_dup): Remove.
+ * regcache.h (reg_buffer) <save>: New method.
+ (readonly_detached_regcache): New class.
+ * spu-tdep.c (spu2ppu_cache) <regcache>: Use
+ readonly_detached_regcache.
+ (spu2ppu_sniffer): Construct a new readonly_detached_regcache.
+
+2018-02-21 Yao Qi <yao.qi@linaro.org>
+
+ * frame.c (frame_save_as_regcache): Use regcache method save.
+ (frame_pop): Use regcache method restore.
+ * infrun.c (restore_infcall_suspend_state): Likewise.
+ * linux-fork.c (fork_load_infrun_state): Likewise.
+ * ppc-linux-tdep.c (ppu2spu_sniffer): User regcache method
+ save.
+ * regcache.c (regcache_save): Remove.
+ (regcache::restore): More asserts.
+ (regcache_cpy): Remove.
+ * regcache.h (regcache_save): Remove the declaration.
+ (regcache::restore): Move from private to public.
+ Remove the friend declaration of regcache_cpy.
+ (regcache_cpy): Remove declaration.
+
+2018-02-21 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-tdep.c (aarch64_pseudo_register_read_value): Change
+ parameter type to 'readable_regcache *'.
+ * amd64-tdep.c (amd64_pseudo_register_read_value): Likewise.
+ * arm-tdep.c (arm_neon_quad_read): Likewise.
+ (arm_pseudo_read): Likewise.
+ * avr-tdep.c (avr_pseudo_register_read): Likewise.
+ * bfin-tdep.c (bfin_pseudo_register_read): Likewise.
+ * frv-tdep.c (frv_pseudo_register_read): Likewise.
+ * gdbarch.c: Re-generated.
+ * gdbarch.h: Re-generated.
+ * gdbarch.sh (pseudo_register_read): Change parameter type to
+ 'readable_regcache *'.
+ (pseudo_register_read_value): Likewise.
+ * h8300-tdep.c (pseudo_from_raw_register): Likewise.
+ (h8300_pseudo_register_read): Likewise.
+ * hppa-tdep.c (hppa_pseudo_register_read): Likewise.
+ * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Likewise.
+ (i386_pseudo_register_read_into_value): Likewise.
+ (i386_pseudo_register_read_value): Likewise.
+ * i386-tdep.h (i386_pseudo_register_read_into_value): Update
+ declaration.
+ * ia64-tdep.c (ia64_pseudo_register_read): Likewise.
+ * m32c-tdep.c (m32c_raw_read): Likewise.
+ (m32c_read_flg): Likewise.
+ (m32c_banked_register): Likewise.
+ (m32c_banked_read): Likewise.
+ (m32c_sb_read): Likewise.
+ (m32c_part_read): Likewise.
+ (m32c_cat_read): Likewise.
+ (m32c_r3r2r1r0_read): Likewise.
+ (m32c_pseudo_register_read): Likewise.
+ * m68hc11-tdep.c (m68hc11_pseudo_register_read): Likewise.
+ * mep-tdep.c (mep_pseudo_cr32_read): Likewise.
+ (mep_pseudo_cr64_read): Likewise.
+ (mep_pseudo_register_read): Likewise.
+ * mips-tdep.c (mips_pseudo_register_read): Likewise.
+ * msp430-tdep.c (msp430_pseudo_register_read): Likewise.
+ * nds32-tdep.c (nds32_pseudo_register_read): Likewise.
+ * regcache.c (regcache::raw_read): Move it to readable_regcache.
+ (regcache::cooked_read): Likewise.
+ (regcache::cooked_read_value): Likewise.
+ (regcache_cooked_read_signed):
+ (regcache::cooked_read): Likewise.
+ * regcache.h (readable_regcache): New class.
+ (regcache): Inherit readable_regcache. Move some methods to
+ readable_regcache.
+ * rl78-tdep.c (rl78_pseudo_register_read): Change
+ parameter type to 'readable_regcache *'.
+ * rs6000-tdep.c (do_regcache_raw_read): Remove.
+ (e500_pseudo_register_read): Change parameter type to
+ 'readable_regcache *'.
+ (dfp_pseudo_register_read): Likewise.
+ (vsx_pseudo_register_read): Likewise.
+ (efpr_pseudo_register_read): Likewise.
+ * s390-tdep.c (s390_pseudo_register_read): Likewise.
+ * sh-tdep.c (sh_pseudo_register_read): Likewise.
+ * sh64-tdep.c (pseudo_register_read_portions): Likewise.
+ (sh64_pseudo_register_read): Likewise.
+ * sparc-tdep.c (sparc32_pseudo_register_read): Likewise.
+ * sparc64-tdep.c (sparc64_pseudo_register_read): Likewise.
+ * spu-tdep.c (spu_pseudo_register_read_spu): Likewise.
+ (spu_pseudo_register_read): Likewise.
+ * xtensa-tdep.c (xtensa_register_read_masked): Likewise.
+ (xtensa_pseudo_register_read): Likewise.
+
+2018-02-21 Yao Qi <yao.qi@linaro.org>
+
+ * regcache.c (regcache::regcache): Call reg_buffer ctor.
+ (regcache::arch): Move it to reg_buffer::arch.
+ (regcache::register_buffer): Likewise.
+ (regcache::assert_regnum): Likewise.
+ (regcache::num_raw_registers): Likewise.
+ * regcache.h (reg_buffer): New class.
+ (regcache): Inherit reg_buffer.
+
+2018-02-20 Simon Marchi <simon.marchi@ericsson.com>
+
+ * remote-sim.c (gdb_os_printf_filtered, gdb_os_vprintf_filtered,
+ gdb_os_evprintf_filtered, gdb_os_error): Add ATTRIBUTE_PRINTF.
+
+2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add mkstemp.
+
+2018-02-19 Alan Hayward <alan.hayward@arm.com>
+
+ * Makefile.in: (COMMON_SFILES): Add common/*.c files.
+ (SFILES): Remove common/*.c files.
+ (COMMON_OBS): Remove some *.o files built from common/*.c files.
+ * common/common.host: Add common reference.
+ * configure.ac: Likewise.
+ * configure: Regenerate.
+
+2018-02-16 Yao Qi <yao.qi@linaro.org>
+
+ * block.c (block_namespace_info): Inherit allocate_on_obstack.
+ (block_initialize_namespace): Use new.
+ * dwarf2read.c (dwarf2_per_objfile): Inherit allocate_on_obstack.
+ (dwarf2_free_objfile): Use delete.
+ * gdbtypes.c (type_pair): Inherit allocate_on_obstack.
+ (copy_type_recursive): Use new.
+ * gdb_obstack.h (allocate_on_obstack): New.
+
+2018-02-15 Yao Qi <yao.qi@linaro.org>
+
+ PR gdb/22849
+ * inferior.c (exit_inferior_1): Reset inf->control.
+
+2018-02-15 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_to_fixed_value_create): Delete advance
+ declaration.
+
+2018-02-14 Pedro Alves <palves@redhat.com>
+
+ * frame-unwind.c (frame_unwind_try_unwinder): Always call
+ frame_cleanup_after_sniffer on exception.
+
+2018-02-14 Tom Tromey <tom@tromey.com>
+
+ * solist.h (struct target_so_ops) <bfd_open>: Make pathname
+ const.
+ (solib_bfd_open): Make pathname const.
+ * solib.c (solib_bfd_open): Make pathname const.
+ * solib-spu.c (spu_bfd_fopen): Make name const.
+ (spu_bfd_open): Make pathname const.
+ * solib-darwin.c (darwin_bfd_open): Make pathname const.
+ * solib-aix.c (solib_aix_bfd_open): Make pathname const.
+
+2018-02-14 Tom Tromey <tom@tromey.com>
+
+ * symfile.c (symfile_bfd_open): Update.
+ * source.h (openp, source_full_path_of, find_and_open_source):
+ Change argument type to unique_xmalloc_ptr.
+ * source.c (openp): Take a unique_xmalloc_ptr.
+ (source_full_path_of, find_and_open_source): Likewise.
+ (open_source_file, symtab_to_fullname): Update.
+ * solist.h (struct target_so_ops) <find_and_open_solib>: Take a
+ unique_xmalloc_ptr.
+ * solib.c (solib_find_1): Use unique_xmalloc_ptr.
+ (exec_file_find): Update.
+ * psymtab.c (psymtab_to_fullname): Update.
+ * nto-tdep.h (nto_find_and_open_solib): Update.
+ * nto-tdep.c (nto_find_and_open_solib): Change temp_path to a
+ unique_xmalloc_ptr.
+ * exec.c (exec_file_attach): Update.
+ * dwarf2read.c (try_open_dwop_file): Use unique_xmalloc_ptr.
+ * cli/cli-cmds.c (find_and_open_script): Use unique_xmalloc_ptr.
+
+2018-02-14 Tom Tromey <tom@tromey.com>
+
+ * solib.c: Include source.h.
+ * nto-tdep.c: Include source.h.
+ * mi/mi-cmd-env.c: Include source.h.
+ * infcmd.c: Include source.h.
+ * exec.c: Include source.h.
+ * defs.h (enum openp_flag, openp, source_full_path_of, mod_path)
+ (add_path, directory_switch, source_path, init_source_path): Move
+ declarations...
+ * source.h (enum openp_flag, openp, source_full_path_of, mod_path)
+ (add_path, directory_switch, source_path, init_source_path):
+ ...here.
+
+2018-02-14 Tom Tromey <tom@tromey.com>
+
+ * solist.h (exec_file_find, solib_find): Return
+ unique_xmalloc_ptr.
+ (solib_bfd_fopen): Take a const char *.
+ * solib.c (solib_find_1): Return unique_xmalloc_ptr.
+ (exec_file_find, solib_find): Likewise.
+ (solib_bfd_fopen): Do not take ownership of "pathname".
+ (solib_bfd_open): Use unique_xmalloc_ptr.
+ * solib-darwin.c (darwin_bfd_open): Use unique_xmalloc_ptr.
+ * solib-aix.c (solib_aix_bfd_open): Use unique_xmalloc_ptr.
+ * infrun.c (follow_exec): Use unique_xmalloc_ptr.
+ * exec.c (exec_file_locate_attach): Use unique_xmalloc_ptr.
+
+2018-02-14 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (name_match_type_from_name): Remove reference to
+ ada_name_for_lookup in function's documentation.
+ * ada-lang.h (ada_name_for_lookup): Delete declaration.
+
+2018-02-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * defs.h (enum openp_flags): New enum.
+ (OPF_TRY_CWD_FIRST, OPF_SEARCH_IN_PATH, OPF_RETURN_REALPATH):
+ Move to enum openp_flags.
+ (openp_flags): New enum flags.
+ (openp): Change parameter type to openp_flags.
+ * source.c (openp): Change parameter type to openp_flags.
+ * cli/cli-cmds.c (find_and_open_script): Use openp_flags.
+ * dwarf2read.c (try_open_dwop_file): Use openp_flags.
+
+2018-02-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * maint.c (_initialize_maint_cmds): Fix prefix of maint set/show
+ per-command.
+
+2018-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * dwarf2read.c (dwarf2_release_queue): Delete function, move body
+ into...
+ (class dwarf2_queue_guard): ...the destructor of this new class.
+ (dw2_do_instantiate_symtab): Create instance of the new class
+ dwarf2_queue_guard, remove cleanup.
+
+2018-02-09 Tom Tromey <tom@tromey.com>
+
+ * source.c (find_source_lines): Don't reference past the end of
+ the vector.
+
+2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
+
+ * remote.c (remote_btrace_maybe_reopen): Change error message.
+ * btrace.c (btrace_enable): Likewise.
+ (parse_xml_btrace): Likewise.
+ (parse_xml_btrace_conf): Likewise.
+
+2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
+
+ * nat/linux-btrace.c (diagnose_perf_event_open_fail): New.
+ (linux_enable_pt, linux_enable_bts): Call
+ diagnose_perf_event_open_fail.
+
+2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
+
+ * nat/linux-btrace.c (perf_event_pt_event_type): Improve error message.
+ Remove parameter and change return type. Update callers. Move it.
+ (linux_enable_bts, linux_enable_pt): Improve error message.
+ (linux_enable_pt): Remove zero buffer size check.
+ (linux_enable_btrace): Improve error messages. Remove NULL return
+ check.
+
+2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
+
+ * btrace.c (btrace_enable): Remove target_supports_btrace call.
+ * nat/linux-btrace.c (perf_event_pt_event_type): Move.
+ (kernel_supports_bts, kernel_supports_pt, linux_supports_bts)
+ (linux_supports_pt, linux_supports_btrace): Remove.
+ (linux_enable_bts): Call cpu_supports_bts.
+ * nat/linux-btrace.h (linux_supports_btrace): Remove.
+ * remote.c (remote_supports_btrace): Remove.
+ (init_remote_ops): Remove remote_supports_btrace.
+ * target-delegates.c: Regenerated.
+ * target.c (target_supports_btrace): Remove.
+ * target.h (target_ops) <to_supports_btrace>: Remove
+ (target_supports_btrace): Remove.
+ * x86-linux-nat.c (x86_linux_create_target): Remove
+ linux_supports_btrace.
+
+2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
+
+ * nat/linux-btrace.c (linux_enable_btrace): Throw exception if enabling
+ btrace failed.
+ * x86-linux-nat.c (x86_linux_enable_btrace): Catch btrace enabling
+ exception and use message in own exception.
+
+2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
+
+ * nat/linux-btrace.c: Include scoped_fd.h and scoped_mmap.h.
+ (perf_event_pt_event_type): Use gdb_file_up.
+ (linux_enable_bts, linux_enable_pt): Use gdb::unique_xmalloc_ptr,
+ scoped_fd, and scoped_mmap.
+
+2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
+
+ * common/scoped_mmap.h: New.
+ * unittests/scoped_mmap-selftest.c: New.
+ * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+ unittests/scoped_mmap-selftest.c.
+
+2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
+
+ * common/scoped_fd.h: New.
+ * unittests/scoped_fd-selftest.c: New.
+ * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+ unittests/scoped_fd-selftest.c.
+
+2018-02-09 Tom Tromey <tom@tromey.com>
+
+ * auto-load.c (auto_load_section_scripts): Use
+ gdb::unique_xmalloc_ptr.
+
+2018-02-09 Tom Tromey <tom@tromey.com>
+
+ * auto-load.c (execute_script_contents): Use std::string.
+
+2018-02-09 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS <Changes in GDB 8.1>: Clarify that "rbreak" is a new
+ Python function, rather than a new command.
+
+2018-02-08 Tom Tromey <tom@tromey.com>
+
+ * solib.c (solib_find_1): Use std::string.
+ (solib_bfd_fopen): Use unique_xmalloc_ptr.
+
+2018-02-08 Tom Tromey <tom@tromey.com>
+
+ * build-id.c (build_id_to_debug_bfd): Use unique_xmalloc_ptr.
+
+2018-02-08 Tom Tromey <tom@tromey.com>
+
+ * source.c (find_source_lines): Use gdb::def_vector.
+
+2018-02-08 Tom Tromey <tom@tromey.com>
+
+ * macrocmd.c (struct temporary_macro_definition): New.
+ (macro_define_command): Use temporary_macro_definition. Remove
+ cleanups.
+ (free_macro_definition_ptr): Remove.
+
+2018-02-08 Tom Tromey <tom@tromey.com>
+
+ * macroexp.c (maybe_expand): Use std::string.
+
+2018-02-08 Tom Tromey <tom@tromey.com>
+
+ * macroexp.c (struct macro_buffer): Add initializers for some
+ members.
+ (init_buffer, init_shared_buffer, free_buffer)
+ (free_buffer_return_text): Remove.
+ (macro_buffer): New constructors.
+ (~macro_buffer): New destructor.
+ (macro_buffer::set_shared): New method.
+ (macro_buffer::resize_buffer, macro_buffer::appendc)
+ (macro_buffer::appendmem): Now methods, not free functions.
+ (set_token, append_tokens_without_splicing, stringify)
+ (macro_stringify): Update.
+ (gather_arguments): Change return type. Remove argc_p argument,
+ add args_ptr argument. Use std::vector.
+ (substitute_args): Remove argc argument. Accept std::vector.
+ (expand): Update. Use std::vector.
+ (scan, macro_expand, macro_expand_next): Update.
+
+2018-02-08 Tom Tromey <tom@tromey.com>
+
+ * symtab.c (default_collect_symbol_completion_matches_break_on):
+ Use unique_xmalloc_ptr.
+ * macroscope.h: (sal_macro_scope, user_macro_scope)
+ (default_macro_scope): Return unique_xmalloc_ptr.
+ * macroscope.c (sal_macro_scope, user_macro_scope)
+ (default_macro_scope): Return unique_xmalloc_ptr.
+ * macroexp.h (macro_expand, macro_expand_once): Return
+ unique_xmalloc_ptr.
+ * macroexp.c (macro_expand, macro_expand_once): Return
+ unique_xmalloc_ptr.
+ * macrocmd.c (macro_expand_command, macro_expand_once_command)
+ (info_macro_command, info_macros_command): Use
+ unique_xmalloc_ptr.
+ * compile/compile-c-support.c (write_macro_definitions): Use
+ unique_xmalloc_ptr.
+ * c-exp.y (c_parse): Use unique_xmalloc_ptr.
+
+2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
+
+ * value.c (value_static_field): Assign field type instead of
+ containing type when returning an optimized out value.
+
+2018-02-06 Yao Qi <yao.qi@linaro.org>
+
+ * ft32-tdep.c (ft32_read_pc): Remove.
+ (ft32_write_pc): Remove.
+ (ft32_gdbarch_init): Update.
+ * m32r-tdep.c (m32r_read_pc): Remove.
+ (m32r_gdbarch_init): Update.
+ * mep-tdep.c (mep_read_pc): Remove.
+ (mep_gdbarch_init): Update.
+ * microblaze-tdep.c (microblaze_write_pc): Remove.
+ (microblaze_gdbarch_init): Update.
+ * mn10300-tdep.c (mn10300_read_pc): Remove.
+ (mn10300_write_pc): Remove.
+ (mn10300_gdbarch_init): Update.
+ * moxie-tdep.c (moxie_read_pc): Remove.
+ (moxie_write_pc): Remove.
+ (moxie_gdbarch_init): Update.
+
+2018-02-06 Yao Qi <yao.qi@linaro.org>
+
+ * expprint.c (print_subexp_standard): Handle
+ OP_F77_UNDETERMINED_ARGLIST.
+ (dump_subexp_body_standard): Likewise.
+
+2018-02-05 Alan Hayward <alan.hayward@arm.com>
+
+ * target-descriptions.c (tdesc_element_visitor) Add empty
+ implementations.
+ (tdesc_type): Move make_gdb_type from here.
+ (tdesc_type_builtin): Likewise.
+ (tdesc_type_vector): Likewise.
+ (tdesc_type_with_fields): Move make_gdb_type_ functions from here.
+ (make_gdb_type_struct): Move from tdesc_type_with_fields.
+ (make_gdb_type_union): Likewise.
+ (make_gdb_type_flags): Likewise.
+ (make_gdb_type_enum): Likewise.
+ (make_gdb_type): New function.
+ (tdesc_register_type): Use static make_gdb_type.
+
+2018-02-05 Ruslan Kabatsayev <b7.10110111@gmail.com>
+
+ * infcmd.c (default_print_one_register_info): Align natural-format
+ column values consistently one under another.
+ (pad_to_column): New function.
+
+2018-02-05 Joel Brobecker <brobecker@adacore.com>
+
+ * dwarf2read.c (dwarf2_physname): Move commment.
+
+2018-02-01 Leszek Swirski <leszeks@google.com>
+
+ * varobj.c (varobj_formatted_print_options): Allow recursive
+ pretty printing if pretty printing is enabled.
+
+2018-02-01 Leszek Swirski <leszeks@google.com>
+
+ * c-exp.y (lex_one_token, classify_name, yylex): Don't classify
+ names after a structop as a filename.
+
+2018-02-01 Yao Qi <yao.qi@linaro.org>
+
+ * arm-tdep.c (arm_record_data_proc_misc_ld_str): Rewrite it.
+ (arm_record_coproc_data_proc): Likewise.
+
+2018-02-01 Yao Qi <yao.qi@linaro.org>
+
+ * arm-tdep.c (arm_record_extension_space): Change ret to signed.
+
+2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
+
+ * rs6000-tdep.c (skip_prologue): Remove shifting for lr_reg and
+ assign shifted lr_reg to fdata->lr_register when lr_reg is set.
+
+2018-01-31 Pedro Alves <palves@redhat.com>
+
+ * darwin-nat.c (darwin_interrupt): Remove ptid_t parameter.
+ * inflow.c (child_terminal_save_inferior): Wrap reference to
+ tcgetpgrp in HAVE_TERMIOS_H.
+ (child_interrupt, child_pass_ctrlc): Wrap references to signal in
+ _WIN32.
+ * remote-sim.c (gdbsim_interrupt): Remove ptid_t parameter and
+ always iterate over all inferiors.
+ (gdbsim_cntrl_c): Adjust.
+ * windows-nat.c (windows_interrupt): Remove 'ptid_t' parameter.
+
+2018-01-31 Joel Brobecker <brobecker@adacore.com>
+
+ * gdbtypes.c (lookup_array_range_type): Make sure the array's
+ index type is objfile-owned if the element type is as well.
+
+2018-01-31 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 8.1 released.
+
+2018-01-30 Philipp Rudo <prudo@linux.vnet.ibm.com>
+
+ * s390-linux-tdep.c: Remove includes "features/s390-linux32.c" and
+ "features/s390x-linux64.c".
+ (_initialize_s390_linux_tdep): Remove initialization of tdescs
+ s390_linux32 and s390x_linux64.
+ (s390_linux_init_abi_31, s390_linux_init_abi_64): Don't set
+ default tdesc.
+ * s390-tdep.c: Include "features/s390-linux32.c" and
+ "features/s390x-linux64.c".
+ (s390_tdesc_valid): Add check for tdesc_has_registers.
+ (s390_gdbarch_init): Make sure there is always a valid tdesc.
+ (_initialize_s390_tdep): Initialize tdesc_s390_linux32 and
+ tdesc_s390x_linux64.
+ * s390-linux-tdep.h: Move export of tdesc_s390_linux32 and
+ tdesc_s390x_linux64 to...
+ * s390-tdep.h: ...here.
+
+2018-01-30 Pedro Alves <palves@redhat.com>
+
+ PR gdb/13211
+ * config.in, configure: Regenerate.
+ * configure.ac: Check for getpgid.
+ * go32-nat.c (go32_pass_ctrlc): New.
+ (go32_target): Install it.
+ * inf-child.c (inf_child_target): Install
+ child_terminal_save_inferior, child_pass_ctrlc and
+ child_interrupt.
+ * inf-ptrace.c (inf_ptrace_interrupt): Delete.
+ (inf_ptrace_target): No longer install it.
+ * infcmd.c (interrupt_target_1): Adjust.
+ * inferior.h (child_terminal_save_inferior, child_pass_ctrlc)
+ (child_interrupt): Declare.
+ (inferior::terminal_state): New.
+ * inflow.c (struct terminal_info): Update comments.
+ (inferior_process_group): Delete.
+ (terminal_is_ours): Delete.
+ (gdb_tty_state): New.
+ (child_terminal_init): Adjust.
+ (is_gdb_terminal, sharing_input_terminal_1)
+ (sharing_input_terminal): New functions.
+ (child_terminal_inferior): Adjust. Use sharing_input_terminal.
+ Set the process's actual process group in the foreground if
+ possible. Handle is_ours_for_output/is_ours distinction. Don't
+ mark terminal as the inferior's if not sharing GDB's terminal.
+ Don't check attach_flag.
+ (child_terminal_ours_for_output, child_terminal_ours): Adjust to
+ pass down a target_terminal_state.
+ (child_terminal_save_inferior): New, factored out from ...
+ (child_terminal_ours_1): ... this. Handle
+ target_terminal_state::is_ours_for_output.
+ (child_interrupt, child_pass_ctrlc): New.
+ (inflow_inferior_exit): Clear the inferior's terminal_state.
+ (copy_terminal_info): Copy the inferior's terminal state.
+ (_initialize_inflow): Remove reference to terminal_is_ours.
+ * inflow.h (inferior_process_group): Delete.
+ * nto-procfs.c (nto_handle_sigint, procfs_interrupt): Adjust.
+ * procfs.c (procfs_target): Don't install procfs_interrupt.
+ (procfs_interrupt): Delete.
+ * remote.c (remote_serial_quit_handler): Adjust.
+ (remote_interrupt): Remove ptid parameter. Adjust.
+ * target-delegates.c: Regenerate.
+ * target.c: Include "terminal.h".
+ (target_terminal::terminal_state): Rename to ...
+ (target_terminal::m_terminal_state): ... this.
+ (target_terminal::init): Adjust.
+ (target_terminal::inferior): Adjust to per-inferior
+ terminal_state.
+ (target_terminal::restore_inferior, target_terminal_is_ours_kind): New.
+ (target_terminal::ours, target_terminal::ours_for_output): Use
+ target_terminal_is_ours_kind.
+ (target_interrupt): Remove ptid parameter. Adjust.
+ (default_target_pass_ctrlc): Adjust.
+ * target.h (target_ops::to_terminal_save_inferior): New field.
+ (target_ops::to_interrupt): Remove ptid_t parameter.
+ (target_interrupt): Remove ptid_t parameter. Update comment.
+ (target_pass_ctrlc): Update comment.
+ * target/target.h (target_terminal_state): New scoped enum,
+ factored out of ...
+ (target_terminal::terminal_state): ... here.
+ (target_terminal::inferior): Update comments.
+ (target_terminal::restore_inferior): New.
+ (target_terminal::is_inferior, target_terminal::is_ours)
+ (target_terminal::is_ours_for_output): Adjust.
+ (target_terminal::scoped_restore_terminal_state): Adjust to
+ rename, and call restore_inferior() instead of inferior().
+ (target_terminal::scoped_restore_terminal_state::m_state): Change
+ type.
+ (target_terminal::terminal_state): Rename to ...
+ (target_terminal::m_terminal_state): ... this and change type.
+
+2018-01-30 Pedro Alves <palves@redhat.com>
+
+ * linux-nat.c (wait_for_signal): New function.
+ (wait_lwp, linux_nat_wait_1): Use it instead of calling sigsuspend
+ directly.
+ (async_terminal_is_ours)
+ (linux_nat_terminal_inferior, linux_nat_terminal_ours): Delete.
+ (linux_nat_add_target): Don't override
+ to_terminal_inferior/to_terminal_ours.
+
+2018-01-29 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * remote.c (remote_follow_fork): Don't call "detach_inferior".
+
2018-01-28 Simon Marchi <simon.marchi@ericsson.com>
* dwarf2read.c (free_dwo_files): Add forward-declaration.