tracepoint: Remove unnecessary const_cast
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9b912144d30b1c5024c94c272dd20a59f1edf8ee..eec03e443cddd728ade4ba7086fcba8028f59486 100644 (file)
@@ -1,3 +1,121 @@
+2017-10-31  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * tracepoint.c (tfind_command): Remove const_cast.
+
+2017-10-30  Mike Gulick  <mgulick@mathworks.com>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Remove reference to gdb.h.
+
+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.
This page took 0.027086 seconds and 4 git commands to generate.