Message ID | cover.1680686220.git.tankut.baris.aktemur@intel.com |
---|---|
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 79CF83857351 for <patchwork@sourceware.org>; Wed, 5 Apr 2023 09:20:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 79CF83857351 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1680686441; bh=cGnnRZ3x5mFeWwtxeB8FDLMcc++ZGWK2eh7Pt+rZoC0=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Era+sGeukWpOhTcR55IgyBfsuudgO/Luz26dPVE8v85/LwXVwwJhSzQKXmOqOzJSD 3p/VdKf4WQN4Y/2c1UQP58ZQoOIwMOSqgRccrw9NUE5TNADo7U54xlIQ+gUOlUJyMg j+kg4bKkCld4UaXtMbw8xPoDjKJY7MYEbFAE5/DA= 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 E30093858C50 for <gdb-patches@sourceware.org>; Wed, 5 Apr 2023 09:20:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E30093858C50 X-IronPort-AV: E=McAfee;i="6600,9927,10670"; a="428693567" X-IronPort-AV: E=Sophos;i="5.98,319,1673942400"; d="scan'208";a="428693567" 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:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10670"; a="663962924" X-IronPort-AV: E=Sophos;i="5.98,319,1673942400"; d="scan'208";a="663962924" 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:14 -0700 To: gdb-patches@sourceware.org Subject: [PATCH 0/3] Option to show stopped threads only Date: Wed, 5 Apr 2023 11:19:59 +0200 Message-Id: <cover.1680686220.git.tankut.baris.aktemur@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=AC_FROM_MANY_DOTS, BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no 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
|
|
Message
Tankut Baris Aktemur
April 5, 2023, 9:19 a.m. UTC
Hi, This is a short series that adds a "-stopped" option to the "info threads" to show stopped threads only. Regards Baris Tankut Baris Aktemur (3): gdb: pass info_threads_opts to print_thread_info_1 gdb, doc: add the missing '-gid' option to 'info threads' gdb: add a '-stopped' option to "info threads" gdb/NEWS | 7 ++ gdb/doc/gdb.texinfo | 6 +- gdb/testsuite/gdb.base/options.exp | 11 ++- .../gdb.threads/info-threads-stopped.c | 78 +++++++++++++++++++ .../gdb.threads/info-threads-stopped.exp | 75 ++++++++++++++++++ gdb/thread.c | 76 +++++++++++------- 6 files changed, 221 insertions(+), 32 deletions(-) create mode 100644 gdb/testsuite/gdb.threads/info-threads-stopped.c create mode 100644 gdb/testsuite/gdb.threads/info-threads-stopped.exp