From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67037 invoked by alias); 19 Dec 2017 22:13:07 -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 67014 invoked by uid 89); 19 Dec 2017 22:13:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-pl0-f50.google.com Received: from mail-pl0-f50.google.com (HELO mail-pl0-f50.google.com) (209.85.160.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 19 Dec 2017 22:13:05 +0000 Received: by mail-pl0-f50.google.com with SMTP id bi12so7812812plb.6 for ; Tue, 19 Dec 2017 14:13:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=7o5Kn+9VPHy4spx+CPBQB1uC/75w0GdHXx5Ugf2pWXY=; b=M2hlM2gPuXYHU0g2jyd8NEjsxcS0zZBq2xDxEqzuObGcvyeqsVf4+gL5utuSnuhr4u v8ATtGEU/atyqPalD1MAK6wPgYU4JV6tyb1qAU5l5j8yFPz1u+6nsAGNeTXlENK9v/uU DAFhsWjLLv3itDp6n4z/q4kjm2+NhsgR+UOPgem5A2qbqwd67TDEGFxtk7Krb/rr4Q+B Y/y6psaJoN0AEgxUM1YEjvpbKZilh0KwtwOh+l4uV4ZIiRyXWppDrEZYpBoilC3aHVOK 9pyndTzGAKvdQIYHbm7qeHy3eUWIycatMx7lDWsK8TX0xw4wsb0eg/f/My+NdsqfjIM5 //gQ== X-Gm-Message-State: AKGB3mKL50Bju4ZNuYSJ81i96c5w4AJAuCJrnVutQj/qJRiIaLi3Zj85 /AR1cjWk/Jet/tkMHXncmz5+hAST X-Google-Smtp-Source: ACJfBotwOK6JN1i9gBfcAMJY78L5MRV3fLwupO/M1cNMubNmcekzsLELwo51sBW+LE4B/O9YN+LiWw== X-Received: by 10.84.240.70 with SMTP id h6mr4751247plt.349.1513721583079; Tue, 19 Dec 2017 14:13:03 -0800 (PST) Received: from localhost (g41.219-103-184.ppp.wakwak.ne.jp. [219.103.184.41]) by smtp.gmail.com with ESMTPSA id s14sm13166342pfa.158.2017.12.19.14.13.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Dec 2017 14:13:02 -0800 (PST) Date: Tue, 19 Dec 2017 22:13:00 -0000 From: Stafford Horne To: Eli Zaretskii Cc: gdb-patches@sourceware.org, openrisc@lists.librecores.org Subject: Re: [PATCH v3 4/4] tdesc: handle arbitrary strings in tdesc_register_in_reggroup_p Message-ID: <20171219221300.GB32243@lianli.shorne-pla.net> References: <20171219142257.13402-1-shorne@gmail.com> <20171219142257.13402-5-shorne@gmail.com> <836092ptsa.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <836092ptsa.fsf@gnu.org> User-Agent: Mutt/1.9.1 (2017-09-22) X-IsSubscribed: yes X-SW-Source: 2017-12/txt/msg00438.txt.bz2 On Tue, Dec 19, 2017 at 06:27:33PM +0200, Eli Zaretskii wrote: > > From: Stafford Horne > > Cc: Openrisc , Stafford Horne > > diff --git a/gdb/NEWS b/gdb/NEWS > > index 44f481d1f5..7d27262aee 100644 > > --- a/gdb/NEWS > > +++ b/gdb/NEWS > > @@ -3,6 +3,13 @@ > > > > *** Changes since GDB 8.0 > > > > +* GDB now supports dynamically creating arbitrary register groups specified > > + in XML target descriptions. This allows for finer grain grouping of > > + registers on systems with a large amount of registers. > > + > > +* On Unix systems, GDBserver now does globbing expansion and variable > > + substitution in inferior command line arguments. > > The second paragraph doesn't belong to this changeset, right? Right, I accidently brought this in during conflict resolution. Will fix. > > @item group > > -The register group to which this register belongs. It must > > -be either @code{general}, @code{float}, or @code{vector}. If no > > -@var{group} is specified, @value{GDBN} will not display the register > > -in @code{info registers}. > > +The register group to which this register belongs. It can be one of the > > +standard register groups @code{general}, @code{float}, @code{vector} or an > > +arbitrary string. The string should be limited to alphanumeric characters > > +and internal hyphens. If no @var{group} is specified, @value{GDBN} will > > What do you mean by "internal hyphens"? This means, hyphens withing the register group name, not starting or ending with hyphens. (i.e. special-spr, but not rg1- or -rg2) -Stafford > Thanks.