This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/2] Star wildcard ranges (e.g., "info thread 2.*")
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: Pedro Alves <palves at redhat dot com>, <gdb-patches at sourceware dot org>
- Date: Thu, 14 Jan 2016 11:52:51 -0500
- Subject: Re: [PATCH 0/2] Star wildcard ranges (e.g., "info thread 2.*")
- Authentication-results: sourceware.org; auth=none
- References: <1452702886-17749-1-git-send-email-palves at redhat dot com>
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