fix "stale cleanup" internal-warning when using "catch assert" command
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 94dd6176066b2ba9e507d37938c37db821e1fbfc..653771ab24a35b5c5467ac7c4696aca1c00759c5 100644 (file)
@@ -1,3 +1,146 @@
+2018-05-22  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (catch_assert_command): Pass empty string instead
+       of NULL for excep_string argument.
+
+2018-05-22  Maciej W. Rozycki  <macro@mips.com>
+
+       * mips-linux-nat.c (mips64_linux_register_addr): Return -1 if
+       the width of the requested register exceeds the width of the
+       `ptrace' data type.
+
+2018-05-21  Tom Tromey  <tom@tromey.com>
+
+       * printcmd.c (output_command): Remove.
+       (output_command_const): Rename to output_command.
+       * valprint.h (output_command): Rename from output_command_const.
+       * tracepoint.c (trace_dump_actions): Call output_command.
+
+2018-05-21  Tom Tromey  <tom@tromey.com>
+
+       * mi/mi-cmd-catch.c (mi_cmd_catch_assert)
+       (mi_cmd_catch_exception, mi_cmd_catch_handlers): Update.
+       * ada-lang.h (create_ada_exception_catchpoint): Update.
+       * ada-lang.c (struct ada_catchpoint) <excep_string>: Now a
+       std::string.
+       (create_excep_cond_exprs, ~ada_catchpoint)
+       (should_stop_exception, print_one_exception)
+       (print_mention_exception, print_recreate_exception): Update.
+       (ada_get_next_arg): Remove.
+       (catch_ada_exception_command_split): Use std::string.  Change type
+       of "excep_string", "cond_string".
+       (catch_ada_exception_command): Update.
+       (create_ada_exception_catchpoint): Change type of excep_string.
+       (ada_exception_sal): Remove excep_string parameter.
+       (~ada_catchpoint): Remove.
+
+2018-05-21  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (ada_collect_symbol_completion_matches): Remove
+       cleanup.
+
+2018-05-21  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (ada_exception_message_1, ada_exception_message):
+       Return unique_xmalloc_ptr.
+       (print_it_exception): Update.
+
+2018-05-21  Tom Tromey  <tom@tromey.com>
+
+       * tracepoint.c (trace_dump_actions): Use std::string.
+
+2018-05-21  Tom Tromey  <tom@tromey.com>
+
+       * symfile.c (reread_symbols): Use std::string for original_name.
+
+2018-05-21  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (dwarf2_read_debug_names): Use std::unique_ptr.
+       (mapped_index_base): Use DISABLE_COPY_AND_ASSIGN.  Default
+       constructor.
+
+2018-05-20  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * common/traits.h (HAVE_IS_TRIVIALLY_COPYABLE): Rename the wrong
+       instance to...
+       (HAVE_IS_TRIVIALLY_CONSTRUCTIBLE): ... this.
+       * objfiles.c (get_objfile_bfd_data): Allocate
+       objfile_per_bfd_storage with obstack_new when allocating on
+       obstack.
+
+2018-05-20  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * ada-lang.c (cache_symbol): Use XOBNEW and/or XOBNEWVEC and/or
+       OBSTACK_ZALLOC.
+       * dwarf2-frame.c (dwarf2_build_frame_info): Likewise.
+       * hppa-tdep.c (hppa_init_objfile_priv_data): Likewise.
+       * mdebugread.c (mdebug_build_psymtabs): Likewise.
+       (add_pending): Likewise.
+       (parse_symbol): Likewise.
+       (parse_partial_symbols): Likewise.
+       (psymtab_to_symtab_1): Likewise.
+       (new_psymtab): Likewise.
+       (elfmdebug_build_psymtabs): Likewise.
+       * minsyms.c (terminate_minimal_symbol_table): Likewise.
+       * objfiles.c (get_objfile_bfd_data): Likewise.
+       (objfile_register_static_link): Likewise.
+       * psymtab.c (allocate_psymtab): Likewise.
+       * stabsread.c (read_member_functions): Likewise.
+       * xcoffread.c (xcoff_end_psymtab): Likewise.
+
+2018-05-20  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * common/traits.h (HAVE_IS_TRIVIALLY_COPYABLE): Define if
+       compiler supports std::is_trivially_constructible.
+       * common/poison.h: Include obstack.h.
+       (IsMallocable): Define to is_trivially_constructible if the
+       compiler supports it, define to true_type otherwise.
+       (xobnew): New.
+       (XOBNEW): Redefine.
+       (xobnewvec): New.
+       (XOBNEWVEC): Redefine.
+       * gdb_obstack.h (obstack_zalloc): New.
+       (OBSTACK_ZALLOC): Redefine.
+       (obstack_calloc): New.
+       (OBSTACK_CALLOC): Redefine.
+       (obstack_new): New.
+       * gdbarch.sh: Include gdb_obstack in gdbarch.h.
+       (gdbarch_obstack): New declaration in gdbarch.h, definition in
+       gdbarch.c.
+       (GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Use
+       obstack_calloc/obstack_zalloc.
+       (gdbarch_obstack_zalloc): Remove.
+       * target-descriptions.c (tdesc_data_init): Use obstack_new.
+
+2018-05-19  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * stack.c (backtrace_command_1): Remove useless variable int i.
+
+2018-05-19  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * stack.c (print_frame_info): Fix comment.
+
+2018-05-18  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (struct dwz_file): Add constructor, initializers.
+       <dwz_bfd>: Now a gdb_bfd_ref_ptr.
+       (~dwarf2_per_objfile): Update
+       (dwarf2_get_dwz_file): Use new.
+       * dwarf2read.h (struct dwarf2_per_objfile) <dwz_file>: Now a
+       unique_ptr.
+
+2018-05-18  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.h (struct dwarf2_per_objfile) <dwp_file>: Now a
+       unique_ptr.
+       * dwarf2read.c (struct dwp_file): Add constructor and
+       initializers.
+       (open_and_init_dwp_file): Return a unique_ptr.
+       (dwarf2_per_objfile, create_dwp_hash_table)
+       (create_dwo_unit_in_dwp_v1, create_dwo_unit_in_dwp_v2)
+       (lookup_dwo_unit_in_dwp): Update.
+       (open_and_init_dwp_file, get_dwp_file): Update.
+
 2018-05-18  Tom Tromey  <tom@tromey.com>
 
        * dwarf2read.c (dwarf2_per_objfile): Update.
This page took 0.02613 seconds and 4 git commands to generate.