Add $_gthread convenience variable
[deliverable/binutils-gdb.git] / gdb / gdbthread.h
index 5ff38bf084eb93655f5bf77c286acdc28cca2c5a..37c2837b20530f58cf24077be54fac32b8edb946 100644 (file)
@@ -216,8 +216,9 @@ struct thread_info
      Above, both inferiors 1 and 2 have threads numbered 1-3, but each
      thread has its own unique global ID.  */
 
-  /* The thread's global GDB thread number.  This is exposed to MI and
-     Python/Scheme.  */
+  /* The thread's global GDB thread number.  This is exposed to MI,
+     Python/Scheme, visible with "info threads -gid", and is also what
+     the $_gthread convenience variable is bound to.  */
   int global_num;
 
   /* The per-inferior thread number.  This is unique in the inferior
This page took 0.026384 seconds and 4 git commands to generate.