From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4403 invoked by alias); 14 Jan 2016 11:39:25 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 4360 invoked by uid 89); 14 Jan 2016 11:39:19 -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=news 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; Thu, 14 Jan 2016 11:39:18 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 627788DFE8 for ; Thu, 14 Jan 2016 11:39:17 +0000 (UTC) Received: from brno.lan (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0EBdGBR029356 for ; Thu, 14 Jan 2016 06:39:16 -0500 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH 0/2] Star wildcard ranges (e.g., "info thread 2.*") Date: Thu, 14 Jan 2016 11:39:00 -0000 Message-Id: <1452771555-23153-1-git-send-email-palves@redhat.com> X-SW-Source: 2016-01/txt/msg00291.txt.bz2 In v2: - Address Eli's documentation review. - Fix "thread apply" crash in patch #1. - remove 'state->string = "-"' hack in patch #2. This series adds support for specifying "all threads of inferior N", by writing "*" as thread number/range in thread ID lists. E.g., "info threads 2.*" or "thread apply 2.* bt". While doing this, I noticed a few bugs in "thread apply" (that even predate the per-inferior thread IDs series). Patch 1 fixes them. I'm only keeping both patches together to make it clear that patch 2 applies on top of patch 1. Pedro Alves (2): Fix "thread apply $conv_var" and misc other related problems Star wildcard ranges (e.g., "info thread 2.*") gdb/NEWS | 6 ++ gdb/cli/cli-utils.c | 47 ++++++++----- gdb/cli/cli-utils.h | 8 +++ gdb/doc/gdb.texinfo | 39 ++++++++--- gdb/testsuite/gdb.multi/tids.exp | 143 +++++++++++++++++++++++++++++++++++---- gdb/thread.c | 39 ++++++++++- gdb/tid-parse.c | 63 ++++++++++++++--- gdb/tid-parse.h | 7 ++ 8 files changed, 301 insertions(+), 51 deletions(-) -- 1.9.3