Message ID | 20241011-even-more-ui-out-v1-0-e1f92f01bacb@tromey.com |
---|---|
Headers |
Return-Path: <gdb-patches-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 482643857354 for <patchwork@sourceware.org>; Fri, 11 Oct 2024 23:25:10 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id 664203858C35 for <gdb-patches@sourceware.org>; Fri, 11 Oct 2024 23:24:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 664203858C35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 664203858C35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728689078; cv=none; b=hPoKkeG5nWsdcH2sa8RL+QtbiIGbaDusxK50Kf8ePcjT11Wi3SS/RCX7BrwayEn/D/m0Fy87PqRrTKdh4WS6W9kQb+u7oWuKHUzTiTRuQnsf4DCZNXZ5Tsl4a1yerFerO/z3xH9ABPjFCP7rTZjFlXZWLQbW0iL9R8h9F0cBnDk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728689078; c=relaxed/simple; bh=OWHuTtSfReep/0hi4uXNVMh2lgsj9v5gIdWTQhxzRV8=; h=DKIM-Signature:From:Subject:Date:Message-Id:MIME-Version:To; b=N0duCn+2phGKCNcavU7zwQvu65gBh9Ug4m/cFwQDpPirJRJU56N8NTUV8UUeH6a+EU6xtg6txFG8cGPOrVEG9uxabiG8LVDXvM3SfJGMFePG7C8S7/Z4qtJQZ4Rw4w9axZGwHmulVtRhDpXI06i8pPtGtLLTiC6z5Hky3NeoEu4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5004a.ext.cloudfilter.net ([10.0.29.221]) by cmsmtp with ESMTPS id ywdPsGwybumtXzOzrs5k32; Fri, 11 Oct 2024 23:24:35 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id zOzqs5lx2WvXpzOzqsNPBa; Fri, 11 Oct 2024 23:24:34 +0000 X-Authority-Analysis: v=2.4 cv=LtdZyWdc c=1 sm=1 tr=0 ts=6709b3b2 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=IkcTkHD0fZMA:10 a=DAUX931o1VcA:10 a=ItBw4LHWJt0A:10 a=zstS-IiYAAAA:8 a=FObgFOIHK7T4qwnaJPIA:9 a=QEXdDO2ut3YA:10 a=4G6NA9xxw8l3yy4pmD5M:22 a=6Ogn3jAGHLSNbaov7Orx:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=To:Content-Transfer-Encoding:Content-Type:MIME-Version: Message-Id:Date:Subject:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6YOUd5LydCXAwQltKlZxrm3q8UAqPRnC6hxp17DWgBI=; b=boPoaPCWgBpWX/YJfCyiqAEQfg uxwmcOPDeVcW0drQOsHStE5TuDv/8V0Nb0imfFOLVygaeqHfFi/XGIgqOzRJbN5RYSsOsCQpv2LDf dW3uYqvkbuNhOPuAlqxE74v7Q; Received: from 97-118-40-216.hlrn.qwest.net ([97.118.40.216]:39238 helo=prentzel.local) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from <tom@tromey.com>) id 1szOzp-001F4p-2z for gdb-patches@sourceware.org; Fri, 11 Oct 2024 17:24:33 -0600 From: Tom Tromey <tom@tromey.com> Subject: [PATCH 0/3] More use of ui-out tables Date: Fri, 11 Oct 2024 17:24:29 -0600 Message-Id: <20241011-even-more-ui-out-v1-0-e1f92f01bacb@tromey.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAK2zCWcC/x3MQQ6CQAxG4auQrm1kBhKjVzEuCvxCF8yYFggJ4 e6OLr/Fewc5TOH0qA4ybOqaU0G4VNRPkkawDsUU69iGOgTGhsRzNvCqnNeFMbS43SXGRhoq2cf w1v2/fL6KO3FwZ5L66TfKpqOm6yy+wOg8v8vXqC2CAAAA X-Change-ID: 20241011-even-more-ui-out-ed4e79a223a3 To: gdb-patches@sourceware.org X-Mailer: b4 0.14.2 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.118.40.216 X-Source-L: No X-Exim-ID: 1szOzp-001F4p-2z X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-40-216.hlrn.qwest.net (prentzel.local) [97.118.40.216]:39238 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfJ1ab29Aq1G2jiirOnz/9ROGTbCFCcWCveuQv3l5svwwQ8WHF1xBUJSFRCpH1klVV3xEQO1zlJQ6PkgRjtxZROhHKA9URf4/xjESdPgvtCevtplJKXzP dKPYns64DMrbTXtsl9iZLC22i+eWQDmbxUI0uWEo9CgomlGAR2/E16AY16RlvVXESrjfzpVZxW17MBJnlSj58k6yZaHzNuCuAVI= X-Spam-Status: No, score=-3013.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, JMQ_SPF_NEUTRAL, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org |
Series | More use of ui-out tables | |
Message
Tom Tromey
Oct. 11, 2024, 11:24 p.m. UTC
This series fixes a couple more spots to use ui-out tables. It also fixes another buglet I found while working on those. Regression tested on x86-64 Fedora 40 --- Tom Tromey (3): Use ui-out tables in some "maint print" commands Use ui-out table in "maint print reggroups" Fix "maint print" error messages gdb/regcache-dump.c | 228 ++++++++++++++---------- gdb/regcache.c | 132 ++++++-------- gdb/regcache.h | 11 +- gdb/reggroups.c | 22 ++- gdb/testsuite/gdb.base/completion.exp | 2 +- gdb/testsuite/gdb.base/maint.exp | 4 +- gdb/testsuite/gdb.base/reggroups.exp | 4 +- gdb/testsuite/gdb.python/py-arch-reg-groups.exp | 6 +- gdb/testsuite/gdb.server/server-run.exp | 2 +- gdb/testsuite/gdb.xml/tdesc-regs.exp | 2 +- 10 files changed, 222 insertions(+), 191 deletions(-) --- base-commit: 5bc1b13676bc5eeefc50d25379991f5f9255eb80 change-id: 20241011-even-more-ui-out-ed4e79a223a3 Best regards,
Comments
Tom Tromey <tom@tromey.com> writes: > This series fixes a couple more spots to use ui-out tables. > It also fixes another buglet I found while working on those. > > Regression tested on x86-64 Fedora 40 I took a look through this series. It might be nice to start the function comment on patch #3, even if you just document your new argument. Put either way: Approved-By: Andrew Burgess <aburgess@redhat.com> Thanks, Andrew > > --- > Tom Tromey (3): > Use ui-out tables in some "maint print" commands > Use ui-out table in "maint print reggroups" > Fix "maint print" error messages > > gdb/regcache-dump.c | 228 ++++++++++++++---------- > gdb/regcache.c | 132 ++++++-------- > gdb/regcache.h | 11 +- > gdb/reggroups.c | 22 ++- > gdb/testsuite/gdb.base/completion.exp | 2 +- > gdb/testsuite/gdb.base/maint.exp | 4 +- > gdb/testsuite/gdb.base/reggroups.exp | 4 +- > gdb/testsuite/gdb.python/py-arch-reg-groups.exp | 6 +- > gdb/testsuite/gdb.server/server-run.exp | 2 +- > gdb/testsuite/gdb.xml/tdesc-regs.exp | 2 +- > 10 files changed, 222 insertions(+), 191 deletions(-) > --- > base-commit: 5bc1b13676bc5eeefc50d25379991f5f9255eb80 > change-id: 20241011-even-more-ui-out-ed4e79a223a3 > > Best regards, > -- > Tom Tromey <tom@tromey.com>
>>>>> Andrew Burgess <aburgess@redhat.com> writes: > I took a look through this series. It might be nice to start the > function comment on patch #3, even if you just document your new > argument. I did this. > Put either way: > Approved-By: Andrew Burgess <aburgess@redhat.com> I'm going to check it in shortly. Tom