]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
Use new and delete for struct infcall_control_state
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index d5441c812b060516ea3412ab77213fdc3c4e0285..681ed3a232f53cf77778ac426968159a6c65d898 100644 (file)
@@ -1,3 +1,15 @@
+2018-09-17  Tom Tromey  <tom@tromey.com>
+
+       * gdbthread.h (struct thread_control_state): Add initializer.
+       (class thread_info) <control>: Remove initializer.
+       * inferior.h (struct inferior_control_state): Add initializer.
+       (class inferior) <control>: Remove initializer.
+       (exit_inferior_1): Update.
+       * infrun.c (struct infcall_control_state): Add constructors.
+       (save_infcall_control_state): Use new.
+       (restore_infcall_control_state, discard_infcall_control_state):
+       Use delete.
+
 2018-09-17  Tom Tromey  <tom@tromey.com>
 
        * infrun.c (struct infcall_suspend_state) <registers>: Now a