Message ID | 20250112-submit-help-list-style-title-v1-0-9457a2686440@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 AF12E385770E for <patchwork@sourceware.org>; Sun, 12 Jan 2025 12:05:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF12E385770E Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=xC1xfaKj X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from omta36.uswest2.a.cloudfilter.net (omta36.uswest2.a.cloudfilter.net [35.89.44.35]) by sourceware.org (Postfix) with ESMTPS id A28B13858431 for <gdb-patches@sourceware.org>; Sun, 12 Jan 2025 12:04:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A28B13858431 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 A28B13858431 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736683448; cv=none; b=L+hvMfS+TUbAvSXawclZ1RgupKSFhvGpc+ZFJoAbfVUtZuXmWWmgEP9fDptuCAnEgA6t2l/nhBaLylBP2as384rIcyE1b/GyofZleg3GichjwoyFRVxdsEflxXq9noNoFF/yTY4z+LUR3axrDTkzgQNpMtz43zAwOaGbB91iG/k= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736683448; c=relaxed/simple; bh=dURhDO1U8b+2ED9flfpjchASTGsSB0xBEE6/TDRdAWw=; h=DKIM-Signature:From:Subject:Date:Message-Id:MIME-Version:To; b=IhaEOdaPpc3WxahjnFeNDl5ZK9uDSwRkMsaumLslCPiPp/esHzQuRO9CfOy71DbtCk/uabwNUi956/azVOl1YRPit549ZMFEyPTEM7Ks5IloxxSouxPzhgjxS79iqlVROMw5KOYusM7VzdPv1u8uTl7e5PoMgdRCI0w0Q2QFw+I= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A28B13858431 Received: from eig-obgw-6006a.ext.cloudfilter.net ([10.0.30.182]) by cmsmtp with ESMTPS id WovbtmfoBYpSZWwhLtZRKC; Sun, 12 Jan 2025 12:04:07 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id WwhKtoKP9foYEWwhLtT48H; Sun, 12 Jan 2025 12:04:07 +0000 X-Authority-Analysis: v=2.4 cv=GtlE+F1C c=1 sm=1 tr=0 ts=6783afb7 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=IkcTkHD0fZMA:10 a=VdSt8ZQiCzkA:10 a=ItBw4LHWJt0A:10 a=zstS-IiYAAAA:8 a=UnssCbx5bRnsdhnfiwUA: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=Cc:To:Content-Transfer-Encoding:Content-Type:MIME-Version: Message-Id:Date:Subject:From:Sender:Reply-To: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=2i7hNhckWgZu7IK5kM9hj93SDq4+i8rgscvR45aDWn4=; b=xC1xfaKj76aoJo4Hn+5vSgXE1x ghpFvvWOn7WZgIzd5Ez3MKf6Sl0L49QCHd8SAy2/448wmSU4TLrH9YyZrTu/u+ts9rU71ifON2SXO W5wjsas0C1RSLLGR4Hqrb4b8v; Received: from 97-118-36-154.hlrn.qwest.net ([97.118.36.154]:46946 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 1tWwhK-00212c-0w; Sun, 12 Jan 2025 05:04:06 -0700 From: Tom Tromey <tom@tromey.com> Subject: [PATCH 0/4] More command styling changes Date: Sun, 12 Jan 2025 05:03:57 -0700 Message-Id: <20250112-submit-help-list-style-title-v1-0-9457a2686440@tromey.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAK6vg2cC/x3MTQrCMBBA4auUWTuYFKXiVcRFfqbNQJqWzFSU0 rsb3Tz4Nm8HocokcO92qPRi4aU02FMHIbkyEXJsht70V2OtRdn8zIqJ8oqZRVH0kwmVtdVdhjg ONzIxWGiLtdLI7//+8Wz2Tgh9dSWk33SpPHE5z06UKhzHF5bIuwKOAAAA X-Change-ID: 20250111-submit-help-list-style-title-a47df78e0dc1 To: gdb-patches@sourceware.org Cc: Tom Tromey <tom@tromey.com> 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.36.154 X-Source-L: No X-Exim-ID: 1tWwhK-00212c-0w X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-36-154.hlrn.qwest.net (prentzel.local) [97.118.36.154]:46946 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: MS4xfOR9RKGypeLYNyC7WuZhdi1d0C2eVxa/7qrf0ibjBeULN1+W1BlJxG0s7nZDX64ga0eKajceinEzWrFDR2yPznLc9uePn++jaHhuyPCxjWBkYtXfwVPb SSsbddrUZqSg/pV47x0uWxO+geBwup4YynOM1UHU7cD3MtPVrFsuzRbGuZPO8Ks3auCCkqhcHIIsxHPj1ylT90mxvZ/7+dtDCuQ= X-Spam-Status: No, score=-3013.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, JMQ_SPF_NEUTRAL, RCVD_IN_DNSWL_NONE, 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 command styling changes | |
Message
Tom Tromey
Jan. 12, 2025, 12:03 p.m. UTC
This series adds a bit more command styling in the "help" output, and
fixes a couple of minor issues I noticed along the way.
Regression tested on x86-64 Fedora 40.
Signed-off-by: Tom Tromey <tom@tromey.com>
---
Tom Tromey (4):
Avoid calling help_list in more places
Use command style in "help" command
Remove "enabled" output from show_index_cache_command
Use command style in cmd_show_list
gdb/auto-load.c | 4 +-
gdb/cli/cli-cmds.c | 2 +-
gdb/cli/cli-decode.c | 89 +++++++++++++++++++----------------
gdb/cli/cli-decode.h | 3 ++
gdb/cli/cli-setshow.c | 15 ++++--
gdb/dwarf2/index-cache.c | 5 --
gdb/printcmd.c | 10 +---
gdb/remote.c | 3 +-
gdb/source.c | 29 +++---------
gdb/testsuite/gdb.base/completion.exp | 4 +-
gdb/testsuite/gdb.base/default.exp | 36 +++++++-------
gdb/testsuite/gdb.btrace/cpu.exp | 4 +-
gdb/testsuite/gdb.cp/maint.exp | 2 +-
gdb/testsuite/lib/gdb.exp | 4 +-
gdb/top.c | 6 +--
gdb/tui/tui-layout.c | 10 +---
gdb/tui/tui-win.c | 14 ++----
17 files changed, 105 insertions(+), 135 deletions(-)
---
base-commit: fd7728c8a4aa7aa5761ccb18879ea8d137958b06
change-id: 20250111-submit-help-list-style-title-a47df78e0dc1
Best regards,
Comments
>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:
Tom> This series adds a bit more command styling in the "help" output, and
Tom> fixes a couple of minor issues I noticed along the way.
Tom> Regression tested on x86-64 Fedora 40.
I've rebased & re-tested this. I'm checking it in.
Tom