gdb/NEWS: Clarify the news entry for "rbreak" in GDB 8.1
[binutils-gdb.git] / gdb / ChangeLog
index f7fccd98b6985cc92f3191970cdd253da8e0ff7e..3e5b324472a9548d5ccccf05eadbe95e33649efb 100644 (file)
@@ -1,3 +1,736 @@
+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.
+       (dwarf2_per_objfile::~dwarf2_per_objfile): Move content from
+       dwarf2_per_objfile_free here.
+       (dwarf2_per_objfile_free): Remove.
+       (_initialize_dwarf2_read): Don't register
+       dwarf2_per_objfile_free as a registry cleanup.
+
+2018-01-27  Eli Zaretskii  <eliz@gnu.org>
+
+       Avoid compilation errors in MinGW native builds
+
+       The error is triggered by including python-internal.h, and the
+       error message is:
+
+            In file included from d:\usr\lib\gcc\mingw32\6.3.0\include\c++\math.h:36:0,
+                     from build-gnulib/import/math.h:27,
+                     from d:/usr/Python26/include/pyport.h:235,
+                     from d:/usr/Python26/include/Python.h:58,
+                     from python/python-internal.h:94,
+                     from python/py-arch.c:24:
+            d:\usr\lib\gcc\mingw32\6.3.0\include\c++\cmath:1157:11: error: '::hypot' has not been declared
+       using ::hypot;
+               ^~~~~
+
+       This happens because Python headers define 'hypot' to expand t
+       '_hypot' in the Windows builds.
+       * python/python-internal.h (_hypot) [__MINGW32__]: Define back to
+       'hypoth'.  This avoids a compilation error.
+
+2018-01-26  Alan Hayward  <alan.hayward@arm.com>
+
+       * MAINTAINERS (Write After Approval): Fix ordering.
+
+2018-01-26  Alan Hayward  <alan.hayward@arm.com>
+
+       * MAINTAINERS (Write After Approval): Add Alan Hayward.
+
+2018-01-26  Alan Modra  <amodra@gmail.com>
+
+       * ppc-linux-tdep.c (powerpc32_plt_stub): Make const.
+       (powerpc32_plt_stub_so_1): Rename from powerpc32_plt_stub_so.
+       Remove nop.  Make const.  Comment.
+       (powerpc32_plt_stub_so_2): New.
+       (POWERPC32_PLT_CHECK_LEN): Rename from POWERPC32_PLT_STUB_LEN.
+       Correct count.  Update uses.
+       (ppc_skip_trampoline_code): Match powerpc32_plt_stub_so_2 too.
+       Move common code reading PLT entry word.  Correct
+       powerpc32_plt_stub PLT address calculation.
+       * ppc64-tdep.c (ppc64_standard_linkage1): Make const.
+       (ppc64_standard_linkage2, ppc64_standard_linkage3): Likewise.
+       (ppc64_standard_linkage4, ppc64_standard_linkage5): Likewise.
+       (ppc64_standard_linkage6, ppc64_standard_linkage7): Likewise.
+       (ppc64_standard_linkage8): Likewise.
+       * rs6000-tdep.c (ppc_insns_match_pattern): Make pattern const.
+       Correct insns description.
+       * ppc-tdep.h (ppc_insns_match_pattern): Update prototype.
+
+2018-01-24  Pedro Alves  <palves@redhat.com>
+
+       GCC PR libstdc++/83906
+       * gdbtypes.c (operator==(const dynamic_prop &,
+       const dynamic_prop &)): New.
+       (operator==(const range_bounds &, const range_bounds &)): New.
+       (check_types_equal): Use them instead of memcmp.
+       * gdbtypes.h (operator==(const dynamic_prop &,
+       const dynamic_prop &)): Declare.
+       (operator!=(const dynamic_prop &, const dynamic_prop &)): Declare.
+       (operator==(const range_bounds &, const range_bounds &)): Declare.
+       (operator!=(const range_bounds &, const range_bounds &)): Declare.
+
+2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c (s390_record_address_mask)
+       (s390_record_calc_disp_common, s390_record_calc_disp)
+       (s390_record_calc_disp_vsce, s390_record_calc_rl, s390_popcnt)
+       (s390_record_gpr_g, s390_record_gpr_h, s390_record_vr)
+       (s390_process_record): Move to s390-tdep.c.
+       (s390_linux_init_abi_any): Adjust.
+       * s390-tdep.c (s390_record_address_mask)
+       (s390_record_calc_disp_common, s390_record_calc_disp)
+       (s390_record_calc_disp_vsce, s390_record_calc_rl, s390_popcnt)
+       (s390_record_gpr_g, s390_record_gpr_h, s390_record_vr)
+       (s390_process_record): Moved from s390-linux-tdep.c
+       (s390_gdbarch_init): Adjust.
+
+2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
+
+       * s390-linux-nat.c (s390-tdep.h): New include.
+       * Makefile.in (ALL_TARGET_OBS): Add s390-tdep.o.
+       (HFILES_NO_SRCDIR): Add s390-tdep.h.
+       (ALLDEPFILES): Add s390-tdep.c.
+       * configure.tgt (s390*-*-linux*): Add s390-tdep.o.
+       * s390-linux-tdep.h (HWCAP_S390_*, S390_*_REGNUM): Move to...
+       * s390-tdep.h: ...this.  New file.
+       * s390-linux-tdep.c (s390-tdep.h): New include.
+       (_initialize_s390_tdep): Rename to...
+       (_initialize_s390_linux_tdep): ...this and adjust.
+       (s390_abi_kind, s390_vector_abi_kind, gdbarch_tdep)
+       (enum named opcodes, S390_NUM_GPRS, S390_NUM_FPRS): Move to
+       s390-tdep.h.
+       (s390_break_insn, s390_breakpoint, s390_readinstruction, is_ri)
+       (is_ril, is_rr, is_rre, is_rs, is_rsy, is_rx, is_rxy)
+       (s390_is_partial_instruction, s390_software_single_step)
+       (is_non_branch_ril, s390_displaced_step_copy_insn)
+       (s390_displaced_step_fixup, s390_displaced_step_hw_singlestep)
+       (s390_prologue_data, s390_addr, s390_store, s390_load)
+       (s390_check_for_saved, s390_analyze_prologue, s390_skip_prologue)
+       (s390_register_call_saved, s390_guess_tracepoint_registers)
+       (s390_register_name, s390_dwarf_regmap, s390_dwarf_reg_to_regnum)
+       (regnum_is_gpr_full, regnum_is_vxr_full, s390_value_from_register)
+       (s390_pseudo_register_name, s390_pseudo_register_type)
+       (s390_pseudo_register_read, s390_pseudo_register_write)
+       (s390_pseudo_register_reggroup_p, s390_ax_pseudo_register_collect)
+       (s390_ax_pseudo_register_push_stack, s390_gen_return_address)
+       (s390_addr_bits_remove, s390_address_class_type_flags)
+       (s390_address_class_type_flags_to_name)
+       (s390_address_class_name_to_type_flags, s390_effective_inner_type)
+       (s390_function_arg_float, s390_function_arg_vector)
+       (is_power_of_two, s390_function_arg_integer, s390_arg_state)
+       (s390_handle_arg, s390_push_dummy_call, s390_dummy_id)
+       (s390_frame_align, s390_register_return_value, s390_return_value)
+       (s390_stack_frame_destroyed_p, s390_unwind_pc, s390_unwind_sp)
+       (s390_unwind_pseudo_register, s390_adjust_frame_regnum)
+       (s390_dwarf2_prev_register, s390_dwarf2_frame_init_reg)
+       (s390_trad_frame_prev_register, s390_unwind_cache)
+       (s390_prologue_frame_unwind_cache)
+       (s390_backchain_frame_unwind_cache, s390_frame_unwind_cache)
+       (s390_frame_this_id, s390_frame_prev_register, s390_frame_unwind)
+       (s390_stub_unwind_cache, s390_stub_frame_unwind_cache)
+       (s390_stub_frame_this_id, s390_stub_frame_prev_register)
+       (s390_stub_frame_sniffer, s390_stub_frame_unwind)
+       (s390_frame_base_address, s390_local_base_address)
+       (s390_frame_base, s390_gcc_target_options)
+       (s390_gnu_triplet_regexp, s390_stap_is_single_operand)
+       (s390_validate_reg_range, s390_tdesc_valid)
+       (s390_gdbarch_tdep_alloc, s390_gdbarch_init): Move to...
+       * s390-tdep.c: ...this.  New file.
+
+2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c (gdbarch_tdep.s390_syscall_record): New hook.
+       (s390_process_record, s390_gdbarch_tdep_alloc)
+       (s390_linux_init_abi_any): Use/set new hook.
+
+2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c (osabi.h): New include.
+       (s390_linux_init_abi_31, s390_linux_init_abi_64)
+       (s390_linux_init_abi_any): New functions.
+       (s390_gdbarch_init, _initialize_s390_tdep): Adjust.
+
+2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c (s390_gdbarch_init): Use gdb_assert for
+       tdesc_has_registers check
+
+2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c (s390_tdesc_valid): New function.
+       (s390_validate_reg_range): New macro.
+       (s390_gdbarch_init): Adjust.
+
+2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c (gdbarch_tdep) <tdesc>: New field.
+       (s390_gdbarch_tdep_alloc): Adjust.
+       (s390_gdbarch_init): Adjust.
+
+2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c (gdbarch_tdep) <have_linux_v1, have_linux_v2>
+       <have_tdb>: Change type to bool.
+       (s390_gdbarch_tdep_alloc): Adjust.
+       (s390_gdbarch_init): Adjust.
+
+2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
+
+       * s390-linux-tdep (s390_abi_kind) <ABI_NONE>: New default field.
+       (gdbarch_tdep) <have_upper, have_vx>: New fields.
+       (s390_gdbarch_tdep_alloc): New function.
+       (s390_gdbarch_init): Allocate tdep at start and use its fields
+       instead of separate variables.
+
+2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c (s390_gdbarch_init): Remove duplicate checks
+       when looking for cached gdbarch and add comment for remaining.
+
+2018-01-22  Pedro Alves  <palves@redhat.com>
+           Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * typeprint.c (whatis_exp): Initialize "val" in the "whatis type"
+       case.
+
+2018-01-22  Maciej W. Rozycki  <macro@mips.com>
+
+       * MAINTAINERS: Update my company e-mail address.
+
+2018-01-22  Yao Qi  <yao.qi@linaro.org>
+
+       * regcache.c (cooked_write_test): New function.
+       (_initialize_regcache): Register the test.
+
+2018-01-22  Yao Qi  <yao.qi@linaro.org>
+
+       * ia64-tdep.c (ia64_pseudo_register_read): Call
+       regcache->cooked_read instead of regcache_cooked_read_unsigned.
+       * m32c-tdep.c (m32c_cat_read): Likewise.
+       (m32c_r3r2r1r0_read): Likewise.
+       * m68hc11-tdep.c (m68hc11_pseudo_register_read): Likewise.
+       * xtensa-tdep.c (xtensa_register_read_masked): Likewise.
+
+2018-01-22  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-tdep.c (aarch64_pseudo_read_value): Call regcache
+       method raw_read instead of regcache_raw_read.
+       * amd64-tdep.c (amd64_pseudo_register_read_value): Likewise.
+       * arm-tdep.c (arm_neon_quad_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.
+       * h8300-tdep.c (h8300_pseudo_register_read): Likewise.
+       * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Likewise.
+       (i386_pseudo_register_read_into_value): Likewise.
+       * mep-tdep.c (mep_pseudo_cr32_read): Likewise.
+       * msp430-tdep.c (msp430_pseudo_register_read): Likewise.
+       * nds32-tdep.c (nds32_pseudo_register_read): Likewise.
+       * rl78-tdep.c (rl78_pseudo_register_read): Likewise.
+       * s390-linux-tdep.c (s390_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.
+       * xtensa-tdep.c (xtensa_pseudo_register_read): Likewise.
+
+2018-01-22  Yao Qi  <yao.qi@linaro.org>
+
+       * Makefile.in (ALL_TARGET_OBS): Remove mt-tdep.o.
+       * configure.tgt: Remove target mt.
+       * mt-tdep.c: Remove.
+       * regcache.c (cooked_read_test): Remove the check for mt.
+
+2018-01-22  Yao Qi  <yao.qi@linaro.org>
+
+       * jit.c (jit_frame_prev_register): Call regcache::cooked_read
+       instead of gdbarch_pseudo_register_read_value.
+
+2018-01-22  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2read.c (need_gnat_info): Return nonzero if the cu's
+       language is Ada.
+
+2018-01-22  Joel Brobecker  <brobecker@adacore.com>
+
+       * linespec.c (create_sals_line_offset): Remove code that preserved
+       the symtab_and_line's line number.
+
+2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * varobj.c (varobj_create): Don't set valid_block when creating a
+       floating varobj.
+
+2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * varobj.c (varobj_create): Remove out of date comment.
+
+2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR mi/20395
+       * ada-exp.y (write_var_from_sym): Pass extra parameter when
+       updating innermost block.
+       * parse.c (innermost_block_tracker::update): Take extra type
+       parameter, and check types match before updating innermost block.
+       (write_dollar_variable): Update innermost block for registers.
+       * parser-defs.h (enum innermost_block_tracker_type): New enum.
+       (innermost_block_tracker::innermost_block_tracker): Initialise
+       m_types member.
+       (innermost_block_tracker::reset): Take type parameter.
+       (innermost_block_tracker::update): Take type parameter, and pass
+       type through as needed.
+       (innermost_block_tracker::m_types): New member.
+       * varobj.c (varobj_create): Pass type when reseting innermost
+       block.
+
+2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-exp.y (write_var_from_sym): Switch to innermost_block API.
+       * ada-lang.c (resolve_subexp): Likewise.
+       * breakpoint.c (set_breakpoint_condition) Likewise.
+       (watch_command_1) Likewise.
+       * c-exp.y (variable): Likewise.
+       * d-exp.y (PrimaryExpression): Likewise.
+       * f-exp.y (variable): Likewise.
+       * go-exp.y (variable): Likewise.
+       * m2-exp.y (variable): Likewise.
+       * objfiles.c (objfile::~objfile): Likewise.
+       * p-exp.y (variable): Likewise.
+       * parse.c (innermost_block): Change type.
+       * parser-defs.h (class innermost_block_tracker): New.
+       (innermost_block): Change to innermost_block_tracker.
+       * printcmd.c (display_command): Switch to innermost_block API.
+       (do_one_display): Likewise.
+       * rust-exp.y (do_one_display): Likewise.
+       * symfile.c (clear_symtab_users): Likewise.
+       * varobj.c (varobj_create): Switch to innermost_block API, replace
+       use of innermost_block with block stored on varobj object.
+
+2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * expression.h (innermost_block): Remove declaration.
+       * varobj.c: Add 'parser-defs.h' include.
+
+2018-01-19  Tom Tromey  <tom@tromey.com>
+
+       * rust-lang.c (rust_lookup_symbol_nonlocal): Look up qualified
+       symbols in the static and global blocks.
+
+2018-01-19  James Clarke  <jrtc27@jrtc27.com>
+
+       * nat/linux-ptrace.c: Remove unnecessary reinclusion of
+       gdb_ptrace.h, and move including gdb_wait.h ...
+       * nat/linux-ptrace.h: ... to here.
+
+2018-01-19  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * inf-ptrace.c (inf_ptrace_detach): Adjust call to
+       inf_ptrace_detach_success.
+       (inf_ptrace_detach_success): Add inferior parameter, use it
+       instead of inferior_ptid, pass it to detach_inferior.
+       * inf-ptrace.h (inf_ptrace_detach_success): Add inferior
+       parameter.
+       * inferior.c (detach_inferior): Add overload that takes an
+       inferior object.
+       * inferior.h (detach_inferior): Likewise.
+       * linux-nat.c (linux_nat_detach): Use the inf parameter, don't
+       use inferior_ptid, adjust call to inf_ptrace_detach_success.
+       * linux-thread-db.c (thread_db_detach): Use inf parameter.
+
+2018-01-19  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * target.h (struct target_ops) <to_detach>: Add inferior
+       parameter.
+       (target_detach): Likewise.
+       * target.c (dispose_inferior): Pass inferior down.
+       (target_detach): Pass inferior down.  Assert that it is equal to
+       the current inferior.
+       * aix-thread.c (aix_thread_detach): Pass inferior down.
+       * corefile.c (core_file_command): Pass current_inferior() down.
+       * corelow.c (core_detach): Add inferior parameter.
+       * darwin-nat.c (darwin_detach): Likewise.
+       * gnu-nat.c (gnu_detach): Likewise.
+       * inf-ptrace.c (inf_ptrace_detach): Likewise.
+       * infcmd.c (detach_command): Pass current_inferior() down to
+       target_detach.
+       * infrun.c (follow_fork_inferior): Pass parent_inf to
+       target_detach.
+       (handle_vfork_child_exec_or_exit): Pass inf->vfork_parent to
+       target_detach.
+       * linux-nat.c (linux_nat_detach): Add inferior parameter.
+       * linux-thread-db.c (thread_db_detach): Likewise.
+       * nto-procfs.c (procfs_detach): Likewise.
+       * procfs.c (procfs_detach): Likewise.
+       * record.c (record_detach): Likewise.
+       * record.h (struct inferior): Forward-declare.
+       (record_detach): Add inferior parameter.
+       * remote-sim.c (gdbsim_detach): Likewise.
+       * remote.c (remote_detach_1): Likewise.
+       (remote_detach): Likewise.
+       (extended_remote_detach): Likewise.
+       * sol-thread.c (sol_thread_detach): Likewise.
+       * target-debug.h (target_debug_print_inferior_p): New macro.
+       * target-delegates.c: Re-generate.
+       * top.c (kill_or_detach): Pass inferior down to target_detach.
+       * windows-nat.c (windows_detach): Add inferior parameter.
+
+2018-01-19  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * target.h (struct target_ops) <to_detach>: Remove args
+       parameter.
+       (target_detach): Likewise.
+       * target.c (dispose_inferior): Adjust.
+       (target_detach): Remove args parameter, adjust.
+       * aix-thread.c (aix_thread_detach): Adjust.
+       * corefile.c (core_file_command): Adjust.
+       * corelow.c (core_detach): Adjust.
+       * darwin-nat.c (darwin_detach): Adjust.
+       * gnu-nat.c (gnu_detach): Adjust.
+       * inf-ptrace.c (inf_ptrace_detach): Adjust.
+       * infcmd.c (detach_command): Adjust
+       * infrun.c (follow_fork_inferior): Adjust.
+       (handle_vfork_child_exec_or_exit): Adjust.
+       * linux-fork.c (linux_fork_detach): Remove args parameter.
+       * linux-fork.h (linux_fork_detach): Likewise.
+       * linux-nat.c (linux_nat_detach): Likewise, and adjust.
+       * linux-thread-db.c (thread_db_detach): Likewise.
+       * nto-procfs.c (procfs_detach): Likewise.
+       * procfs.c (procfs_detach): Likewise.
+       (do_detach): Remove signo parameter.
+       * record.c (record_detach): Remove args parameter.
+       * record.h (record_detach): Likewise.
+       * remote-sim.c (gdbsim_detach): Likewise.
+       * remote.c (remote_detach_1): Likewise.
+       (remote_detach): Likewise.
+       (extended_remote_detach): Likewise.
+       * sol-thread.c (sol_thread_detach): Likewise.
+       * target-delegates.c: Re-generate.
+       * top.c (struct qt_args) <args>: Remove field.
+       (kill_or_detach): Don't pass args.
+       (quit_force): Don't set args.
+       * windows-nat.c (windows_detach): Remove args parameter.
+
+2018-01-19  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-tdep.c (arm_linux_gcc_target_options): New function.
+       (arm_linux_init_abi): Install it.
+
+2018-01-19  Yao Qi  <yao.qi@linaro.org>
+
+       * osabi.c (gdb_osabi_names): Extend the regexp for
+       arm-linux-gnueabihf.
+
+2018-01-18  Yao Qi  <yao.qi@linaro.org>
+
+       * dwarf2read.c (abbrev_table) <abbrevs>: Rename it to
+       m_abbrevs.
+       (abbrev_table::add_abbrev): Update.
+       (abbrev_table::lookup_abbrev): Update.
+
+2018-01-18  Yao Qi  <yao.qi@linaro.org>
+
+       * ppc-linux-tdep.c (ppu2spu_prev_register): Call cooked_read.
+
+2018-01-17  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * compile/compile.c (compile_to_object): Convert "triplet_rx"
+       to "std::string".
+
+2018-01-17  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (symbolp): Remove typedef.  Don't instantiate VEC.
+
+2018-01-17  Tom Tromey  <tom@tromey.com>
+
+       * gdbtypes.h (add_dyn_prop): Remove objfile parameter.
+       * gdbtypes.c (add_dyn_prop): Remove objfile parameter.
+       (create_array_type_with_stride): Update.
+       * dwarf2read.c (set_die_type): Update.
+
+2018-01-17  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (delayed_method_info): Remove typedef.
+       (dwarf2_cu::method_info): Now a std::vector.
+       (add_to_method_list): Update.
+       (free_delayed_list): Remove.
+       (compute_delayed_physnames): Update.
+       (process_full_comp_unit, process_full_type_unit): Clear the method
+       list.  Remove cleanups.
+       (psymtab_include_file_name): Add name_holder parameter.  Use
+       unique_xmalloc_ptr.
+       (dwarf_decode_lines): Update.
+
 2018-01-17  Tom Tromey  <tom@tromey.com>
            Simon Marchi  <simon.marchi@ericsson.com>