X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=eec03e443cddd728ade4ba7086fcba8028f59486;hb=09b847f3a85ca29ec20ada375fe67843755b6413;hp=5dea490d1b708186a7a361ded64c93b62e70dd67;hpb=593e3209f3e4e525030bc8768850f3876fd0b850;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5dea490d1b..eec03e443c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,142 @@ +2017-10-31 Simon Marchi + + * tracepoint.c (tfind_command): Remove const_cast. + +2017-10-30 Mike Gulick + + * Makefile.in (HFILES_NO_SRCDIR): Remove reference to gdb.h. + +2017-10-30 Simon Marchi + + * 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 + Simon Marchi + + * 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 + + * 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 + + * 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 + + * darwin-nat.c: Remove include of gdb.h. + +2017-10-29 Simon Marchi + + * xtensa-xtregs.c: Fix formatting issues. + +2017-10-29 Simon Marchi + + * xtensa-xtregs.c (xtensa_regtable_t) : Constify. + +2017-10-28 Maksim Dzabraev + + PR python/21213 + * python/py-infthread.c (thpy_get_inferior): Increment reference + of inferior before returning it. + +2017-10-27 Simon Marchi + + * unittests/common-utils-selftests.c (format): Add + ATTRIBUTE_PRINTF. + +2017-10-27 Simon Marchi + + * xml-syscall.c (struct syscall_desc): Add constructor. + : 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. + : Change type to std::string. + : 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) : Change type to std::vector of + unique_ptr. + : Likewise. + : 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 + + * 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) + : Change type to std::vector. + : 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 + + * 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 + + * 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. + : 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 * symfile.c (filename_language): Make struct, not typedef. Add