From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104863 invoked by alias); 13 Jan 2016 16:34:50 -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 104851 invoked by uid 89); 13 Jan 2016 16:34:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Star, 285, 2*, UD:tid-parse.h 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:34:48 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 9E5FA263C for ; Wed, 13 Jan 2016 16:34:47 +0000 (UTC) Received: from brno.lan (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0DGYknE024732 for ; Wed, 13 Jan 2016 11:34:47 -0500 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH 0/2] Star wildcard ranges (e.g., "info thread 2.*") Date: Wed, 13 Jan 2016 16:34:00 -0000 Message-Id: <1452702886-17749-1-git-send-email-palves@redhat.com> X-SW-Source: 2016-01/txt/msg00263.txt.bz2 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 | 15 ++++ gdb/cli/cli-utils.h | 8 +++ gdb/doc/gdb.texinfo | 39 ++++++++--- gdb/testsuite/gdb.multi/tids.exp | 143 +++++++++++++++++++++++++++++++++++---- gdb/thread.c | 40 +++++++++-- gdb/tid-parse.c | 63 ++++++++++++++--- gdb/tid-parse.h | 7 ++ 8 files changed, 285 insertions(+), 36 deletions(-) -- 1.9.3