+2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
+
+ * python/py-record-btrace.c (btpy_insn_data): Change return type
+ for Python 2.
+
+2017-03-20 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * spu-linux-nat.c (spu_fetch_inferior_registers,
+ spu_store_inferior_registers): Use ptid from regcache, set and
+ restore inferior_ptid.
+ * spu-multiarch.c (spu_fetch_registers, spu_store_registers):
+ Likewise.
+
+2017-03-20 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * i386-linux-nat.c (fetch_register, store_register,
+ i386_linux_fetch_inferior_registers,
+ i386_linux_store_inferior_registers): Use ptid from regcache.
+ * ia64-linux-nat.c (ia64_linux_fetch_register,
+ ia64_linux_store_register): Likewise.
+ * inf-ptrace.c (inf_ptrace_fetch_register,
+ inf_ptrace_store_register): Likewise.
+ * m32r-linux-nat.c (m32r_linux_fetch_inferior_registers,
+ m32r_linux_store_inferior_registers): Likewise.
+ * m68k-bsd-nat.c (m68kbsd_fetch_inferior_registers,
+ m68kbsd_store_inferior_registers): Likewise.
+ * m68k-linux-nat.c (fetch_register, store_register,
+ m68k_linux_fetch_inferior_registers,
+ m68k_linux_store_inferior_registers): Likewise.
+ * m88k-bsd-nat.c (m88kbsd_fetch_inferior_registers,
+ m88kbsd_store_inferior_registers): Likewise.
+ * mips-fbsd-nat.c (mips_fbsd_fetch_inferior_registers,
+ mips_fbsd_store_inferior_registers): Likewise.
+ * mips-linux-nat.c (mips64_linux_regsets_fetch_registers,
+ mips64_linux_regsets_store_registers): Likewise.
+ * mips-nbsd-nat.c (mipsnbsd_fetch_inferior_registers,
+ mipsnbsd_store_inferior_registers): Likewise.
+ * mips-obsd-nat.c (mips64obsd_fetch_inferior_registers,
+ mips64obsd_store_inferior_registers): Likewise.
+ * nto-procfs.c (procfs_fetch_registers, procfs_store_registers):
+ Likewise.
+ * ppc-fbsd-nat.c (ppcfbsd_fetch_inferior_registers,
+ ppcfbsd_store_inferior_registers): Likewise.
+ * ppc-linux-nat.c (ppc_linux_fetch_inferior_registers,
+ ppc_linux_store_inferior_registers): Likewise.
+ * ppc-nbsd-nat.c (ppcnbsd_fetch_inferior_registers,
+ ppcnbsd_store_inferior_registers): Likewise.
+ * ppc-obsd-nat.c (ppcobsd_fetch_registers,
+ ppcobsd_store_registers): Likewise.
+ * procfs.c (procfs_fetch_registers, procfs_store_registers):
+ Likewise.
+ * ravenscar-thread.c (ravenscar_fetch_registers,
+ ravenscar_store_registers, ravenscar_prepare_to_store):
+ Likewise.
+ * record-btrace.c (record_btrace_fetch_registers,
+ record_btrace_store_registers, record_btrace_prepare_to_store):
+ Likewise.
+ * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register):
+ Lookup inferior using ptid from regcache, instead of
+ current_inferior.
+ * remote.c (remote_fetch_registers, remote_store_registers): Use
+ ptid from regcache.
+ * rs6000-nat.c (fetch_register, store_register): Likewise.
+ * s390-linux-nat.c (s390_linux_fetch_inferior_registers,
+ s390_linux_store_inferior_registers): Likewise.
+ * sh-nbsd-nat.c (shnbsd_fetch_inferior_registers,
+ shnbsd_store_inferior_registers): Likewise.
+ * sol-thread.c (sol_thread_fetch_registers,
+ sol_thread_store_registers): Likewise.
+ * sparc-nat.c (sparc_fetch_inferior_registers,
+ sparc_store_inferior_registers): Likewise.
+ * tilegx-linux-nat.c (fetch_inferior_registers,
+ store_inferior_registers): Likewise.
+ * vax-bsd-nat.c (vaxbsd_fetch_inferior_registers,
+ vaxbsd_store_inferior_registers): Likewise.
+ * xtensa-linux-nat.c (fetch_gregs, store_gregs, fetch_xtregs,
+ store_xtregs): Likewise.
+
+2017-03-20 Artemiy Volkov <artemiyv@acm.org>
+
+ PR gdb/14441
+ * NEWS: Mention support for rvalue references in GDB and python.
+ * doc/gdb.texinfo (C Plus Plus Expressions): Mention that GDB
+ supports both lvalue and rvalue references.
+
+2017-03-20 Artemiy Volkov <artemiyv@acm.org>
+
+ PR gdb/14441
+ * gdbtypes.c (rank_one_type): Implement overloading
+ resolution rules regarding rvalue references.
+
+2017-03-20 Artemiy Volkov <artemiyv@acm.org>
+
+ PR gdb/14441
+ * aarch64-tdep.c (aarch64_type_align)
+ (aarch64_extract_return_value, aarch64_store_return_value): Change
+ lvalue reference type checks to general reference type checks.
+ * amd64-tdep.c (amd64_classify): Likewise.
+ * amd64-windows-tdep.c (amd64_windows_passed_by_integer_register):
+ Likewise.
+ * arm-tdep.c (arm_type_align, arm_extract_return_value)
+ (arm_store_return_value): Likewise.
+ * ax-gdb.c (gen_fetch, gen_cast): Likewise.
+ * c-typeprint.c (c_print_type): Likewise.
+ * c-varobj.c (adjust_value_for_child_access, c_value_of_variable)
+ (cplus_number_of_children, cplus_describe_child): Likewise.
+ * compile/compile-c-symbols.c (generate_vla_size): Likewise.
+ * completer.c (expression_completer): Likewise.
+ * cp-support.c (make_symbol_overload_list_adl_namespace):
+ Likewise.
+ * darwin-nat-info.c (info_mach_region_command): Likewise.
+ * dwarf2loc.c (entry_data_value_coerce_ref)
+ (value_of_dwarf_reg_entry): Likewise.
+ * eval.c (ptrmath_type_p, evaluate_subexp_standard)
+ (evaluate_subexp_for_address, evaluate_subexp_for_sizeof):
+ Likewise.
+ * findvar.c (extract_typed_address, store_typed_address):
+ Likewise.
+ * gdbtypes.c (rank_one_type): Likewise.
+ * hppa-tdep.c (hppa64_integral_or_pointer_p): Likewise.
+ * infcall.c (value_arg_coerce): Likewise.
+ * language.c (pointer_type): Likewise.
+ * m32c-tdep.c (m32c_reg_arg_type, m32c_m16c_address_to_pointer):
+ Likewise.
+ * m88k-tdep.c (m88k_integral_or_pointer_p): Likewise.
+ * mn10300-tdep.c (mn10300_type_align): Likewise.
+ * msp430-tdep.c (msp430_push_dummy_call): Likewise.
+ * ppc-sysv-tdep.c (do_ppc_sysv_return_value)
+ (ppc64_sysv_abi_push_param, ppc64_sysv_abi_return_value):
+ Likewise.
+ * printcmd.c (print_formatted, x_command): Likewise.
+ * python/py-type.c (typy_get_composite, typy_template_argument):
+ Likewise.
+ * python/py-value.c (valpy_referenced_value)
+ (valpy_get_dynamic_type, value_has_field): Likewise.
+ * s390-linux-tdep.c (s390_function_arg_integer): Likewise.
+ * sparc-tdep.c (sparc_integral_or_pointer_p): Likewise.
+ * sparc64-tdep.c (sparc64_integral_or_pointer_p): Likewise.
+ * spu-tdep.c (spu_scalar_value_p): Likewise.
+ * symtab.c (lookup_symbol_aux): Likewise.
+ * typeprint.c (whatis_exp, print_type_scalar): Likewise.
+ * valarith.c (binop_types_user_defined_p, unop_user_defined_p):
+ Likewise.
+ * valops.c (value_cast_pointers, value_cast)
+ (value_reinterpret_cast, value_dynamic_cast, value_addr, typecmp)
+ (value_struct_elt, value_struct_elt_bitpos)
+ (value_find_oload_method_list, find_overload_match)
+ (value_rtti_indirect_type): Likewise.
+ * valprint.c (val_print_scalar_type_p, generic_val_print):
+ Likewise.
+ * value.c (value_actual_type, value_as_address, unpack_long)
+ (pack_long, pack_unsigned_long, coerce_ref_if_computed)
+ (coerce_ref): Likewise.
+ * varobj.c (varobj_get_value_type): Likewise.
+
+2017-03-20 Artemiy Volkov <artemiyv@acm.org>
+
+ PR gdb/14441
+ * doc/python.texi (Types in Python): Add TYPE_CODE_RVALUE_REF to
+ table of constants.
+ * python/lib/gdb/command/explore.py: Support exploring values
+ of rvalue reference types.
+ * python/lib/gdb/types.py: Implement get_basic_type() for
+ rvalue reference types.
+ * python/py-type.c (pyty_codes) <TYPE_CODE_RVALUE_REF>: New
+ constant.
+ * python/py-value.c (valpy_getitem): Add an rvalue reference
+ check.
+ (valpy_reference_value): Add new parameter "refcode".
+ (valpy_lvalue_reference_value, valpy_rvalue_reference_value):
+ New wrappers for valpy_reference_value().
+ * python/py-xmethods.c (gdbpy_get_xmethod_result_type)
+ (gdbpy_invoke_xmethod): Likewise.
+
+2017-03-20 Artemiy Volkov <artemiyv@acm.org>
+
+ PR gdb/14441
+ * dwarf2read.c (process_die, read_type_die_1): Handle the
+ DW_TAG_rvalue_reference_type DIE.
+ (read_tag_reference_type): Add new parameter "refcode".
+
+2017-03-20 Artemiy Volkov <artemiyv@acm.org>
+
+ PR gdb/14441
+ * c-typeprint.c (c_print_type, c_type_print_varspec_prefix)
+ (c_type_print_modifier, c_type_print_varspec_suffix)
+ (c_type_print_base): Support printing rvalue reference types.
+ * c-valprint.c (c_val_print, c_value_print): Support printing
+ rvalue reference values.
+
+2017-03-20 Artemiy Volkov <artemiyv@acm.org>
+
+ PR gdb/14441
+ * cp-name-parser.y (ptr_operator): Handle the '&&' token in
+ typename.
+ * cp-support.c (replace_typedefs): Handle
+ DEMANGLE_COMPONENT_RVALUE_REFERENCE.
+ * python/py-type.c (typy_lookup_type): Likewise.
+
+2017-03-20 Artemiy Volkov <artemiyv@acm.org>
+
+ PR gdb/14441
+ * c-exp.y (ptr_operator): Handle the '&&' token in the typename.
+ * parse.c (insert_type): Change assert statement.
+ (follow_types): Handle rvalue reference types.
+ * parser-defs.h (enum type_pieces) <tp_rvalue_reference>: New
+ constant.
+
+2017-03-20 Artemiy Volkov <artemiyv@acm.org>
+
+ PR gdb/14441
+ * ada-lang.c (ada_evaluate_subexp): Adhere to the new
+ value_ref() interface.
+ * c-valprint.c (c_value_print): Likewise.
+ * infcall.c (value_arg_coerce): Likewise.
+ * python/py-value.c (valpy_reference_value): Likewise.
+ * valops.c (value_cast, value_reinterpret_cast)
+ (value_dynamic_cast, typecmp): Likewise.
+ (value_ref): Parameterize by kind of return value reference type.
+ * value.h (value_ref): Add new parameter "refcode".
+
+2017-03-20 Artemiy Volkov <artemiyv@acm.org>
+
+ PR gdb/14441
+ * dwarf2read.c (read_tag_reference_type): Use
+ lookup_lvalue_reference_type() instead of lookup_reference_type().
+ * eval.c (evaluate_subexp_standard): Likewise.
+ * f-exp.y: Likewise.
+ * gdbtypes.c (make_reference_type, lookup_reference_type):
+ Generalize with rvalue reference types.
+ (lookup_lvalue_reference_type, lookup_rvalue_reference_type): New
+ convenience wrappers for lookup_reference_type().
+ * gdbtypes.h (make_reference_type, lookup_reference_type): Add a
+ reference kind parameter.
+ (lookup_lvalue_reference_type, lookup_rvalue_reference_type): Add
+ wrappers for lookup_reference_type().
+ * guile/scm-type.c (gdbscm_type_reference): Use
+ lookup_lvalue_reference_type() instead of lookup_reference_type().
+ * guile/scm-value.c (gdbscm_value_dynamic_type): Likewise.
+ * parse.c (follow_types): Likewise.
+ * python/py-type.c (typy_reference, typy_lookup_type): Likewise.
+ * python/py-value.c (valpy_get_dynamic_type, valpy_getitem):
+ Likewise.
+ * python/py-xmethods.c (gdbpy_get_xmethod_result_type)
+ (gdbpy_invoke_xmethod): Likewise.
+ * stabsread.c: Provide extra argument to make_reference_type()
+ call.
+ * valops.c (value_ref, value_rtti_indirect_type): Use
+ lookup_lvalue_reference_type() instead of lookup_reference_type().
+
+2017-03-20 Artemiy Volkov <artemiyv@acm.org>
+
+ PR gdb/14441
+ * gdbtypes.h (enum type_code) <TYPE_CODE_RVALUE_REF>: New constant.
+ (TYPE_IS_REFERENCE): New macro.
+ (struct type): Add rvalue_reference_type field.
+ (TYPE_RVALUE_REFERENCE_TYPE): New macro.
+
+2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
+
+ * NEWS: Add an entry about new '-file-list-shared-libraries' command.
+ * mi/mi-cmd-file.c (mi_cmd_file_list_shared_libraries):
+ New function definition.
+ * mi/mi-cmds.c (mi_cmds): Add -file-list-shared-libraries command.
+ * mi/mi-cmds.h (mi_cmd_file_list_shared_libraries):
+ New function declaration.
+ * mi/mi-interp.c (mi_output_solib_attribs): New Function.
+ * mi/mi-interp.h: New file.
+ * solib.c (info_sharedlibrary_command): Replace for loop with
+ ALL_SO_LIBS macro
+ * solib.h (update_solib_list): New function declaration.
+ (so_list_head): Move macro.
+ * solist.h (ALL_SO_LIBS): New macro.
+
+2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
+
+ * infcmd.c (post_create_inferior): Remove unused argument in
+ call to solib_add.
+ * remote.c (remote_start_remote): Likewise.
+ * solib-frv.c (frv_fetch_objfile_link_map): Likewise.
+ * solib-svr4.c: (svr4_fetch_objfile_link_map): Likewise.
+ (enable_break): Likewise.
+ * solib.c (update_solib_list): Remove unused target argument
+ and its documentation.
+ (solib_add): Remove unused target argument. Remove unused
+ argument in call to update_solib_list.
+ (info_sharedlibrary_command): Remove unused argument in call
+ to update_solib_list.
+ (sharedlibrary_command): Remove unused argument in call to
+ solib_add.
+ (handle_solib_event): Likewise.
+ (reload_shared_libraries): Likewise.
+ * solib.h (solib_add): Remove unused target argument.
+
+2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * s390-linux-tdep.c (is_rsi, is_rie): Remove functions.
+ (s390_displaced_step_fixup): Cover relative branches with the
+ default fixup handling. This fixes lack of support for some
+ relative branch instructions.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * i386-gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Use
+ ptid from regcache.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers,
+ i386_darwin_store_inferior_registers): Use ptid from regcache.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * i386-bsd-nat.c (i386bsd_fetch_inferior_registers,
+ i386bsd_store_inferior_registers): Use ptid from regcache.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * hppa-obsd-nat.c (hppaobsd_fetch_registers,
+ hppaobsd_store_registers): Use ptid from regcache.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * hppa-nbsd-nat.c (hppanbsd_fetch_registers,
+ hppanbsd_store_registers): Use ptid from regcache.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * hppa-linux-nat.c (fetch_register, store_register): Use ptid
+ from regcache. Use get_ptrace_pid.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * corelow.c (get_core_register_section): Use ptid from regcache,
+ update doc.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * bsd-uthread.c (bsd_uthread_fetch_registers,
+ bsd_uthread_store_registers): Use ptid from regcache, set and
+ restore inferior_ptid.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * arm-nbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register,
+ fetch_fp_regs, store_register, store_regs, store_fp_register,
+ store_fp_regs): Use ptid from regcache.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * arm-linux-nat.c (fetch_fpregs, store_fpregs, fetch_regs,
+ store_regs, fetch_wmmx_regs, store_wmmx_regs, fetch_vfp_regs,
+ store_vfp_regs): Use ptid from regcache.
+
+2017-03-17 Pedro Alves <palves@redhat.com>
+
+ PR remote/21188
+ * ser-base.c (ser_base_wait_for): Add comment.
+ (do_ser_base_readchar): Improve comment based on the ser-unix.c's
+ version.
+ * ser-unix.c (hardwire_raw): Remove reference to
+ scb->current_timeout.
+ (wait_for, do_hardwire_readchar, hardwire_readchar): Delete.
+ (hardwire_ops): Install ser_base_readchar instead of
+ hardwire_readchar.
+ * serial.h (struct serial) <current_timeout, timeout_remaining>:
+ Remove fields.
+
+2017-03-17 Jonah Graham <jonah@kichwacoders.com>
+
+ PR gdb/19637
+ * python/lib/gdb/printer/bound_registers.py: Add support for
+ Python 3.
+
+2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * dwarf2loc.c (indirect_synthetic_pointer): Get data type of
+ pointed-to DIE and pass it to dwarf2_evaluate_loc_desc_full.
+ (dwarf2_evaluate_loc_desc_full): New parameter subobj_type; rename
+ byte_offset to subobj_byte_offset. Fix the handling of
+ DWARF_VALUE_STACK on big-endian targets when coming via an
+ implicit pointer.
+ (dwarf2_evaluate_loc_desc): Adjust call to
+ dwarf2_evaluate_loc_desc_full.
+ * dwarf2loc.h (dwarf2_fetch_die_type_sect_off): New declaration.
+ * dwarf2read.c (dwarf2_fetch_die_type_sect_off): New function.
+
+2017-03-16 Yao Qi <yao.qi@linaro.org>
+
+ * arm-tdep.c (thumb_record_misc): Decode CBNZ, CBZ, REV16,
+ and REVSH instructions.
+
+2017-03-16 Yao Qi <yao.qi@linaro.org>
+
+ * arm-tdep.c [GDB_SELF_TEST]: include "selftests.h".
+ (arm_record_test): Declare.
+ (_initialize_arm_tdep) [GDB_SELF_TEST]: call register_self_test.
+ (thumb_record_ld_st_reg_offset): Rewrite the opcode matching to
+ align with the manual.
+ (thumb_record_misc): Adjust the code order to align with the
+ manual.
+ (thumb2_record_decode_insn_handler): Fix instruction matching.
+ (instruction_reader_thumb): New class.
+ (arm_record_test): New function.
+
+2017-03-16 Yao Qi <yao.qi@linaro.org>
+
+ * arm-tdep.c (abstract_memory_reader): New class.
+ (instruction_reader): New class.
+ (extract_arm_insn): Add argument 'reader'. Callers updated.
+ (decode_insn): Likewise.
+
+2017-03-16 Doug Evans <dje@google.com>
+
+ * guile/scm-lazy-string.c (lazy_string_smob): Clarify use of LENGTH
+ member. Change type of TYPE member to SCM. All uses updated.
+ (lsscm_make_lazy_string_smob): Add assert.
+ (lsscm_make_lazy_string): Flag bad length values.
+ (lsscm_elt_type): New function.
+ (gdbscm_lazy_string_to_value): Rewrite to use
+ lsscm_safe_lazy_string_to_value.
+ (lsscm_safe_lazy_string_to_value): Fix handling of TYPE_CODE_PTR.
+ * guile/scm-value.c (gdbscm_value_to_lazy_string): Flag bad length
+ values. Fix TYPE_CODE_PTR. Handle TYPE_CODE_ARRAY. Handle typedefs
+ in incoming type.
+ * guile/guile-internal.h (tyscm_scm_to_type): Declare.
+ * guile/scm-type.c (tyscm_scm_to_type): New function.
+
+2017-03-15 Doug Evans <dje@google.com>
+
+ PR python/17728, python/18439, python/18779
+ * python/py-lazy-string.c (lazy_string_object): Clarify use of LENGTH
+ member. Change type of TYPE member to PyObject *. All uses updated.
+ (stpy_convert_to_value): Fix handling of TYPE_CODE_PTR.
+ (gdbpy_create_lazy_string_object): Flag bad length values.
+ Handle TYPE_CODE_ARRAY with possibly different user-provided length.
+ Handle typedefs in incoming type.
+ (stpy_lazy_string_elt_type): New function.
+ (gdbpy_extract_lazy_string): Call it.
+ * python/py-value.c (valpy_lazy_string): Flag bad length values.
+ Fix handling of TYPE_CODE_PTR. Handle TYPE_CODE_ARRAY. Handle
+ typedefs in incoming type.
+
+2017-03-16 Doug Evans <dje@google.com>
+
+ * guile/guile-internal.h (tyscm_scm_to_type): Declare.
+ * guile/scm-type.c (tyscm_scm_to_type): New function.
+
+2017-03-16 Jiong Wang <jiong.wang@arm.com>
+
+ * inf-ptrace.c (inf_ptrace_peek_poke): Change the type to
+ "ULONGEST" for "skip".
+
+2017-03-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ PR gdb/21220
+ * inf-ptrace.c (inf_ptrace_xfer_partial): In "case
+ TARGET_OBJECT_MEMORY", extract the logic for ptrace peek/poke...
+ (inf_ptrace_peek_poke): ...here. New function. Now also loop
+ over ptrace peek/poke until end of buffer or error.
+
+2017-03-14 Simon Marchi <simon.marchi@ericsson.com>
+
+ * parse.c (length_of_subexp): Make static.
+ * parser-defs.h (length_of_subexp): Remove.
+
+2017-03-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * linux-nat.c (linux_proc_xfer_partial): Handle write operations
+ as well.
+
+2017-03-14 Pedro Alves <palves@redhat.com>
+
+ * cp-name-parser.y (cp_demangled_name_to_comp): Update comment.
+ (main): Use std::unique_ptr. Remove calls to
+ cp_demangled_name_parse_free.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * alpha-bsd-nat.c (alphabsd_fetch_inferior_registers,
+ alphabsd_store_inferior_registers): Use regcache->ptid instead
+ of inferior_ptid.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * aix-thread.c (aix_thread_fetch_registers,
+ aix_thread_store_registers): Use regcache->ptid instead of
+ inferior_ptid.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * aarch64-linux-nat.c (fetch_gregs_from_thread,
+ store_gregs_to_thread, fetch_fpregs_from_thread,
+ store_fpregs_to_thread): Use regcache->ptid instead of
+ inferior_ptid.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers,
+ amd64_linux_fetch_inferior_registers): Use regcache->ptid
+ instead of inferior_ptid.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * target.c (target_fetch_registers, target_store_registers): Add
+ assert.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * regcache.h (regcache_get_ptid): New function.
+ * regcache.c (regcache_get_ptid): New function.
+
+2017-03-13 Mark Wielaard <mark@klomp.org>
+
+ * cp-name-parser.y (make_empty): Initialize d_printing to zero.
+
+2017-03-10 Keith Seitz <keiths@redhat.com>
+
+ PR c++/8218
+ * c-typeprint.c (cp_type_print_method_args): Skip artificial arguments.
+
+2017-03-08 Pedro Alves <palves@redhat.com>
+
+ PR gdb/18360
+ * infrun.c (start_step_over, do_target_resume, resume)
+ (restart_threads): Assert we're not resuming a thread that is
+ meant to be stopped.
+ (infrun_thread_stop_requested_callback): Delete.
+ (infrun_thread_stop_requested): If the thread is internally
+ stopped, queue a pending stop event and clear the thread's
+ inline-frame state.
+ (handle_stop_requested): New function.
+ (handle_syscall_event, handle_inferior_event_1): Use
+ handle_stop_requested.
+ (handle_stop_requested): New function.
+ (handle_signal_stop): Set the thread's stop_signal here instead of
+ at caller.
+ (finish_step_over): Clear step over info unconditionally.
+ (handle_signal_stop): If the user had interrupted the event
+ thread, consider the stop a random signal.
+ (handle_signal_stop) <signal arrived while stepping over
+ breakpoint>: Don't restart threads here.
+ (stop_waiting): Don't clear step-over info here.
+
+2017-03-08 Pedro Alves <palves@redhat.com>
+
+ PR 21206
+ * common/gdb_unlinker.h (unlinker::unlinker): Attribute nonnull
+ goes to argument 2, not 1.
+
+2017-03-08 Pedro Alves <palves@redhat.com>
+
+ PR cli/21218
+ * top.c (gdb_readline_wrapper): Avoid passing NULL to
+ display_gdb_prompt.
+ (command_line_input): Add comment.
+
+2017-03-08 Pedro Alves <palves@redhat.com>
+
+ PR tui/21216
+ * tui/tui-file.c (tui_file::write): New.
+ * tui/tui-file.h (tui_file): Override "write".
+ * tui/tui-io.c (do_tui_putc, update_start_line): New functions,
+ factored out from ...
+ (tui_puts): ... here.
+ (tui_putc): Use them.
+ (tui_write): New function.
+ * tui/tui-io.h (tui_write): Declare.
+
+2017-03-07 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * Makefile.in (SFILES): Replace "environ.c" with
+ "common/environ.c".
+ (HFILES_NO_SRCDIR): Likewise, for "environ.h".
+ * environ.c: Include "common-defs.h" instead of "defs.h. Moved
+ to...
+ * common/environ.c: ... here.
+ * environ.h: Moved to...
+ * common/environ.h: ... here.
+
+2017-03-07 Peter Bergner <bergner@vnet.ibm.com>
+
+ * gdbarch.sh (pstring_ptr): New static function.
+ (gdbarch_disassembler_options): Use it.
+ (gdbarch_verify_disassembler_options): Print valid_disassembler_options,
+ not valid_disassembler_option->name.
+ * gdbarch.c: Regenerate.
+
+2017-03-07 Peter Bergner <bergner@vnet.ibm.com>
+
+ * config/powerpc/ppc64-linux.mh (MH_CFLAGS): Delete.
+
+2017-03-07 Pedro Alves <palves@redhat.com>
+
+ * tui/tui-regs.c (tui_restore_gdbout): Don't delete gdb_stdout.
+
+2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * i387-tdep.h (i387_reset_bnd_regs): Add function definition.
+ * i387-tdep.c (i387_reset_bnd_regs): Add function implementation.
+ * i386-tdep.c (i386_push_dummy_call): Call i387_reset_bnd_regs.
+ * amd64-tdep.c (amd64_push_dummy_call): Call i387_reset_bnd_regs.
+
+2017-03-06 Simon Marchi <simon.marchi@ericsson.com>
+
+ * xtensa-linux-nat.c (fetch_gregs): Remove const.
+
+2017-03-03 Simon Marchi <simon.marchi@ericsson.com>
+
+ * remote.c (remote_add_target_side_commands): Use range-based
+ for loop.
+
+2017-03-03 Yao Qi <yao.qi@linaro.org>
+
+ PR gdb/21165
+ * ada-valprint.c (ada_val_print_ref): Call value_fetch_lazy if
+ value is lazy.
+ * valprint.c (common_val_print): Likewise.
+
+2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
+
+ * NEWS: Mention new set/show disassembler-options commands.
+ * doc/gdb.texinfo: Document new set/show disassembler-options commands.
+ * disasm.c: Include "arch-utils.h", "gdbcmd.h" and "safe-ctype.h".
+ (prospective_options): New static variable.
+ (gdb_disassembler::gdb_disassembler): Initialize
+ m_di.disassembler_options.
+ (gdb_buffered_insn_length_init_dis): Initilize di->disassembler_options.
+ (get_disassembler_options): New function.
+ (set_disassembler_options): Likewise.
+ (set_disassembler_options_sfunc): Likewise.
+ (show_disassembler_options_sfunc): Likewise.
+ (disassembler_options_completer): Likewise.
+ (_initialize_disasm): Likewise.
+ * disasm.h (get_disassembler_options): New prototype.
+ (set_disassembler_options): Likewise.
+ * gdbarch.sh (gdbarch_disassembler_options): New variable.
+ (gdbarch_verify_disassembler_options): Likewise.
+ * gdbarch.c: Regenerate.
+ * gdbarch.h: Likewise.
+ * arm-tdep.c (num_disassembly_options): Delete.
+ (set_disassembly_style): Likewise.
+ (arm_disassembler_options): New static variable.
+ (set_disassembly_style_sfunc): Convert short style name into long
+ option name. Call set_disassembler_options.
+ (show_disassembly_style_sfunc): New function.
+ (arm_gdbarch_init): Call set_gdbarch_disassembler_options and
+ set_gdbarch_verify_disassembler_options.
+ (_initialize_arm_tdep): Delete regnames variable and update callers.
+ (arm_disassembler_options): Initialize.
+ (disasm_options): New variable.
+ (num_disassembly_options): Rename from this...
+ (num_disassembly_styles): ...to this. Compute by scanning through
+ disasm_options.
+ (valid_disassembly_styles): Initialize using disasm_options.
+ Remove calls to parse_arm_disassembler_option, get_arm_regnames and
+ set_arm_regname_option.
+ Pass show_disassembly_style_sfunc to the "disassembler" setshow command.
+ * rs6000-tdep.c (powerpc_disassembler_options): New static variable.
+ (rs6000_gdbarch_init): Call set_gdbarch_disassembler_options and
+ set_gdbarch_verify_disassembler_options.
+ * s390-tdep.c (s390_disassembler_options): New static variable.
+ (s390_gdbarch_init):all set_gdbarch_disassembler_options and
+ set_gdbarch_verify_disassembler_options.
+
+2017-02-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * remote.c (remote_add_target_side_condition): Remove "struct"
+ keyword from range-based for loop.
+
+2017-02-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * remote.c (remote_add_target_side_condition): Use range-based
+ for loop. Update comment.
+
+2017-02-27 Yao Qi <yao.qi@linaro.org>
+
+ * f-typeprint.c (f_print_type): Check "varstring" is empty first.
+
+2017-02-26 Alan Hayward <alan.hayward@arm.com>
+
+ * regcache.c (regcache_raw_update): New function.
+ (regcache_raw_read): Move code to regcache_raw_update.
+ * regcache.h (regcache_raw_update): New declaration.
+ * remote.c (remote_prepare_to_store): Call regcache_raw_update.
+
+2017-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (create_debug_type_hash_table): Initialize
+ header.signature and header.type_offset_in_tu.
+
+2017-02-24 Pedro Alves <palves@redhat.com>
+
+ * symtab.c (make_file_symbol_completion_list_1): Use
+ add_symtab_completions.
+
+2017-02-24 Alan Hayward <alan.hayward@arm.com>
+
+ * stack.c (frame_info): Use frame_unwind_register_value to avoid buf.
+
+2017-02-24 Alan Hayward <alan.hayward@arm.com>
+
+ * i386-tdep.c (i386_pseudo_register_read_into_value): Use
+ I386_MAX_REGISTER_SIZE.
+ (i386_pseudo_register_write): Likewise.
+ (i386_process_record): Likewise.
+ * i387-tdep.c (i387_supply_xsave): Likewise.
+ * m68k-linux-nat.c (fetch_register): Use M68K_MAX_REGISTER_SIZE.
+ (store_register): Likewise.
+
+2017-02-23 Pedro Alves <palves@redhat.com>
+
+ * ada-lang.c: Include "common/function-view.h".
+ (ada_iterate_over_symbols): Adjust to use function_view as
+ callback type.
+ (struct add_partial_datum, ada_complete_symbol_matcher): Delete.
+ (ada_make_symbol_completion_list): Use a lambda.
+ (ada_exc_search_name_matches): Delete.
+ (name_matches_regex): New.
+ (ada_add_global_exceptions): Use a lambda and name_matches_regex.
+ * compile/compile-c-support.c: Include "common/function-view.h".
+ (print_one_macro): Change prototype to accept a ui_file pointer.
+ (write_macro_definitions): Use a lambda.
+ * dwarf2read.c: Include "common/function-view.h".
+ (dw2_map_expand_apply, dw2_map_symtabs_matching_filename)
+ (dw2_expand_symtabs_matching): Adjust to use function_view as
+ callback type.
+ * language.h: Include "common/function-view.h".
+ (struct language_defn) <la_iterate_over_symbols>: Adjust to use
+ function_view as callback type.
+ (LA_ITERATE_OVER_SYMBOLS): Remove DATA parameter.
+ * linespec.c: Include "common/function-view.h".
+ (collect_info::add_symbol): New method.
+ (struct symbol_and_data_callback, iterate_inline_only, struct
+ symbol_matcher_data, iterate_name_matcher): Delete.
+ (iterate_over_all_matching_symtabs): Adjust to use function_view
+ as callback type and lambdas.
+ (iterate_over_file_blocks): Adjust to use function_view as
+ callback type.
+ (decode_compound_collector): Now a class with private fields.
+ (decode_compound_collector::release_symbols): New method.
+ (collect_one_symbol): Rename to...
+ (decode_compound_collector::operator()): ... this and adjust.
+ (lookup_prefix_sym): decode_compound_collector construction bits
+ move to decode_compound_collector ctor. Pass the
+ decode_compound_collector object directly as callback. Remove
+ cleanups and use decode_compound_collector::release_symbols
+ instead.
+ (symtab_collector): Now a class with private fields.
+ (symtab_collector::release_symtabs): New method.
+ (add_symtabs_to_list): Rename to...
+ (symtab_collector::operator()): ... this and adjust.
+ (collect_symtabs_from_filename): symtab_collector construction
+ bits move to symtab_collector ctor. Pass the symtab_collector
+ object directly as callback. Remove cleanups and use
+ symtab_collector::release_symtabs instead.
+ (collect_symbols): Delete.
+ (add_matching_symbols_to_info): Use lambdas.
+ * macrocmd.c (print_macro_callback): Delete.
+ (info_macro_command): Use a lambda.
+ (info_macros_command): Pass print_macro_definition as callable
+ directly.
+ (print_one_macro): Remove 'ignore' parameter.
+ (macro_list_command): Adjust.
+ * macrotab.c (macro_for_each_data::fn): Now a function_view.
+ (macro_for_each_data::user_data): Delete field.
+ (foreach_macro): Adjust to call the function_view.
+ (macro_for_each): Adjust to use function_view as callback type.
+ (foreach_macro_in_scope): Adjust to call the function_view.
+ (macro_for_each_in_scope): Adjust to use function_view as callback
+ type.
+ * macrotab.h: Include "common/function-view.h".
+ (macro_callback_fn): Declare a prototype instead of a pointer.
+ Remove "user_data" parameter.
+ (macro_for_each, macro_for_each_in_scope): Adjust to use
+ function_view as callback type.
+ * psymtab.c (partial_map_expand_apply)
+ (psym_map_symtabs_matching_filename, recursively_search_psymtabs):
+ Adjust to use function_view as callback type and to return bool.
+ (psym_expand_symtabs_matching): Adjust to use function_view as
+ callback types.
+ * symfile-debug.c (debug_qf_map_symtabs_matching_filename): Adjust
+ to use function_view as callback type and to return bool.
+ (debug_qf_expand_symtabs_matching): Adjust to use function_view as
+ callback types.
+ * symfile.c (expand_symtabs_matching): Adjust to use function_view
+ as callback types.
+ * symfile.h: Include "common/function-view.h".
+ (expand_symtabs_file_matcher_ftype)
+ (expand_symtabs_symbol_matcher_ftype)
+ (expand_symtabs_exp_notify_ftype): Remove "data" parameter and
+ return bool.
+ (quick_symbol_functions::map_symtabs_matching_filename)
+ (quick_symbol_functions::expand_symtabs_matching): Adjust to use
+ function_view as callback type and return bool.
+ (expand_symtabs_matching): Adjust to use function_view as callback
+ type.
+ (maintenance_expand_name_matcher)
+ (maintenance_expand_file_matcher): Delete.
+ (maintenance_expand_symtabs): Use lambdas.
+ * symtab.c (iterate_over_some_symtabs): Adjust to use
+ function_view as callback types and return bool.
+ (iterate_over_symtabs): Likewise. Use unique_xmalloc_ptr instead
+ of a cleanup.
+ (lookup_symtab_callback): Delete.
+ (lookup_symtab): Use a lambda.
+ (iterate_over_symbols): Adjust to use function_view as callback
+ type.
+ (struct search_symbols_data, search_symbols_file_matches)
+ (search_symbols_name_matches): Delete.
+ (search_symbols): Use a pair of lambdas.
+ (struct add_name_data, add_macro_name, symbol_completion_matcher)
+ (symtab_expansion_callback): Delete.
+ (default_make_symbol_completion_list_break_on_1): Use lambdas.
+ * symtab.h: Include "common/function-view.h".
+ (iterate_over_some_symtabs): Adjust to use function_view as
+ callback type and return bool.
+ (iterate_over_symtabs): Adjust to use function_view as callback
+ type.
+ (symbol_found_callback_ftype): Remove 'data' parameter and return
+ bool.
+ (iterate_over_symbols): Adjust to use function_view as callback
+ type.
+
+2017-02-23 Pedro Alves <palves@redhat.com>
+
+ * Makefile.in (SUBDIR_UNITTESTS_SRCS, SUBDIR_UNITTESTS_OBS): New.
+ (%.o) <unittests/%.c>: New pattern.
+ * configure.ac ($development): Add $(SUBDIR_UNITTESTS_OBS) to
+ CONFIG_OBS, and $(SUBDIR_UNITTESTS_SRCS) to CONFIG_SRCS.
+ * common/function-view.h: New file.
+ * unittests/function-view-selftests.c: New file.
+ * configure: Regenerate.
+
+2017-02-23 Simon Marchi <simon.marchi@ericsson.com>
+
+ * bsd-uthread.c (bsd_uthread_thread_alive): Use ptid instead of
+ inferior_ptid.
+ * go32-nat.c (go32_thread_alive): Likewise.
+
+2017-02-23 Yao Qi <yao.qi@linaro.org>
+
+ * varobj-iter.h (varobj_iter_delete): Call xfree instead of
+ delete.
+
+2017-02-23 Yao Qi <yao.qi@linaro.org>
+
+ * varobj.c (varobj_clear_saved_item): Use delete instead of
+ xfree.
+ (update_dynamic_varobj_children): Likewise.
+
+2017-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (dwarf2_record_block_ranges): Add forgotten BASEADDR.
+
+2017-02-21 Simon Marchi <simon.marchi@ericsson.com>
+
+ * common/enum-flags.h (enum_flags::enum_flags): Initialize
+ m_enum_value to 0 in default constructor.
+
+2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
+
+ * rs6000-tdep.c (LOAD_AND_RESERVE_MASK): Rename from LWARX_MASK.
+ (STORE_CONDITIONAL_MASK): Rename from STWCX_MASK.
+ (LBARX_INSTRUCTION, LHARX_INSTRUCTION, LQARX_INSTRUCTION,
+ STBCX_INSTRUCTION, STHCX_INSTRUCTION, STQCX_INSTRUCTION): New defines.
+ (IS_LOAD_AND_RESERVE_INSN, IS_STORE_CONDITIONAL_INSN): New macros.
+ (ppc_displaced_step_copy_insn): Use IS_LOAD_AND_RESERVE_INSN.
+ (ppc_deal_with_atomic_sequence): Use IS_LOAD_AND_RESERVE_INSN and
+ IS_STORE_CONDITIONAL_INSN.
+
+2017-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2_rnglists_process: Initialize range_beginning and range_end.
+
+2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * NEWS (Changes since GDB 7.12): Add DWARF-5.
+
+2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (skip_one_die, read_attribute_value)
+ (dwarf2_const_value_attr, dump_die_shallow)
+ (dwarf2_get_attr_constant_value, dwarf2_fetch_constant_bytes)
+ (skip_form_bytes, attr_form_is_constant): Handle DW_FORM_data16.
+
+2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (read_file_scope): Rename DW_MACRO_GNU_*.
+ (dwarf_parse_macro_header): Accept DWARF version 5.
+ (dwarf_decode_macro_bytes, dwarf_decode_macros): Rename DW_MACRO_GNU_*.
+
+2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * block.c (call_site_for_pc): Rename DW_OP_GNU_*, DW_TAG_GNU_* and
+ DW_AT_GNU_*.
+ * common/common-exceptions.h (enum errors): Likewise.
+ * dwarf2-frame.c (class dwarf_expr_executor): Likewise.
+ * dwarf2expr.c (dwarf_block_to_dwarf_reg)
+ (dwarf_expr_context::execute_stack_op): Likewise.
+ * dwarf2expr.h (struct dwarf_expr_context, struct dwarf_expr_piece):
+ Likewise.
+ * dwarf2loc.c (dwarf_evaluate_loc_desc::get_base_type)
+ (dwarf_evaluate_loc_desc::push_dwarf_reg_entry_value)
+ (show_entry_values_debug, call_site_to_target_addr)
+ (func_addr_to_tail_call_list, func_verify_no_selftailcall)
+ (dwarf_expr_reg_to_entry_parameter, dwarf_entry_parameter_to_value)
+ (entry_data_value_free_closure, value_of_dwarf_reg_entry)
+ (value_of_dwarf_block_entry, indirect_pieced_value)
+ (symbol_needs_eval_context::push_dwarf_reg_entry_value):
+ (disassemble_dwarf_expression): Likewise.
+ * dwarf2read.c (process_die, inherit_abstract_dies)
+ (read_call_site_scope): Likewise.
+ * gdbtypes.h (struct func_type, struct call_site_parameter)
+ (struct call_site): Likewise.
+ * stack.c (read_frame_arg): Likewise.
+ * std-operator.def (OP_VAR_ENTRY_VALUE): Likewise.
+
+2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * defs.h (read_unsigned_leb128): New declaration.
+ * dwarf2loc.c (decode_debug_loclists_addresses): New function.
+ (decode_debug_loc_dwo_addresses): Update DEBUG_LOC_* to DW_LLE_*.
+ (dwarf2_find_location_expression): Call also
+ decode_debug_loclists_addresses. Handle DWARF-5 ULEB128 length.
+ * dwarf2loc.h (dwarf2_version): New declaration.
+ * dwarf2read.c (struct dwarf2_per_objfile): Add loclists, line_str,
+ rnglists.
+ (dwarf2_elf_names): Add .debug_loclists, .debug_line_str,
+ .debug_rnglists.
+ (struct dwop_section_names): Add loclists_dwo.
+ (dwop_section_names): Add .debug_loclists.dwo.
+ (struct comp_unit_head): Add unit_type, signature, type_offset_in_tu.
+ (struct dwarf2_per_cu_data): Add dwarf_version.
+ (struct dwo_sections): Add loclists.
+ (struct attr_abbrev): Add implicit_const.
+ (read_indirect_line_string): New declaration.
+ (read_unsigned_leb128): Delete declaration.
+ (rcuh_kind): New definition.
+ (read_and_check_comp_unit_head): Change parameter
+ is_debug_types_section to section_kind.
+ (dwarf2_locate_sections): Handle loclists, line_str and rnglists.
+ (read_comp_unit_head): Change parameter abfd to section, add parameter
+ section_kind. Handle DWARF-5.
+ (error_check_comp_unit_head): Accept also DWARF version 5.
+ (read_and_check_comp_unit_head): Change parameter
+ is_debug_types_section to section_kind.
+ (read_and_check_type_unit_head): Delete function.
+ (read_abbrev_offset): Handle DWARF-5.
+ (create_debug_type_hash_table): Add parameter section_kind. Process
+ only DW_UT_type. Use signature and type_offset_in_tu from struct
+ comp_unit_head.
+ (create_debug_types_hash_table): Update create_debug_type_hash_table
+ caller.
+ (create_all_type_units): Call create_debug_type_hash_table.
+ (read_cutu_die_from_dwo, init_cutu_and_read_dies): Change
+ read_and_check_type_unit_head caller to read_and_check_comp_unit_head
+ caller.
+ (skip_one_die): Handle DW_FORM_implicit_const.
+ (dwarf2_rnglists_process): New function.
+ (dwarf2_ranges_process): Call dwarf2_rnglists_process for DWARF-5.
+ (abbrev_table_read_table): Handle DW_FORM_implicit_const.
+ (read_attribute_value): Handle DW_FORM_implicit_const,
+ DW_FORM_line_strp.
+ (read_attribute): Handle DW_FORM_implicit_const.
+ (read_indirect_string_at_offset_from): New function from
+ read_indirect_string_at_offset.
+ (read_indirect_string_at_offset): Call
+ read_indirect_string_at_offset_from.
+ (read_indirect_line_string_at_offset): New function.
+ (read_indirect_string): New function comment.
+ (read_indirect_line_string): New function.
+ (read_unsigned_leb128): Make it global.
+ (dwarf2_string_attr): Handle DWARF-5.
+ (add_include_dir_stub, read_formatted_entries): New functions.
+ (dwarf_decode_line_header, dump_die_shallow, cu_debug_loc_section):
+ Handle DWARF-5.
+ (per_cu_header_read_in): Update read_comp_unit_head caller.
+ (dwarf2_version): New function.
+ * symfile.h (struct dwarf2_debug_sections): Add loclists, line_str and
+ rnglists.
+ * xcoffread.c (dwarf2_xcoff_names): Update struct dwarf2_debug_sections
+ fields.
+
+2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (abbrev_table_read_table): Read the data only once.
+
+2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (dwarf2_ranges_process): New function from
+ dwarf2_ranges_read.
+ (dwarf2_ranges_read, dwarf2_record_block_ranges): Use
+ dwarf2_ranges_process.
+
+2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (create_debug_type_hash_table): New function from
+ create_debug_types_hash_table.
+ (create_debug_types_hash_table): Call create_debug_type_hash_table.
+ (create_all_type_units, open_and_init_dwo_file): Update
+ create_debug_types_hash_table callers.
+
+2017-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR gdb/16188
+ * fork-child.c (trace_start_error): Fix thinko. va_end should
+ refer to 'ap', not 'args'.
+
+2017-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ PR gdb/16188
+ * darwin-nat.c (darwin_ptrace_me): Check if calls to system
+ calls succeeded.
+ * fork-child.c (trace_start_error): New function.
+ (trace_start_error_with_name): Likewise.
+ * gnu-nat.c (gnu_ptrace_me): Check if call to PTRACE succeeded.
+ * inf-ptrace.c (inf_ptrace_me): Likewise.
+ * inferior.h (trace_start_error): New prototype.
+ (trace_start_error_with_name): Likewise.
+
+2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR gdb/21164
+ * psymtab.c (maintenance_print_psymbols): Verify if 'argv' is not
+ NULL before using it.
+ * symmisc.c (maintenance_print_symbols): Likewise.
+ (maintenance_print_msymbols): Likewise.
+
+2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
+
+ * NEWS: Add record Python bindings entry.
+
+2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
+
+ * Makefile.in (SUBDIR_PYTHON_OBS): Add py-record-btrace.o,
+ py-record-full.o.
+ (SUBDIR_PYTHON_SRCS): Add py-record-btrace.c, py-record-full.c.
+ * python/py-record-btrace.c, python/py-record-btrace.h,
+ python/py-record-full.c, python/py-record-full.h: New file.
+ * python/py-record.c: Add include for py-record-btrace.h and
+ py-record-full.h.
+ (recpy_method, recpy_format, recpy_goto, recpy_replay_position,
+ recpy_instruction_history, recpy_function_call_history, recpy_begin,
+ recpy_end): Use functions from py-record-btrace.c and py-record-full.c.
+ * python/python-internal.h (PyInt_FromSsize_t, PyInt_AsSsize_t):
+ New definition.
+ (gdbpy_initialize_btrace): New export.
+ * python/python.c (_initialize_python): Add gdbpy_initialize_btrace.
+
+2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
+
+ * Makefile.in (SUBDIR_PYTHON_OBS): Add python/py-record.o.
+ (SUBDIR_PYTHON_SRCS): Add python/py-record.c.
+ * python/py-record.c: New file.
+ * python/python-internal.h (gdbpy_start_recording,
+ gdbpy_current_recording, gdpy_stop_recording,
+ gdbpy_initialize_record): New export.
+ * python/python.c (_initialize_python): Add gdbpy_initialize_record.
+ (python_GdbMethods): Add gdbpy_start_recording,
+ gdbpy_current_recording and gdbpy_stop_recording.
+
+2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
+
+ * record-btrace.c (record_btrace_record_method): New function.
+ (init_record_btrace_ops): Initialize to_record_method.
+ * record-full.c (record_full_record_method): New function.
+ (init_record_full_ops, init_record_full_core_ops): Add
+ record_full_record_method.
+ * record.h (enum record_method): New enum.
+ * target-debug.h (target_debug_print_enum_record_method: New define.
+ * target-delegates.c: Regenerate.
+ * target.c (target_record_method): New function.
+ * target.h: Include record.h.
+ (struct target_ops) <to_record_method>: New field.
+ (target_record_method): New export.
+
+2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
+
+ * record.h (record_start, record_stop): New export.
+ * record.c (record_start, record_stop): New function.
+
+2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
+
+ * btrace.c (btrace_fetch): Copy function call segments pointer
+ into a vector.
+ (btrace_clear): Clear the vector.
+ (btrace_find_insn_by_number): Use binary search to find the correct
+ function call segment.
+ * btrace.h (brace_fun_p): New typedef.
+ (struct btrace_thread_info) <functions>: New field.
+
+2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
+
+ * record-btrace.c (btrace_ui_out_decode_error): Move most of it ...
+ * btrace.c (btrace_decode_error): ... here. New function.
+ * btrace.h (btrace_decode_error): New export.
+
+2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
+
+ * btrace.c (ftrace_call_num_insn, btrace_insn_get_error): New function.
+ (ftrace_new_function, btrace_insn_number, btrace_insn_cmp,
+ btrace_find_insn_by_number): Remove special case for gaps.
+ * btrace.h (btrace_insn_get_error): New export.
+ (btrace_insn_number, btrace_find_insn_by_number): Adjust comment.
+ * record-btrace.c (btrace_insn_history): Print number for gaps.
+ (record_btrace_info, record_btrace_goto): Handle gaps.
+
+2017-02-14 Tom Tromey <tom@tromey.com>
+
+ PR python/13598:
+ * python/python.c (gdbpy_before_prompt_hook): Emit before_prompt
+ event.
+ * python/py-evts.c (gdbpy_initialize_py_events): Add
+ before_prompt registry.
+ * python/py-events.h (events_object) <before_prompt>: New field.
+
+2017-02-14 Markus Metzger <markus.t.metzger@intel.com>
+
+ * btrace.c (ftrace_new_switch): Preserve up link and flags.
+
+2017-02-13 Luis Machado <lgustavo@codesourcery.com>
+
+ * symfile (_initialize_symfile): Add usage text to the load command's
+ help text.
+
+2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
+
+ * utils.c (defaulted_query): Don't query on secondary UIs.
+
+2017-02-10 Tom Tromey <tom@tromey.com>
+
+ * rust-lang.c (rust_get_disr_info): Remove unused variable.
+
+2017-02-10 Tom Tromey <tom@tromey.com>
+
+ * python/py-value.c (valpy_richcompare_throw): Remove unnecessary
+ "cleanup" local.
+ * python/py-type.c (typy_legacy_template_argument): Remove
+ unnecessary "cleanup" local.
+
2017-02-10 Tom Tromey <tom@tromey.com>
* python/python.c (do_start_initialization): New function, from
(build_command_line): Make args a constant pointer.
2017-02-08 Jerome Guitton <guitton@adacore.com>
-
+
* cli-decode.c (lookup_cmd_1, lookup_cmd_composition):
Remove case-insensitive search.
2017-01-01 Joel Brobecker <brobecker@adacore.com>
- Update copyright year range in all GDB files.
+ Update copyright year range in all GDB files.
2017-01-01 Joel Brobecker <brobecker@adacore.com>