Canonicalize conversion operators
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 39d6e8dde9e7b3ad0712bed94a0a89297aca87be..bbb0aab41910b55f83c3f8dda2113b5c18780a01 100644 (file)
@@ -1,3 +1,237 @@
+2017-11-18  Keith Seitz  <keiths@redhat.com>
+
+       * c-exp.y (oper): Canonicalize conversion operators of user-defined
+       types.
+       Add whitespace to front of type name.
+
+2017-10-18  Keith Seitz  <keiths@redhat.com>
+
+       * dwarf2read.c (dwarf2_add_typedef): Issue a complaint on unhandled
+       DW_AT_accessibility.
+
+2017-10-18  Yao Qi  <yao.qi@linaro.org>
+
+       * features/tic6x-c62x-linux.c: Remove.
+
+2017-10-17  Tom Tromey  <tom@tromey.com>
+
+       * disasm.c (do_mixed_source_and_assembly_deprecated): Use
+       gdb::optional, ui_out_emit_list, ui_out_emit_tuple.
+       (do_mixed_source_and_assembly): Likewise.
+
+2017-10-17  Tom Tromey  <tom@tromey.com>
+
+       * regcache.c (regcache::xfer_part): Remove assertion.
+
+2017-10-17  Pedro Alves  <palves@redhat.com>
+
+       * xml-support.c (xml_fetch_content_from_file): Call
+       unique_ptr::release() instead unique_ptr::get() when passing
+       through xrealloc.
+
+2017-10-17  Yao Qi  <yao.qi@linaro.org>
+
+       * regcache.c (regcache::xfer_part): Remove parameters read and
+       write, add parameter is_raw.  All callers are updated.
+
+2017-10-16  Keith Seitz  <keiths@redhat.com>
+
+        * c-typeprint.c (enum access_specifier): Moved here from
+        c_type_print_base.
+        (output_access_specifier): New function.
+        (c_type_print_base): Consider typedefs when assessing
+        whether access labels are needed.
+        Use output_access_specifier as needed.
+        Output access specifier for typedefs, if needed.
+        * dwarf2read.c (dwarf2_add_typedef): Record DW_AT_accessibility.
+        * gdbtypes.h (struct typedef_field) <is_protected, is_private>: New
+        fields.
+        (TYPE_TYPEDEF_FIELD_PROTECTED, TYPE_TYPEDEF_FIELD_PRIVATE): New
+        accessor macros.
+
+2017-10-16  Tom Tromey  <tom@tromey.com>
+
+       * linux-tdep.c (linux_info_proc, linux_find_memory_regions_full)
+       (linux_fill_prpsinfo, linux_vsyscall_range_raw): Update.
+       * target.c (target_fileio_read_stralloc): Update.
+       * sparc64-tdep.c (adi_is_addr_mapped): Update.
+       * target.h (target_fileio_read_stralloc): Return
+       unique_xmalloc_ptr.
+
+2017-10-16  Tom Tromey  <tom@tromey.com>
+
+       * xml-syscall.c (xml_init_syscalls_info): Update.
+       * xml-support.c (xinclude_start_include): Update.
+       (xml_fetch_content_from_file): Return unique_xmalloc_ptr.
+       * xml-support.h (xml_fetch_another): Return unique_xmalloc_ptr.
+       (xml_fetch_content_from_file): Likewise.
+       * osdata.c (get_osdata): Update.
+       * target.h (target_read_stralloc, target_get_osdata): Return
+       unique_xmalloc_ptr.
+       * solib-aix.c (solib_aix_get_library_list): Update.
+       * solib-target.c (solib_target_current_sos): Update.
+       * solib-svr4.c (svr4_current_sos_via_xfer_libraries): Update.
+       * xml-tdesc.c (fetch_available_features_from_target): Update.
+       (target_fetch_description_xml): Update.
+       (file_read_description_xml): Update.
+       * remote.c (remote_get_threads_with_qxfer, remote_memory_map)
+       (remote_traceframe_info, btrace_read_config, remote_read_btrace)
+       (remote_pid_to_exec_file): Update.
+       * target.c (target_read_stralloc): Return unique_xmalloc_ptr.
+       (target_get_osdata): Likewise.
+
+2017-10-16  Tom Tromey  <tom@tromey.com>
+
+       * remote.c (remote_register_number_and_offset): Use std::vector.
+       (remote_set_syscall_catchpoint): Use gdb::unique_xmalloc_ptr.
+       (putpkt_binary): Use gdb::def_vector.
+       (compare_sections_command): Use gdb::byte_vector.
+
+2017-10-16  Tom Tromey  <tom@tromey.com>
+
+       * ppc-linux-nat.c (hwdebug_insert_point): Use
+       gdb::unique_xmalloc_ptr, XDUP.
+
+2017-10-16  Tom Tromey  <tom@tromey.com>
+
+       * probe.c (parse_probes): Use std::string.
+       (info_probes_for_ops, enable_probes_command)
+       (disable_probes_command): Remove cleanups.
+
+2017-10-16  Tom Tromey  <tom@tromey.com>
+
+       * buildsym.c (block_compar): Remove.
+       (end_symtab_get_static_block): Use std::vector.
+
+2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * memrange.h (struct mem_range): Define operator< and operator==.
+       (mem_range_s): Remove.
+       (DEF_VEC_O (mem_range_s)): Remove.
+       (normalize_mem_ranges): Change parameter type to std::vector.
+       * memrange.c (compare_mem_ranges): Remove.
+       (normalize_mem_ranges): Change parameter type to std::vector,
+       adjust to vector change.
+       * exec.c (section_table_available_memory): Return vector, remove
+       parameter.
+       (section_table_read_available_memory): Adjust to std::vector
+       change.
+       * remote.c (remote_read_bytes): Adjust to std::vector
+       change.
+       * tracepoint.h (traceframe_available_memory): Change parameter
+       type to std::vector.
+       * tracepoint.c (traceframe_available_memory): Change parameter
+       type to std::vector, adjust.
+       * gdb/mi/mi-main.c (mi_cmd_trace_frame_collected): Adjust to
+       std::vector change.
+       * gdb/Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+       unittests/memrange-selftests.c.
+       (SUBDIR_UNITTESTS_OBS): Add memrange-selftests.o.
+       * gdb/unittests/memrange-selftests.c: New file.
+
+2017-10-16  Pedro Alves  <palves@redhat.com>
+
+       * elfread.c (probe_key_free): Rename range-for variable.
+       * probe.c (parse_probes_in_pspace, find_probes_in_objfile)
+       (find_probe_by_pc, collect_probes): Rename range-for variable.
+
+2017-10-16  Yao Qi  <yao.qi@linaro.org>
+
+       * features/Makefile (XMLTOC): Remove tic6x-*.xml.
+       * features/tic6x-c62x.c: Remove.
+       * features/tic6x-c64x-linux.c: Remove.
+       * features/tic6x-c64x.c: Remove.
+       * features/tic6x-c64xp-linux.c: Remove.
+       * features/tic6x-c64xp.c: Remove.
+       * tic6x-linux-tdep.c (_initialize_tic6x_linux_tdep): Don't call
+       initialize_tdesc_tic6x_*_linux functions.
+       * tic6x-tdep.c (_initialize_tic6x_tdep): Don't call
+       initialize_tdesc_tic6x_* functions.
+
+2017-10-16  Yao Qi  <yao.qi@linaro.org>
+
+       * features/Makefile (WHICH): Remove tic6x-c64xp, tic6x-c64x
+       tic6x-c62x.
+       * regformats/tic6x-c62x.dat: Remove.
+       * regformats/tic6x-c64x.dat: Remove.
+       * regformats/tic6x-c64xp.dat: Remove.
+
+2017-10-15  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * tracepoint.c (parse_traceframe_info): Return a unique_ptr
+       (the !HAVE_LIBEXPAT version).
+
+2017-10-14  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * nat/linux-osdata.c (struct pid_pgid_entry) <operator<>: Make
+       const.
+
+2017-10-14  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * target.h: Include tracepoint.h.
+       (enum trace_find_type): Move to tracepoint.h.
+       (struct target_ops) <to_traceframe_info>: Return a unique ptr.
+       * tracepoint.h: Don't include target.h
+       (enum trace_find_type): Move from target.h.
+       (parse_traceframe_info): Return a unique ptr.
+       * tracepoint.c (current_traceframe_info): Change type to unique
+       ptr.
+       (free_traceframe_info): Remove.
+       (clear_traceframe_info): Don't manually free
+       current_traceframe_info.
+       (free_result): Remove.
+       (parse_traceframe_info): Return a unique ptr.
+       (get_traceframe_info): Adjust to unique ptr.
+       * ctf.c (ctf_traceframe_info): Return a unique ptr.
+       * remote.c (remote_traceframe_info): Return a unique ptr.
+       * tracefile-tfile.c (tfile_traceframe_info): Return a unique
+       ptr.
+       * target-debug.h (target_debug_print_traceframe_info_up): New
+       macro.
+       * target-delegates.c: Regenerate.
+
+2017-10-14  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * memrange.h (struct mem_range): Add constructors.
+       * tracepoint.h (struct traceframe_info) <memory>: Change type to
+       std::vector<mem_range>.
+       * tracepoint.c (free_traceframe_info): Don't manually free
+       vector.
+       (traceframe_info_start_memory): Adjust to vector change.
+       (traceframe_available_memory): Likewise.
+       * tracefile-tfile.c (build_traceframe_info): Likewise.
+       * ctf.c (ctf_traceframe_info): Likewise.
+
+2017-10-14  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * tracepoint.h (struct traceframe_info) <tvars>: Change type to
+       std::vector<int>.
+       * tracepoint.c (free_traceframe_info): Deallocate with delete.
+       (traceframe_info_start_tvar): Adjust to vector change.
+       (parse_traceframe_info): Allocate with new.
+       * ctf.c (ctf_traceframe_info): Allocate with new, adjust to
+       vector change.
+       * tracefile-tfile.c (build_traceframe_info): Adjust to vector
+       change.
+       tfile_traceframe_info): Allocate with new.
+       * mi/mi-main.c (mi_cmd_trace_frame_collected): Adjust to vector
+       change.
+
+2017-10-14  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * tracepoint.c (traceframe_info): Rename to...
+       (current_traceframe_info): ...this.
+       (clear_traceframe_info): Adjust.
+       (get_traceframe_info): Adjust.
+
+2017-10-14  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * nat/linux-osdata.c: Include algorithm.
+       (compare_processes): Remove.
+       (struct pid_pgid_entry): New struct.
+       (linux_xfer_osdata_processgroups): Use std::vector instead of
+       XNEWVEC.
+
 2017-10-14  Simon Marchi  <simon.marchi@ericsson.com>
 
        * objfiles.h: Don't include symfile.h.
This page took 0.030492 seconds and 4 git commands to generate.