[gdb/doc] Update bullet list of multi-thread debugging facilities

Message ID 1452704154-19282-1-git-send-email-palves@redhat.com
State New, archived
Headers

Commit Message

Pedro Alves Jan. 13, 2016, 4:55 p.m. UTC
  Noticed a few things are missing here.

gdb/doc/ChangeLog:
2016-01-09  Pedro Alves  <palves@redhat.com>

	* gdb.texinfo (Threads): Mention "thread name", "thread find",
	"$_thread" and "$_gthread" in the intro.
---
 gdb/doc/gdb.texinfo | 5 +++++
 1 file changed, 5 insertions(+)
  

Patch

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index fbc76fa..9a3f921 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -2842,12 +2842,17 @@  programs:
 @item @samp{info threads}, a command to inquire about existing threads
 @item @samp{thread apply [@var{thread-id-list}] [@var{all}] @var{args}},
 a command to apply a command to a list of threads
+@item @samp{thread name}, a command to name a thread
+@item @samp{thread find}, a command to search for a thread
 @item thread-specific breakpoints
 @item @samp{set print thread-events}, which controls printing of 
 messages on thread start and exit.
 @item @samp{set libthread-db-search-path @var{path}}, which lets
 the user specify which @code{libthread_db} to use if the default choice
 isn't compatible with the program.
+@item @samp{$_thread} and @samp{$_gthread}, convenience variables that hold
+the thread numbers of the current thread.
+
 @end itemize
 
 @cindex focus of debugging