+2017-06-22 Alan Hayward <alan.hayward@arm.com>
+
+ * python/py-unwind.c (pyuw_sniffer): Allocate space for
+ registers.
+
+2017-06-22 Alan Hayward <alan.hayward@arm.com>
+
+ * record-full.c (record_full_exec_insn): Use byte_vector.
+
+2017-06-22 Yao Qi <yao.qi@linaro.org>
+
+ * regformats/i386/amd64-avx-mpx-avx512-pku-linux.dat: Regenerated.
+ * regformats/i386/amd64-avx-mpx-avx512-pku.dat: Regenerated.
+
+2017-06-22 Alan Hayward <alan.hayward@arm.com>
+
+ * remote.c (cached_reg): Move from here...
+ * regcache.h (cached_reg): ...to here.
+ * python/py-unwind.c (struct reg_info): Remove.
+ (cached_frame_info): Use cached_reg_t.
+ (pyuw_prev_register): Likewise.
+ (pyuw_sniffer): Use cached_reg_t and allocate registers.
+ (pyuw_dealloc_cache): Free all registers.
+
+2017-06-22 Pedro Alves <palves@redhat.com>
+ Simon Marchi <simon.marchi@ericsson.com>
+
+ * unittests/environ-selftests.c (run_tests): Ignore -Wself-move
+ warning.
+ * common/diagnostics.h: New file.
+
+2017-06-22 Pedro Alves <palves@redhat.com>
+
+ * common/agent.h: Add include guards.
+
+2017-06-21 Simon Marchi <simon.marchi@ericsson.com>
+
+ * target.h (struct target_ops) <to_xfer_partial>: Update doc to
+ talk about addressable units instead of bytes.
+
+2017-06-20 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * common/environ.c (gdb_environ::unset): Use '::iterator' instead
+ of '::const_iterator'.
+
+2017-06-20 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+ 'unittests/environ-selftests.c'.
+ (SUBDIR_UNITTESTS_OBS): Add 'environ-selftests.o'.
+ * charset.c (find_charset_names): Declare object 'iconv_env'.
+ Update code to use 'iconv_env' object. Remove call to
+ 'free_environ'.
+ * common/environ.c: Include <utility>.
+ (make_environ): Delete function.
+ (free_environ): Delete function.
+ (gdb_environ::clear): New function.
+ (gdb_environ::operator=): New function.
+ (gdb_environ::get): Likewise.
+ (environ_vector): Delete function.
+ (set_in_environ): Delete function.
+ (gdb_environ::set): New function.
+ (unset_in_environ): Delete function.
+ (gdb_environ::unset): New function.
+ (gdb_environ::envp): Likewise.
+ * common/environ.h: Include <vector>.
+ (struct gdb_environ): Delete; transform into...
+ (class gdb_environ): ... this class.
+ (free_environ): Delete prototype.
+ (init_environ, get_in_environ, set_in_environ, unset_in_environ,
+ environ_vector): Likewise.
+ * infcmd.c (run_command_1): Update code to call
+ 'envp' from 'gdb_environ' class.
+ (environment_info): Update code to call methods from 'gdb_environ'
+ class.
+ (unset_environment_command): Likewise.
+ (path_info): Likewise.
+ (path_command): Likewise.
+ * inferior.c (inferior::~inferior): Delete call to 'free_environ'.
+ (inferior::inferior): Initialize 'environment' using the host's
+ information.
+ * inferior.h: Remove forward declaration of 'struct gdb_environ'.
+ Include "environ.h".
+ (class inferior) <environment>: Change type from 'struct
+ gdb_environ' to 'gdb_environ'.
+ * mi/mi-cmd-env.c (mi_cmd_env_path): Update code to call
+ methods from 'gdb_environ' class.
+ * solib.c (solib_find_1): Likewise
+ * unittests/environ-selftests.c: New file.
+
+2017-06-20 Yao Qi <yao.qi@linaro.org>
+
+ * features/i386/i386-linux.xml: Exchange the order of including
+ 32bit-linux.xml and 32bit-sse.xml.
+ * features/i386/i386-linux.c: Regenerated.
+
+2017-06-20 Yao Qi <yao.qi@linaro.org>
+
+ * target-descriptions.c (tdesc_reg): Add ctor, dtor.
+ Delete copy ctor and assignment operator.
+ (tdesc_type): Likewise.
+ (tdesc_feature): Likewise.
+ (tdesc_free_reg): Remove.
+ (tdesc_create_reg): Use new.
+ (tdesc_free_type): Remove.
+ (tdesc_create_vector): Use new.
+ (tdesc_create_union): Likewise.
+ (tdesc_create_flags): Likewise.
+ (tdesc_create_enum): Likewise.
+ (tdesc_free_feature): Delete.
+ (free_target_description): Use delete.
+
+2017-06-19 John Baldwin <jhb@FreeBSD.org>
+
+ * mips-tdep.c (print_gp_register_row): Don't error for unavailable
+ registers.
+
+2017-06-19 Pedro Alves <palves@redhat.com>
+
+ * dwarf2read.c (write_psymtabs_to_index): Construct file_closer
+ after gdb::unlinker.
+
+2017-06-19 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * mi/mi-cm-env.c (_initialize_mi_cmd_env): Use getenv instead of
+ gdb_environ to access an environment variable.
+
+2017-06-18 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+ * nat/linux-ptrace.c (linux_fork_to_function): Add cast to
+ gdb_byte*.
+
+2017-06-17 Simon Marchi <simon.marchi@ericsson.com>
+
+ * nat/fork-inferior.h (trace_start_error): Add ATTRIBUTE_PRINTF.
+
+2017-06-17 Simon Marchi <simon.marchi@ericsson.com>
+
+ * configure: Re-generate.
+ * warning.m4 (build_warnings): Add -Wno-mismatched-tags.
+
+2017-06-17 Simon Marchi <simon.marchi@ericsson.com>
+
+ * configure: Re-generate.
+ * warning.m4: Pass -Werror to compiler when checking for
+ supported warning flags.
+
+2017-06-17 Simon Marchi <simon.marchi@ericsson.com>
+
+ * Makefile.in (COMPILE.pre): Add "-x c++".
+
+2017-06-16 Alan Hayward <alan.hayward@arm.com>
+ Pedro Alves <palves@redhat.com>
+ Yao Qi <yao.qi@linaro.org>
+
+ * defs.h (RequireLongest): New.
+ (extract_integer): Declare function template.
+ (extract_signed_integer): Remove the declaration, but define it
+ static inline.
+ (extract_unsigned_integer): Likewise.
+ (store_integer): Declare function template.
+ (store_signed_integer): Remove the declaration, but define it
+ static inline.
+ (store_unsigned_integer): Likewise.
+ * findvar.c (extract_integer): New function template.
+ (extract_signed_integer): Remove.
+ (extract_unsigned_integer): Remove.
+ (extract_integer<LONGEST>, extract_integer<ULONGEST>): Explicit
+ instantiations.
+ (store_integer): New function template.
+ (store_signed_integer): Remove.
+ (store_unsigned_integer): Remove.
+ (store_integer): Explicit instantiations.
+ * regcache.c (regcache_raw_read_signed): Update.
+ (regcache::raw_read): New function.
+ (regcache::raw_read_signed): Remove.
+ (regcache::raw_read_unsigned): Remove.
+ (regcache_raw_read_unsigned): Update.
+ (regcache_raw_write_unsigned): Update.
+ (regcache::raw_write_signed): Remove.
+ (regcache::raw_write): New function.
+ (regcache_cooked_read_signed): Update.
+ (regcache::raw_write_unsigned): Remove.
+ (regcache::cooked_read_signed): Remove.
+ (regcache_cooked_read_unsigned): Update.
+ (regcache::cooked_read_unsigned): Remove.
+ (regcache_cooked_write_signed): Update.
+ (regcache_cooked_write_unsigned): Update.
+ * regcache.h (regcache) <raw_read_signed>: Remove.
+ <raw_write_signed, raw_read_unsigned, raw_write_unsigned>: Remove.
+ <raw_read, raw_write>: New.
+ <cooked_read_signed, cooked_write_signed>: Remove.
+ <cooked_write_unsigned, cooked_read_unsigned>: Remove.
+ <cooked_read, cooked_write>: New.
+ * sh64-tdep.c (sh64_pseudo_register_read): Update.
+ (sh64_pseudo_register_write): Update.
+
+2017-06-16 Anton Kolesov <anton.kolesov@synopsys.com>
+
+ * arc-tdep.c (arc_disassembler_options): New variable.
+ (arc_gdbarch_init): Set and use it. Use arc_delayed_print_insn instead
+ of default_print_insn.
+ (arc_delayed_print_insn): Set info->section when needed,
+ use default_print_insn to retrieve a disassembler.
+
+2017-06-14 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR gdb/21574
+ * infcmd.c (_initialize_infcmd): Expand "help run" documentation
+ to mention $SHELL and startup-with-shell.
+
+2017-06-14 Max Filippov <jcmvbkbc@gmail.com>
+
+ * MAINTAINERS: Move Maxim Grigoriev to the Past Maintainers.
+
+2017-06-14 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-tdep.c (aarch64_gdb_print_insn): Call
+ default_print_insn instead of print_insn_aarch64.
+ * arm-tdep.c (gdb_print_insn_arm): Call
+ default_print_insn instead of print_insn_big_arm
+ and print_insn_little_arm.
+ * i386-tdep.c (i386_print_insn): Call default_print_insn
+ instead of print_insn_i386.
+ * ia64-tdep.c (ia64_print_insn): Call
+ default_print_insn instead of print_insn_ia64.
+ * mips-tdep.c (gdb_print_insn_mips): Call
+ default_print_insn instead of print_insn_big_mips
+ and print_insn_little_mips.
+ * spu-tdep.c (gdb_print_insn_spu): Call default_print_insn
+ instead of print_insn_spu.
+
+2017-06-14 Pedro Alves <palves@redhat.com>
+
+ * ada-lang.c: Include "common/byte-vector.h".
+ (ada_value_primitive_packed_val): Use gdb::byte_vector.
+ * charset.c (wchar_iterator::iterate): Resize the vector instead
+ of reserving it.
+ * common/byte-vector.h: Include "common/def-vector.h".
+ (wchar_iterator::m_out): Now a gdb::def_vector<gdb_wchar_t>.
+ * cli/cli-dump.c: Include "common/byte-vector.h".
+ (dump_memory_to_file, restore_binary_file): Use gdb::byte_vector.
+ * common/byte-vector.h: New file.
+ * common/def-vector.h: New file.
+ * common/default-init-alloc.h: New file.
+ * dwarf2loc.c: Include "common/byte-vector.h".
+ (rw_pieced_value): Use gdb::byte_vector, and resize the vector
+ instead of reserving it.
+ * dwarf2read.c: Include "common/byte-vector.h".
+ (data_buf::m_vec): Now a gdb::byte_vector.
+ * gdb_regex.c: Include "common/def-vector.h".
+ (compiled_regex::compiled_regex): Use gdb::def_vector<char>.
+ * mi/mi-main.c: Include "common/byte-vector.h".
+ (mi_cmd_data_read_memory): Use gdb::byte_vector.
+ * printcmd.c: Include "common/byte-vector.h".
+ (print_scalar_formatted): Use gdb::byte_vector.
+ * valprint.c: Include "common/byte-vector.h".
+ (maybe_negate_by_bytes, print_decimal_chars): Use
+ gdb::byte_vector.
+
+2017-06-13 Simon Marchi <simon.marchi@ericsson.com>
+
+ * darwin-nat.c: Include "nat/fork-inferior.h".
+
+2017-06-13 Simon Marchi <simon.marchi@ericsson.com>
+
+ * configure.nat: Factor out Darwin bits that are not
+ architecture-specific. Add fork-inferior.o.
+
+2017-06-13 Simon Marchi <simon.marchi@ericsson.com>
+
+ * configure.nat: Factor out AIX bits that are not
+ architecture-specific. Add fork-inferior.o.
+
+2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * dwarf2loc.c (rw_pieced_value): New. Merge logic from...
+ (read_pieced_value, write_pieced_value): ...here. Reduce to
+ wrappers that just call rw_pieced_value.
+
+2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * dwarf2loc.c (write_pieced_value): When writing the data for a
+ memory piece, use write_memory_with_notification instead of
+ write_memory.
+
+2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * valops.c (read_value_memory): Change embedded_offset to
+ represent a bit offset instead of a byte offset.
+ * value.h (read_value_memory): Adjust comment.
+
+2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * dwarf2loc.c (read_pieced_value): Remove unnecessary variables
+ dest_offset_bits and source_offset_bits.
+ (write_pieced_value): Likewise.
+
+2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * dwarf2loc.c (read_pieced_value): Respect the piece offset, as
+ given by DW_OP_bit_piece.
+ (write_pieced_value): Likewise.
+
2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
* dwarf2loc.c (read_pieced_value): Move the buffer allocation and