Introduce GDB_THREAD_OPTION_EXIT thread option, fix step-over-thread-exit
[binutils-gdb.git] / gdb / target / target.h
index 2691f92e4ef8ef0d9443856b554cb1b2e2455a9d..bad4daa22a1502f70153689ed2fdc254698a816b 100644 (file)
@@ -34,6 +34,10 @@ enum gdb_thread_option : unsigned
   /* Tell the target to report TARGET_WAITKIND_THREAD_CLONED events
      for the thread.  */
   GDB_THREAD_OPTION_CLONE = 1 << 0,
+
+  /* Tell the target to report TARGET_WAITKIND_THREAD_EXIT events for
+     the thread.  */
+  GDB_THREAD_OPTION_EXIT = 1 << 1,
 };
 
 DEF_ENUM_FLAGS_TYPE (enum gdb_thread_option, gdb_thread_options);