From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8978 invoked by alias); 14 Jan 2016 16:52:56 -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 8969 invoked by uid 89); 14 Jan 2016 16:52:55 -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,SPF_PASS autolearn=ham version=3.3.2 spammy=news X-HELO: usplmg21.ericsson.net Received: from usplmg21.ericsson.net (HELO usplmg21.ericsson.net) (198.24.6.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 14 Jan 2016 16:52:54 +0000 Received: from EUSAAHC007.ericsson.se (Unknown_Domain [147.117.188.93]) by usplmg21.ericsson.net (Symantec Mail Security) with SMTP id E6.E7.32102.552D7965; Thu, 14 Jan 2016 17:52:37 +0100 (CET) Received: from [142.133.110.144] (147.117.188.8) by smtp-am.internal.ericsson.com (147.117.188.95) with Microsoft SMTP Server id 14.3.248.2; Thu, 14 Jan 2016 11:52:51 -0500 Subject: Re: [PATCH 0/2] Star wildcard ranges (e.g., "info thread 2.*") To: Pedro Alves , References: <1452702886-17749-1-git-send-email-palves@redhat.com> From: Simon Marchi Message-ID: <5697D263.7060707@ericsson.com> Date: Thu, 14 Jan 2016 16:52:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1452702886-17749-1-git-send-email-palves@redhat.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00309.txt.bz2 On 16-01-13 11:34 AM, Pedro Alves wrote: > 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(-) > I took a look at those, it LGTM. Thanks for the thorough tests. Simon