Remove last cleanup from linux-namespaces.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7a7ee5fc807956b10965d94d9652ada5bd3a6848..e4f7b86f7f87ecfc067f06aca35a33159b913d41 100644 (file)
@@ -1,3 +1,93 @@
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * nat/linux-namespaces.c (linux_mntns_access_fs): Use SCOPE_EXIT.
+       * common/filestuff.h (make_cleanup_close): Don't declare.
+       * common/filestuff.c (do_close_cleanup, make_cleanup_close):
+       Remove.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * solib-aix.c: Use make_scope_exit.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * solib-svr4.c (svr4_parse_libraries, svr4_current_sos_direct):
+       Use make_scope_exit.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * solib-svr4.c (disable_probes_interface): Remove parameter.
+       (svr4_handle_solib_event): Use make_scope_exit.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * remote.c (struct stop_reply_deleter): Remove.
+       (stop_reply_up): Update.
+       (struct stop_reply): Derive from notif_event.  Don't typedef.
+       <regcache>: Now a std::vector.
+       (stop_reply_xfree): Remove.
+       (stop_reply::~stop_reply): Rename from stop_reply_dtr.
+       (remote_notif_stop_alloc_reply): Return a unique_ptr.  Use new.
+       (remote_target::discard_pending_stop_replies): Use delete.
+       (remote_target::remote_parse_stop_reply): Update.
+       (remote_target::process_stop_reply): Update.
+       * remote-notif.h (struct notif_event): Add virtual destructor.
+       Remove "dtr" member.
+       (struct notif_client) <alloc_event>: Return a unique_ptr.
+       (notif_event_xfree): Don't declare.
+       (notif_event_up): New typedef.
+       * remote-notif.c (remote_notif_ack, remote_notif_parse): Update.
+       (notif_event_xfree, do_notif_event_xfree): Remove.
+       (remote_notif_state_xfree): Update.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * infrun.c (displaced_step_clear_cleanup): Now a
+       forward_scope_exit type.
+       (displaced_step_prepare_throw): Update.
+       (displaced_step_fixup): Update.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * inferior.h (class inferior): Update comment.
+       * gdbthread.h (class thread_info): Update comment.
+
+2019-03-06  Joel Brobecker  <brobecker@adacore.com>
+           Tom Tromey  <tom@tromey.com>
+
+       * stabsread.h (struct stab_section_list): Remove.
+       (coffstab_build_psymtabs): Update.
+       * dbxread.c (symbuf_sections): Now a std::vector.
+       (sect_idx): New global.
+       (fill_symbuf): Update.
+       (coffstab_build_psymtabs): Change type of stabsects parameter.
+       Update.
+       * coffread.c (struct coff_symfile_info) <stabsects>: Now a
+       std::vector.
+       (linetab, linetab_offset, linetab_size, stringtab): Move earlier.
+       (coff_locate_sections): Update.
+       (coff_symfile_read): Remove cleanups.  Update.
+       (init_stringtab): Add storage parameter.
+       (free_stringtab, free_stringtab_cleanup): Remove.
+       (init_lineno): Add storage parameter.
+       (free_linetab, free_linetab_cleanup): Remove.
+
+2019-03-06  Pedro Alves  <palves@redhat.com>
+
+       * linux-fork.c (fork_info::clobber_regs): Delete.
+       (fork_load_infrun_state): Remove reference to 'clobber_regs'.
+       (fork_save_infrun_state): Remove 'clobber_regs' parameter.  Update
+       comment.  Adjust.
+       (scoped_switch_fork_info::scoped_switch_fork_info)
+       (checkpoint_command, linux_fork_context): Adjust
+       fork_save_infrun_state calls.
+
+2019-03-06  Pedro Alves  <palves@redhat.com>
+
+       * linux-fork.c (inf_has_multiple_thread_cb): Delete.
+       (inf_has_multiple_threads): Return 'bool' and rewrite using
+       inferior_info::threads().
+
 2019-03-06  Pedro Alves  <palves@redhat.com>
 
        * linux-fork.c: Include <list>.
This page took 0.024493 seconds and 4 git commands to generate.