From patchwork Wed Jan 13 16:55:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Alves X-Patchwork-Id: 10363 Received: (qmail 100643 invoked by alias); 13 Jan 2016 16:55:58 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 100624 invoked by uid 89); 13 Jan 2016 16:55:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=inquire, Hx-languages-length:1308, intro, threadspecific X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 13 Jan 2016 16:55:56 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id A52128E243 for ; Wed, 13 Jan 2016 16:55:55 +0000 (UTC) Received: from brno.lan (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0DGts7P011495 for ; Wed, 13 Jan 2016 11:55:55 -0500 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH] [gdb/doc] Update bullet list of multi-thread debugging facilities Date: Wed, 13 Jan 2016 16:55:54 +0000 Message-Id: <1452704154-19282-1-git-send-email-palves@redhat.com> Noticed a few things are missing here. gdb/doc/ChangeLog: 2016-01-09 Pedro Alves * gdb.texinfo (Threads): Mention "thread name", "thread find", "$_thread" and "$_gthread" in the intro. --- gdb/doc/gdb.texinfo | 5 +++++ 1 file changed, 5 insertions(+) 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