Message ID | e6e328d906b966f11ccf7ac744ca6ff95e88c290.1680686221.git.tankut.baris.aktemur@intel.com |
---|---|
State | New |
Headers |
Return-Path: <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 46AC23856DFB for <patchwork@sourceware.org>; Wed, 5 Apr 2023 09:20:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 46AC23856DFB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1680686452; bh=JFfoAMOgoGcyhPDpbpbNlrSM9+hBIYMpEFkCRvnQUR8=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=qdKiRIHZHlq9bJGhde0WM8v+8zDgx1zBqZrwmfYL4DmCGmsZ6U0NRGh/phHsgvmCb 1KfDE6dFF3VEr7KoCZ6SDgUydYtCoDsKCrIGnXBrKKpK93H5X3jYlkz3hl6Pt0gcDE r+MIYUMpN6vGKBFQnx/CyV/5ZOMi07LVEOwdQV68= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by sourceware.org (Postfix) with ESMTPS id EDA09385840A for <gdb-patches@sourceware.org>; Wed, 5 Apr 2023 09:20:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EDA09385840A X-IronPort-AV: E=McAfee;i="6600,9927,10670"; a="428693596" X-IronPort-AV: E=Sophos;i="5.98,319,1673942400"; d="scan'208";a="428693596" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2023 02:20:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10670"; a="663962981" X-IronPort-AV: E=Sophos;i="5.98,319,1673942400"; d="scan'208";a="663962981" Received: from ultl2604.iul.intel.com (HELO localhost) ([172.28.48.47]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2023 02:20:27 -0700 To: gdb-patches@sourceware.org Subject: [PATCH 2/3] gdb, doc: add the missing '-gid' option to 'info threads' Date: Wed, 5 Apr 2023 11:20:01 +0200 Message-Id: <e6e328d906b966f11ccf7ac744ca6ff95e88c290.1680686221.git.tankut.baris.aktemur@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <cover.1680686220.git.tankut.baris.aktemur@intel.com> References: <cover.1680686220.git.tankut.baris.aktemur@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-10.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> From: Tankut Baris Aktemur via Gdb-patches <gdb-patches@sourceware.org> Reply-To: Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
Option to show stopped threads only
|
|
Commit Message
Aktemur, Tankut Baris
April 5, 2023, 9:20 a.m. UTC
The 'info threads' command does not show the '-gid' option in the syntax. Add the option. The flag is already explained in the command description and used in the examples. --- gdb/doc/gdb.texinfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
> Date: Wed, 5 Apr 2023 11:20:01 +0200 > From: Tankut Baris Aktemur via Gdb-patches <gdb-patches@sourceware.org> > > The 'info threads' command does not show the '-gid' option > in the syntax. Add the option. The flag is already explained > in the command description and used in the examples. > --- > gdb/doc/gdb.texinfo | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo > index fe76e5e0a0e..ed14888b77b 100644 > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo > @@ -3678,7 +3678,7 @@ Thread 1 "main" received signal SIGINT, Interrupt. > @table @code > @anchor{info_threads} > @kindex info threads > -@item info threads @r{[}@var{thread-id-list}@r{]} > +@item info threads @r{[}-gid@r{]} @r{[}@var{thread-id-list}@r{]} > > Display information about one or more threads. With no arguments > displays information about all threads. You can specify the list of Thanks, this is OK. Approved-By: Eli Zaretskii <eliz@gnu.org>
On Wednesday, April 5, 2023 11:57 AM, Eli Zaretskii wrote: > > Date: Wed, 5 Apr 2023 11:20:01 +0200 > > From: Tankut Baris Aktemur via Gdb-patches <gdb-patches@sourceware.org> > > > > The 'info threads' command does not show the '-gid' option > > in the syntax. Add the option. The flag is already explained > > in the command description and used in the examples. > > --- > > gdb/doc/gdb.texinfo | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo > > index fe76e5e0a0e..ed14888b77b 100644 > > --- a/gdb/doc/gdb.texinfo > > +++ b/gdb/doc/gdb.texinfo > > @@ -3678,7 +3678,7 @@ Thread 1 "main" received signal SIGINT, Interrupt. > > @table @code > > @anchor{info_threads} > > @kindex info threads > > -@item info threads @r{[}@var{thread-id-list}@r{]} > > +@item info threads @r{[}-gid@r{]} @r{[}@var{thread-id-list}@r{]} > > > > Display information about one or more threads. With no arguments > > displays information about all threads. You can specify the list of > > Thanks, this is OK. > > Approved-By: Eli Zaretskii <eliz@gnu.org> Thank you. I pushed this single patch. -Baris Intel Deutschland GmbH Registered Address: Am Campeon 10, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de> Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index fe76e5e0a0e..ed14888b77b 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -3678,7 +3678,7 @@ Thread 1 "main" received signal SIGINT, Interrupt. @table @code @anchor{info_threads} @kindex info threads -@item info threads @r{[}@var{thread-id-list}@r{]} +@item info threads @r{[}-gid@r{]} @r{[}@var{thread-id-list}@r{]} Display information about one or more threads. With no arguments displays information about all threads. You can specify the list of