+2017-10-30 Simon Marchi <simon.marchi@ericsson.com>
+
+ * common/common-utils.h (in_inclusive_range): New function.
+ * arm-tdep.c (arm_record_extension_space): Use
+ in_inclusive_range.
+ (thumb_record_ld_st_reg_offset): Use in_inclusive_range.
+ * cris-tdep.c (cris_spec_reg_applicable): Use
+ in_inclusive_range.
+
+2017-10-30 Pedro Alves <palves@redhat.com>
+ Simon Marchi <simon.marchi@ericsson.com>
+
+ * remote.c (remote_set_syscall_catchpoint): Build a std::string
+ instead of a gdb::unique_xmalloc_ptr, using string_appendf.
+
+2017-10-30 Pedro Alves <palves@redhat.com>
+
+ * common/common-utils.c (string_appendf, string_vappendf): New
+ functions.
+ * common/common-utils.h (string_appendf, string_vappendf): New
+ declarations.
+ * unittests/common-utils-selftests.c (string_appendf_func)
+ (test_appendf_func, string_vappendf_wrapper, string_appendf_tests)
+ (string_vappendf_tests): New functions.
+ (_initialize_common_utils_selftests): Register "string_appendf" and
+ "string_vappendf tests".
+
+2017-10-30 Pedro Alves <palves@redhat.com>
+
+ * unittests/common-utils-selftests.c (format_func): New typedef.
+ (string_printf_tests, string_vprintf_tests): Tests factored out
+ and merged to ...
+ (test_format_func): ... this new function.
+ (string_printf_tests, string_vprintf_tests): Reimplement on top of
+ test_format_func.
+
+2017-10-29 Simon Marchi <simon.marchi@ericsson.com>
+
+ * darwin-nat.c: Remove include of gdb.h.
+
+2017-10-29 Simon Marchi <simon.marchi@ericsson.com>
+
+ * xtensa-xtregs.c: Fix formatting issues.
+
+2017-10-29 Simon Marchi <simon.marchi@ericsson.com>
+
+ * xtensa-xtregs.c (xtensa_regtable_t) <name>: Constify.
+
+2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
+
+ PR python/21213
+ * python/py-infthread.c (thpy_get_inferior): Increment reference
+ of inferior before returning it.
+
+2017-10-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * unittests/common-utils-selftests.c (format): Add
+ ATTRIBUTE_PRINTF.
+
+2017-10-27 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * xml-syscall.c (struct syscall_desc): Add constructor.
+ <name>: Change type to std::string.
+ (syscall_desc_up): New typedef.
+ (syscall_desc_p): Remove typeder.
+ (DEF_VEC_P(syscall_desc_p)): Remove.
+ (struct syscall_group_desc): Add constructor.
+ <name>: Change type to std::string.
+ <syscalls>: Change type to std::vector.
+ (syscall_group_desc_up): New typedef.
+ (syscall_group_desc_p): Remove typedef.
+ (DEF_VEC_P(syscall_group_desc_p)): Remove.
+ (struct syscalls_info) <syscalls>: Change type to std::vector of
+ unique_ptr.
+ <groups>: Likewise.
+ <my_gdb_datadir>: Change type to std::string.
+ (syscalls_info_up): New typedef.
+ (allocate_syscalls_info): Remove.
+ (syscalls_info_free_syscalls_desc): Remove.
+ (syscalls_info_free_syscall_group_desc): Remove.
+ (free_syscalls_info): Remove.
+ (make_cleanup_free_syscalls_info): Remove.
+ (syscall_group_create_syscall_group_desc): Adjust.
+ (syscall_group_add_syscall): Adjust.
+ (syscall_create_syscall_desc): Adjust.
+ (syscall_parse_xml): Adjust, use unique_ptr instead of cleanup.
+ (init_syscalls_info): Adjust.
+ (syscall_group_get_group_by_name): Adjust.
+ (xml_get_syscall_number): Adjust.
+ (xml_get_syscall_name): Adjust.
+ (xml_list_of_syscalls): Adjust.
+ (xml_list_syscalls_by_group): Adjust.
+ (xml_list_of_groups): Adjust.
+
+2017-10-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * probe.h: Don't include gdb_vecs.h.
+ (DEF_VEC_P (probe_p)): Remove.
+ (find_probes_in_objfile): Return an std::vector.
+ * probe.c (find_probes_in_objfile): Likewise.
+ * breakpoint.c (breakpoint_objfile_data)
+ <longjmp_probes>: Change type to std::vector.
+ <exception_probes>: Likewise.
+ (free_breakpoint_probes): Don't manually free vectors.
+ (create_longjmp_master_breakpoint): Adjust.
+ (create_exception_master_breakpoint): Adjust.
+ * solib-svr4.c (svr4_create_probe_breakpoints): Change
+ parameter type, adjust.
+ (svr4_create_solib_event_breakpoints): Adjust.
+
+2017-10-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * breakpoint.c (breakpoint_objfile_data): Initialize fields.
+ (get_breakpoint_objfile_data): Allocate breakpoint_objfile_data
+ with new.
+ (free_breakpoint_probes): Rename to ...
+ (free_breakpoint_objfile_data): ... this, and call delete on
+ bp_objfile_data..
+
+2017-10-27 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * auto-load.c: Don't include gdb_vecs.h, include algorithm.
+ (loaded_script_ptr): Remove typedef.
+ (DEF_VEC_P (loaded_script_ptr)): Remove.
+ (struct collect_matching_scripts_data): Add constructor.
+ <scripts_p>: Change type to (pointer to) std::vector.
+ (collect_matching_scripts_data): Adjust.
+ (sort_scripts_by_name): Make suitable for std::sort.
+ (print_scripts): Don't sort vector, adjust to std::vector.
+ (auto_load_info_scripts): Sort vectors, adjust to std::vector.
+
+2017-10-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * symfile.c (filename_language): Make struct, not typedef. Add
+ constructor.
+ <ext>: Change type to std::string.
+ (DEF_VEC_O (filename_language)): Remove.
+ (filename_language_table): Change type to std::vector.
+ (add_filename_language): Adjust.
+ (set_ext_lang_command): Adjust.
+ (info_ext_lang_command): Adjust.
+ (deduce_language_from_filename): Adjust.
+ (class scoped_restore_filename_language_table): Remove.
+ (test_filename_language): Use scoped_restore.
+ (test_set_ext_lang_command): Use scoped_restore, adjust to
+ std::vector change.
+
+2017-10-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * symfile.c: Include selftest.h.
+ (class scoped_restore_filename_language_table): New.
+ (test_filename_language): New test.
+ (test_set_ext_lang_command): New test.
+ (_initialize_symfile): Register tests.
+
+2017-10-27 Keith Seitz <keiths@redhat.com>
+
+ * breakpoint.c (print_breakpoint_location): Use the symbol saved
+ in the bp_location, falling back to find_pc_sect_function when
+ needed.
+ (add_location_to_breakpoint): Save sal->symbol.
+ * breakpoint.h (struct bp_location) <symbol>: New field.
+ * symtab.c (find_function_start_sal): Save the symbol into the SaL.
+ * symtab.h (struct symtab_and_line) <symbol>: New field.
+
+2017-10-26 Patrick Frants <osscontribute@gmail.com>
+
+ PR gdb/13669
+ * cp-valprint.c (cp_print_value_fields): Use obstack_blank_fast
+ to rewind obstack.
+
+2017-10-26 Pedro Alves <palves@redhat.com>
+
+ * remote.c (remote_async_terminal_ours_p): Delete.
+ (remote_open_1, remote_terminal_inferior, remote_terminal_ours):
+ Remove references to 'remote_async_terminal_ours_p'.
+
+2017-10-26 Yao Qi <yao.qi@linaro.org>
+
+ * breakpoint.h (regular_breakpoint_inserted_here_p): Remove.
+
+2017-10-26 Yao Qi <yao.qi@linaro.org>
+
+ * break-catch-sig.c (signal_catchpoint_breakpoint_hit): Make
+ aspace const.
+ * break-catch-syscall.c (breakpoint_hit_catch_syscall):
+ Likewise.
+ * breakpoint.c (bpstat_check_location): Remove cast.
+ (breakpoint_hit_catch_fork): Make aspce const.
+ (breakpoint_hit_catch_solib): Likewise.
+ (breakpoint_hit_catch_exec): Likewise.
+ (breakpoint_hit_ranged_breakpoint): Likewise.
+ (breakpoint_hit_watchpoint): Likewise.
+ (base_breakpoint_breakpoint_hit): Likewise.
+ (bkpt_breakpoint_hit): Likewise.
+ (dprintf_breakpoint_hit): Likewise.
+ (tracepoint_breakpoint_hit): Likewise.
+ * breakpoint.h (breakpoint_ops) <breakpoint_hit>: Likewise.
+
+2017-10-26 Yao Qi <yao.qi@linaro.org>
+
+ * breakpoint.c (breakpoint_location_address_match): Change
+ "struct address_space *" to "const address_space".
+ (breakpoint_location_address_range_overlap): Likewise.
+ (breakpoint_here_p): Likewise.
+ (breakpoint_in_range_p): Likewise.
+ (moribund_breakpoint_here_p): Likewise.
+ (bp_location_inserted_here_p): Likewise.
+ (software_breakpoint_inserted_here_p): Likewise.
+ (hardware_breakpoint_inserted_here_p): Likewise.
+ (hardware_watchpoint_inserted_in_range): Likewise.
+ (bpstat_check_location): Likewise.
+ (bpstat_stop_status): Likewise.
+ (breakpoint_address_match): Likewise.
+ (breakpoint_address_match_range): Likewise.
+ (breakpoint_location_address_match): Likewise.
+ (breakpoint_location_address_range_overlap): Likewise.
+ (insert_single_step_breakpoint): Likewise.
+ (breakpoint_has_location_inserted_here): Likewise.
+ (single_step_breakpoint_inserted_here_p): Likewise.
+ (pc_at_non_inline_function): Likewise.
+ * breakpoint.h (bpstat_stop_status): Update declaration.
+ (breakpoint_here_p): Likewise.
+ (breakpoint_in_range_p): Likewise.
+ (moribund_breakpoint_here_p): Likewise.
+ (breakpoint_inserted_here_p): Likewise.
+ (software_breakpoint_inserted_here_p): Likewise.
+ (hardware_breakpoint_inserted_here_p): Likewise.
+ (breakpoint_has_location_inserted_here): Likewise.
+ (single_step_breakpoint_inserted_here_p): Likewise.
+ (hardware_watchpoint_inserted_in_range): Likewise.
+ (breakpoint_address_match): Likewise.
+ (insert_single_step_breakpoint): Likewise.
+ (pc_at_non_inline_function): Likewise.
+ * gdbthread.h (thread_has_single_step_breakpoint_here): Likewise.
+ * record.c (record_check_stopped_by_breakpoint): Likewise.
+ * record.h (record_check_stopped_by_breakpoint): Likewise.
+ * thread.c (thread_has_single_step_breakpoint_here): Likewise.
+
2017-10-25 Yao Qi <yao.qi@linaro.org>
* aarch32-linux-nat.c (aarch32_gp_regcache_supply): Use