+2017-08-10 Pedro Alves <palves@redhat.com>
+
+ * common/gdb_unique_ptr.h (xfree_deleter<T[]>): Define.
+
+2017-08-09 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-nat.c (struct fbsd_fork_info): Remove.
+ (fbsd_pending_children): Use std::list.
+ (fbsd_remember_child): Likewise.
+ (fbsd_is_child_pending): Likewise.
+ (fbsd_pending_vfork_done): Use std::forward_list.
+ (fbsd_add_vfork_done): Likewise.
+ (fbsd_is_vfork_done_pending): Likewise.
+ (fbsd_next_vfork_done): Likewise.
+
+2017-08-09 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-nat.c [HAVE_KINFO_GETVMMAP] (struct free_deleter): New.
+ (fbsd_find_memory_regions): Use free_deleter with std::unique_ptr.
+ [!HAVE_KINFO_GETVMMAP] (fbsd_find_memory_regions): Use std::string
+ for `mapfilename'.
+ (fbsd_xfer_partial): Use gdb::byte_vector.
+ (fbsd_add_threads): Likewise.
+
+2017-08-09 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-nat.c: [!HAVE_KINFO_GETVMMAP]: Include <sys/user.h> and
+ "filestuff.h".
+ (fbsd_find_memory_regions): Fix `mapfile' initialization.
+
+2017-08-09 Tom Tromey <tom@tromey.com>
+
+ * skip.c (skiplist_entry): New constructor.
+ (skiplist_entry::enabled, skiplist_entry::function_is_regexp)
+ (skiplist_entry::file_is_glob): Now bool.
+ (skiplist_entry::file, skiplist_entry::function): Now
+ std::string.
+ (make_skip_entry): Return a unique_ptr. Use new.
+ (free_skiplist_entry, free_skiplist_entry_cleanup)
+ (make_free_skiplist_entry_cleanup): Remove.
+ (skip_command, skip_disable_command, add_skiplist_entry)
+ (skip_form_bytes, compile_skip_regexp, skip_command, skip_info)
+ (skip_file_p, skip_gfile_p, skip_function_p, skip_rfunction_p)
+ (function_name_is_marked_for_skip): Update.
+ (skip_delete_command): Update. Use delete.
+
+2017-08-09 Jiong Wang <jiong.wang@arm.com>
+
+ * aarch64-linux-tdep.c: Include "auxv.h" and "elf/common.h".
+ (aarch64_linux_core_read_description): New function.
+ (aarch64_linux_init_abi): Register gdbarch_core_read_description.
+
+2017-08-09 Pedro Alves <palves@redhat.com>
+
+ * cp-name-parser.y (cp_comp_to_string): Return a
+ gdb::unique_xmalloc_ptr<char>.
+ * cp-support.c (replace_typedefs_qualified_name)
+ (replace_typedefs): Adjust to use gdb::unique_xmalloc_ptr<char>.
+ (cp_canonicalize_string_full): Use op= instead of explicit
+ convertion.
+ (cp_class_name_from_physname, method_name_from_physname)
+ (cp_func_name, cp_remove_params): Adjust to use
+ gdb::unique_xmalloc_ptr<char>.
+ * cp-support.h (cp_comp_to_string): Return a
+ gdb::unique_xmalloc_ptr<char>.
+ * python/py-type.c (typy_lookup_type): Adjust to use
+ gdb::unique_xmalloc_ptr<char>.
+
+2017-08-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ * dwarf2read.c (dwarf2_string_attr): Fix a typo.
+
+2017-08-09 Alex Lindsay <alexlindsay239@gmail.com>
+ Yao Qi <yao.qi@linaro.org>
+
+ * cp-support.c (cp_canonicalize_string_full): Use
+ gdb::unique_xmalloc_ptr<char>.
+ (cp_canonicalize_string): Likewise.
+
+2017-08-09 Yao Qi <yao.qi@linaro.org>
+
+ * features/Makefile (WHICH): Remove i386/ non-linux stuff.
+ * regformats/i386/amd64-avx-avx512.dat: Remove.
+ * regformats/i386/amd64-avx-mpx-avx512-pku.dat: Remove.
+ * regformats/i386/amd64-avx-mpx.dat:Remove.
+ * regformats/i386/amd64-avx.dat: Remove.
+ * regformats/i386/amd64-mpx.dat: Remove.
+ * regformats/i386/i386-avx-avx512.dat: Remove.
+ * regformats/i386/i386-avx-mpx-avx512-pku.dat: Remove.
+ * regformats/i386/i386-avx-mpx.dat: Remove.
+ * regformats/i386/i386-mmx.dat: Remove.
+ * regformats/i386/i386-mpx.dat: Remove.
+
+2017-08-09 Yao Qi <yao.qi@linaro.org>
+
+ * amd64-tdep.h (tdesc_x32): Remove the declaration.
+ * amd64-tdep.c: Don't include features/i386/x32*.c.
+ (_initialize_amd64_tdep): Don't call initialize_tdesc_x32*
+ functions.
+ * features/Makefile (WHICH): Remove i386/x32, i386/x32-avx,
+ and i386/x32-avx-avx512.
+ (XMLTOC): Remove i386/x32-avx.xml, i386/x32-avx-avx512.xml,
+ and i386/x32.xml.
+ * features/i386/x32-avx-avx512.c: Removed.
+ * features/i386/x32-avx-avx512.xml: Removed.
+ * features/i386/x32-avx.c: Removed.
+ * features/i386/x32-avx.xml: Removed.
+ * features/i386/x32.c: Removed.
+ * features/i386/x32.xml: Removed.
+ * regformats/i386/x32-avx-avx512.dat: Removed.
+ * regformats/i386/x32-avx.dat: Removed.
+ * regformats/i386/x32.dat: Removed.
+
+2017-08-07 Maciej W. Rozycki <macro@imgtec.com>
+
+ PR breakpoints/21886
+ * mem-break.c (default_memory_insert_breakpoint): Use
+ `->placed_address' rather than `->reqstd_address' for the
+ breakpoint location.
+
+2017-08-07 Maciej W. Rozycki <macro@imgtec.com>
+
+ * arch-utils.c (default_print_insn): Remove arch/mach/endian
+ assertions.
+
+2017-08-07 Maciej W. Rozycki <macro@imgtec.com>
+
+ * gdbarch.sh (gdbarch_info): Replace the `tdep_info' member with
+ a union of `tdep_info', `tdesc_data' and `id'.
+ * aarch64-tdep.c (aarch64_gdbarch_init): Use `info.tdesc_data'
+ rather than `info.tdep_info'.
+ * amd64-linux-tdep.c (amd64_linux_init_abi): Likewise.
+ * i386-linux-tdep.c (i386_linux_init_abi): Likewise.
+ * i386-tdep.c (i386_gdbarch_init): Likewise.
+ * mips-linux-tdep.c (mips_linux_init_abi): Likewise.
+ * mips-tdep.c (mips_gdbarch_init): Likewise.
+ * nds32-tdep.c (nds32_gdbarch_init): Likewise.
+ * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
+ * ppc-linux-tdep.c (ppu2spu_sniffer): Use `info.id' rather than
+ `info.tdep_info'.
+ (ppc_linux_init_abi): Use `info.tdesc_data' rather than
+ `info.tdep_info'.
+ * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
+ * spu-multiarch.c (spu_gdbarch): Use `info.id' rather than
+ `info.tdep_info'.
+ * spu-tdep.c (spu_gdbarch_init): Likewise.
+ * gdbarch.h: Regenerate.
+
+2017-08-07 Leszek Swirski <leszeks@google.com>
+
+ PR symtab/20899
+ * dwarf2read.c (dwarf2_string_attr): Allow DW_FORM_GNU_strp_alt.
+
+2017-08-07 Simon Marchi <simon.marchi@ericsson.com>
+
+ * remote-sim.c (gdbsim_load): Remove char **argv local variable.
+ (gdbsim_open): Rename gdb_argv args object to argv.
+
+2017-08-05 Tom Tromey <tom@tromey.com>
+
+ * compile/compile-object-load.c (compile_object_load): Use
+ gdb::unique_xmalloc_ptr.
+ * cli/cli-dump.c (scan_filename): Rename from
+ scan_filename_with_cleanup. Change return type.
+ (scan_expression): Rename from scan_expression_with_cleanup.
+ Change return type.
+ (dump_memory_to_file, dump_value_to_file, restore_command):
+ Use gdb::unique_xmalloc_ptr. Update.
+ * cli/cli-cmds.c (find_and_open_script): Use
+ gdb::unique_xmalloc_ptr.
+ * tracefile-tfile.c (tfile_open): Use gdb::unique_xmalloc_ptr.
+ * symmisc.c (maintenance_print_symbols)
+ (maintenance_print_msymbols): Use gdb::unique_xmalloc_ptr.
+ * symfile.c (symfile_bfd_open, generic_load)
+ (add_symbol_file_command, remove_symbol_file_command): Use
+ gdb::unique_xmalloc_ptr.
+ * source.c (openp): Use gdb::unique_xmalloc_ptr.
+ * psymtab.c (maintenance_print_psymbols): Use
+ gdb::unique_xmalloc_ptr.
+ * corelow.c (core_open): Use gdb::unique_xmalloc_ptr.
+ * breakpoint.c (save_breakpoints): Use gdb::unique_xmalloc_ptr.
+ * solib.c (solib_map_sections): Use gdb::unique_xmalloc_ptr.
+ (reload_shared_libraries_1): Likewise.
+
+2017-08-05 Tom Tromey <tom@tromey.com>
+
+ * rust-exp.y (rust_op_ptr, set_field): Remove typedefs.
+ (rust_op_vector, rust_set_vector): New typedefs.
+ (current_parser): New global.
+ (work_obstack): Change to pointer type. Update all users.
+ (rust_ast, pstate): Remove globals.
+ (struct rust_parser): New.
+ (%union) <params, field_inits>: Change type.
+ (start, tuple_expr, unit_expr, struct_expr_list, literal)
+ (field_expr, expr_list, maybe_expr_list, type_list): Update.
+ (ast_call_ish, ast_path, ast_function_type, ast_tuple_type)
+ (convert_params_to_types, convert_params_to_expression): Change
+ type of "params".
+ (ast_string): Change type of "fields".
+ (rust_parse): Make a rust_parser. Remove cleanups.
+ (rust_lex_tests): Make and install an auto_obstack.
+
+2017-08-04 Yao Qi <yao.qi@linaro.org>
+
+ * configure.srv (ipa_x32_linux_regobj): New.
+ * linux-amd64-ipa.c (get_ipa_tdesc): Use X86_TDESC_AVX_AVX512
+ instead of X86_TDESC_AVX512.
+ (initialize_low_tracepoint): Call
+ init_registers_x32_avx_avx512_linux.
+
+2017-08-04 Yao Qi <yao.qi@linaro.org>
+
+ * utils.h (gdb_argv): Add namespace std for nullptr_t.
+
+2017-08-03 Ruslan Kabatsayev <b7.10110111@gmail.com>
+
+ * MAINTAINERS (Write After Approval): Add Ruslan Kabatsayev.
+
+2017-08-03 Tom Tromey <tom@tromey.com>
+
+ * utils.c (make_cleanup_freeargv, do_freeargv, gdb_buildargv):
+ Remove.
+ * utils.h (make_cleanup_freeargv, gdb_buildargv): Remove.
+
+2017-08-03 Tom Tromey <tom@tromey.com>
+
+ * python/py-param.c (compute_enum_values): Use gdb_argv.
+
+2017-08-03 Tom Tromey <tom@tromey.com>
+
+ * utils.h (struct gdb_argv_deleter): New.
+ (gdb_argv): New class.
+ * utils.c (gdb_argv::reset): New method.
+ * tracepoint.c (delete_trace_variable_command): Use gdb_argv.
+ * tracefile.c (tsave_command): Use gdb_argv.
+ * top.c (new_ui_command): Use gdb_argv.
+ * symmisc.c (maintenance_print_symbols)
+ (maintenance_print_msymbols, maintenance_expand_symtabs): Use gdb_argv.
+ * symfile.c (symbol_file_command, generic_load)
+ (remove_symbol_file_command): Use gdb_argv.
+ * stack.c (backtrace_command): Use gdb_argv.
+ * source.c (add_path, show_substitute_path_command)
+ (unset_substitute_path_command, set_substitute_path_command):
+ Use gdb_argv.
+ * skip.c (skip_command): Use gdb_argv. Use gdb_buildargv.
+ * ser-mingw.c (pipe_windows_open): Use gdb_argv.
+ * remote.c (extended_remote_run, remote_put_command)
+ (remote_get_command, remote_delete_command): Use gdb_argv.
+ * remote-sim.c (gdbsim_load, gdbsim_create_inferior)
+ (gdbsim_open): Use gdb_argv.
+ * python/py-cmd.c (gdbpy_string_to_argv): Use gdb_argv.
+ * psymtab.c (maintenance_print_psymbols): Use gdb_argv.
+ * procfs.c (procfs_info_proc): Use gdb_argv.
+ * interps.c (interpreter_exec_cmd): Use gdb_argv.
+ * infrun.c (handle_command): Use gdb_argv.
+ * inferior.c (add_inferior_command, clone_inferior_command):
+ Use gdb_argv.
+ * guile/scm-string.c (gdbscm_string_to_argv): Use gdb_argv.
+ * exec.c (exec_file_command): Use gdb_argv.
+ * cli/cli-cmds.c (alias_command): Use gdb_argv.
+ * compile/compile.c (build_argc_argv): Use gdb_argv.
+
+2017-08-03 Tom Tromey <tom@tromey.com>
+
+ * python/python.c (gdbpy_decode_line): Use unique_xmalloc_ptr.
+
+2017-08-03 Tom Tromey <tom@tromey.com>
+
+ * python/python.c (compute_python_string): Return std::string.
+ (gdbpy_eval_from_control_command): Update.
+ (do_start_initialization): Use std::string.
+ * python/py-varobj.c (py_varobj_iter_next): Use string_printf, not
+ xstrprintf.
+ * python/py-breakpoint.c (local_setattro): Use string_printf, not
+ xstrprintf.
+
+2017-08-03 Tom Tromey <tom@tromey.com>
+
+ * top.h (do_restore_instream_cleanup): Remove.
+ * top.c (do_restore_instream_cleanup): Remove.
+ (read_command_file): Use scoped_restore.
+ * cli/cli-script.c (execute_user_command): Use scoped_restore.
+
+2017-08-03 Tom Tromey <tom@tromey.com>
+
+ * cli/cli-script.c (execute_user_command)
+ (execute_control_command): Use scoped_restore.
+
2017-08-03 Tom Tromey <tom@tromey.com>
* cli/cli-script.c (do_restore_user_call_depth): Remove.