Allow gdb::unique_xmalloc_ptr<T[]>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index f6440858115573f03b61c1f331ce6b6fa6ca2df3..f670f99959040408b8bde614982b3c8a8c416e70 100644 (file)
@@ -1,3 +1,156 @@
+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.
This page took 0.025491 seconds and 4 git commands to generate.