Use new and delete for windows_thread_info
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c2e6d60fd6fe0ef3b6683430ab4562149a699fa6..f0b1f334850ef06fd8f1ea01eb9d7d9cb4a48d0d 100644 (file)
@@ -1,3 +1,11 @@
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (windows_add_thread): Use new.
+       (windows_init_thread_list, windows_delete_thread): Use delete.
+       (get_windows_debug_event): Update.
+       * nat/windows-nat.h (struct windows_thread_info): Add constructor,
+       destructor, and initializers.
+
 2020-04-08  Tom Tromey  <tromey@adacore.com>
 
        * windows-nat.c (struct windows_thread_info): Remove.
This page took 0.027297 seconds and 4 git commands to generate.