From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id mRVyMIyJd2kCOBYAWB0awg (envelope-from ) for ; Mon, 26 Jan 2026 10:34:36 -0500 Authentication-Results: simark.ca; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=logTvl9b; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id C0EB61E0AD; Mon, 26 Jan 2026 10:34:36 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 456C11E08D for ; Mon, 26 Jan 2026 10:34:36 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id AD62B4BA9031 for ; Mon, 26 Jan 2026 15:34:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AD62B4BA9031 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=logTvl9b Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by sourceware.org (Postfix) with ESMTPS id E557F4BC8967 for ; Mon, 26 Jan 2026 15:32:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E557F4BC8967 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E557F4BC8967 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::229 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1769441571; cv=none; b=DyEQw0HYifWf6/QnU70VPPHHsydcBqQAPuMALW3+K8icpEXYkprsWhD6+CQfnLyW74hTO7PnH4eHdbNXwTKvnh1P0RCCAZrFycFlT7SEWKCX8nntSgCIOUDi45mWTi7wP47F1e5GBLEgVz5nD+X5v55LyXrdJ9I+/XCN2hicSCI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1769441571; c=relaxed/simple; bh=r2795ir2JmpKowMCKJnQS+Ts9oRDA69jMBsvgvs4yXw=; h=DKIM-Signature:From:Date:Subject:MIME-Version:Message-Id:To; b=C3MBoSLtVy1++S1hImrB/4GDgNoYQWmYCOSD0UqTgbrkqJI78Tl1ztFid8TJ19cBRTx7DuLwj7mOG1nfmZL1OFzU3yZEDovr2kktjTzge/17NIU4W1XuErrjGIQJnuGvgIM5Lzinnp8rqZMnM0Y8VtwvQNREbUQRaG3XZ8mJYAg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E557F4BC8967 Received: by mail-oi1-x229.google.com with SMTP id 5614622812f47-45c798c92edso2948868b6e.1 for ; Mon, 26 Jan 2026 07:32:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1769441570; x=1770046370; darn=sourceware.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=sJWjmnZw7yGPsKOgbN5j2XN792gVAjTmNRB7ggt9+8g=; b=logTvl9b6Jngpv1zMrizwKFjGiqPROjSg2bFPtELYQbFOFMjrnKcu6E6CIFW8URIiD CjRQ6pie7N1XdYdx+mZHDlHgAc2KaHYrvzMCW4lNKeRXU+uZUJpLoqSkbbSwLJtJ2qjG y8O4JxnXaEY84iJe0yNpayRHMQaLYPx4/iWiIRhZ/nkjKXXo+pZKROlT17lhyNfxVdMJ mgPb0w5FWC7lO5VvXuxzXgyU/jaHiFoWRUeacT4Yuu8j+YfcYJ5fFbUDxsxTpE5tbFmj RQY26hdYLdyl7QU2lHAOwXD0GtgdkMjJamEprNzxYhx/in9UUujtBYtcU+tcFdFU3YqW kZZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769441570; x=1770046370; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=sJWjmnZw7yGPsKOgbN5j2XN792gVAjTmNRB7ggt9+8g=; b=b020FFMKmFAYgJrHBogDzBbNSNFxqQMwr800gc+/+8ofjC9ljaiSZqD0h07nQ74+XD M6mjlI2xeHgGMo43//np2xQ9UMq7qNSwRECtwWG9JYEkv19WFGRqQkNHkgBbsgpo3KNf e1AwlPY/K+xVLBqzjvfyjgtqy1TYJyoan+EsY+oowYQpXo7XgNhHrJdy8s1R6BjEKz1g KyfE1EsK7yiYRYbN/5xXzKw+etwuEyNxDIyFv1GQnLLL5Oe0kG0K8oj1KTkCH2cTpdSK E/ezWLtnwl/uxzTNZf5dMPesvF1j7K4PZRs4DwWmyruY+Ywb0h+zVlImHMxQ+3BdpGky +YSw== X-Gm-Message-State: AOJu0YwEnhz4sBlD5cGK92fojl0UwhONCtyBg66XcbxUpRjf28iYbtjB RNGmK+jE4lfYQ7l/+Tkd7NfGDDFzBtBQivaLJj0arrF61qNj8CkKHR2G6TDN8yiCppYZGv9Kjsx Kjeo= X-Gm-Gg: AZuq6aK5r8BYq0XVreZVUFj9+P+8s4cNw3q4NRKTheIBzEmudOty1vaXQLP3NtQroxz Vl6UieI/DcUsZ3k17/dfx8rAuvHX2rqg53FOZSpjjtBVyJ+mcRNj0JmfNKQ29nA3hObHFsZgpcl OkBwhLfYLHwcveRp3acNdjB4HMD3LDSRXWBeSiNNI/Bbil5upXBF2SxEv4mLU8zUv8pp7KG0rwl s3wC/XKR0OethBfLkxcM2/36ysgKUZdeY37hhuLG/gQTDTfMDevjuYbX+UueNa5ZxpCGCMuGDnH AnrZrGRHVioCTW+AAcHwxygK1+BQqPNN/Ng1JKfHq/l6vEZ3WIG5J/0yB6+hocNcujzSFGqv+zW nmeiHx9Nc0ckKn7ifiYhk2VE5D2mnGh2oYLk130SkpCxv/5fUbG8LhdXtKbi5pVqrmZPOHbXWNs wXvK2Oo2Lo5vEQyQyN/lC0cQrrrgEkHpEMVoN+wlQyrw== X-Received: by 2002:a05:6808:1a17:b0:450:b361:f48b with SMTP id 5614622812f47-45ed9a2c423mr2039551b6e.56.1769441570198; Mon, 26 Jan 2026 07:32:50 -0800 (PST) Received: from [192.168.0.26] (97-122-114-32.hlrn.qwest.net. [97.122.114.32]) by smtp.gmail.com with ESMTPSA id 5614622812f47-45eb40e39d4sm6020293b6e.2.2026.01.26.07.32.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jan 2026 07:32:49 -0800 (PST) From: Tom Tromey Date: Mon, 26 Jan 2026 08:32:46 -0700 Subject: [PATCH 2/2] Regularize spelling of names of keys MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260126-metasyntactic-v1-2-02e22dbe6c2b@adacore.com> References: <20260126-metasyntactic-v1-0-02e22dbe6c2b@adacore.com> In-Reply-To: <20260126-metasyntactic-v1-0-02e22dbe6c2b@adacore.com> To: gdb-patches@sourceware.org Cc: Tom Tromey X-Mailer: b4 0.14.3 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org This changes gdb to use when referring to the name of a key that the user should press -- basically for return and tab. In one spot, an obsolete use of is removed. --- gdb/cli/cli-cmds.c | 4 ++-- gdb/cli/cli-decode.h | 2 +- gdb/testsuite/lib/mi-support.exp | 5 ----- gdb/utils.c | 2 +- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 6fa5a61ae02..5cf8f87cd75 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -2674,8 +2674,8 @@ Here are some common GDB behaviors that you can expect, which are\n\ not tied to any specific command but rather GDB functionality itself:\n\ \n\ EXPR is any arbitrary expression valid for the current programming language.\n\ -Pressing with an empty prompt executes the last command again.\n\ -You can use to complete commands and symbols. Pressing it twice lists\n\ +Pressing with an empty prompt executes the last command again.\n\ +You can use to complete commands and symbols. Pressing it twice lists\n\ all possible completions if more than one is available."), &cmdlist); add_cmd ("internals", class_maintenance, _("\ diff --git a/gdb/cli/cli-decode.h b/gdb/cli/cli-decode.h index fd9e2b7fcff..865f89ed9b5 100644 --- a/gdb/cli/cli-decode.h +++ b/gdb/cli/cli-decode.h @@ -171,7 +171,7 @@ struct cmd_list_element /* Nonzero says this is an abbreviation, and should not be mentioned in lists of commands. - This allows "br" to complete to "break", which it + This allows "br" to complete to "break", which it otherwise wouldn't. */ unsigned int abbrev_flag : 1; diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 1dc389dea71..e21570c88b1 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -838,11 +838,6 @@ proc mi_gdb_test { args } { fail "$message (unexpected output)" } set result 1 - } - "" { - send_gdb "\n" - perror "Window too small." - fail "$message" } eof { perror "Process no longer exists" diff --git a/gdb/utils.c b/gdb/utils.c index ceea8317dc5..a121a6ea576 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -1483,7 +1483,7 @@ pager_file::prompt_for_continue () } /* Now we have to do this again, so that GDB will know that it doesn't - need to save the ---Type --- line at the top of the screen. */ + need to save the ---Type --- line at the top of the screen. */ reinitialize_more_filter (); pagination_disabled_for_command = disable_pagination; -- 2.52.0