]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/gdbserver/linux-low.h
lwp_info: Make the arch code free arch_lwp_info
[thirdparty/binutils-gdb.git] / gdb / gdbserver / linux-low.h
index 0ece7bc25bfedc4374c7121cd28b52215ec7b6df..9c69dece96d5515b002c4907da01b94f0ea52324 100644 (file)
@@ -194,6 +194,10 @@ struct linux_target_ops
      allocate it here.  */
   void (*new_thread) (struct lwp_info *);
 
+  /* Hook to call when a thread is being deleted.  If extra per-thread
+     architecture-specific data is needed, delete it here.  */
+  void (*delete_thread) (struct arch_lwp_info *);
+
   /* Hook to call, if any, when a new fork is attached.  */
   void (*new_fork) (struct process_info *parent, struct process_info *child);