From patchwork Sat Jan 11 18:55:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 104588 Return-Path: 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 B60B23858289 for ; Sat, 11 Jan 2025 18:57:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B60B23858289 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=vBmnP8GF X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from omta40.uswest2.a.cloudfilter.net (omta40.uswest2.a.cloudfilter.net [35.89.44.39]) by sourceware.org (Postfix) with ESMTPS id D949A3858D3C for ; Sat, 11 Jan 2025 18:55:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D949A3858D3C 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 D949A3858D3C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736621744; cv=none; b=vLvHqJKfHhH1olar50ay0yYtKV9bS2hMQxPUMXQNasqOhctDo8yxQE57v3aN4a2Bb6ug/FtF9NAEPOxOHlDd7Vs1qF1mexNIKIRhalGi5WQc7qejB7k5932FLxWAdF1ckwNC9DjN/rKssVRh9w7wamozpWuCHPY5s0G4Na0tiEk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736621744; c=relaxed/simple; bh=+P+DTHeBi+himQH7TnhF1Fqm2Kib4gIo0ZDcLSlKxMQ=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Iw4dn+sz5NIZfRgtV1nOy0WVimCgoDGsvXZCT87Vkw7GhPV6sI1UwNGnC9DpJJznfF2QcQBj60redQFE08Qf9SD8s45VpaHSGml91HYvomhklS+JGA/lxsSo66BY3Ku8B73je1x6gC8PO9dom5fSa/Z2k7jLu0eySie09IWH/64= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D949A3858D3C Received: from eig-obgw-6009a.ext.cloudfilter.net ([10.0.30.184]) by cmsmtp with ESMTPS id Wc44tXJpnfC5ZWge7t3gFm; Sat, 11 Jan 2025 18:55:43 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id Wge6tqVuGSlsfWge6ttpby; Sat, 11 Jan 2025 18:55:42 +0000 X-Authority-Analysis: v=2.4 cv=Xqf8O0F9 c=1 sm=1 tr=0 ts=6782beae a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=VdSt8ZQiCzkA:10 a=ItBw4LHWJt0A:10 a=angfGTnS74kKD7cN_5sA:9 a=6Ogn3jAGHLSNbaov7Orx:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type: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=BrERnvTU4tCCBNCWep3of2BF87+ELI6AA86MFnMj8qg=; b=vBmnP8GF0C/NEEEqA5mTuTaxHo uGCTMylJAGfwXDtiKJQza0/eUVmRt09qKWEiYwV2AqlzW5ydEK9EwCsyOOniWWVLIa57XCzNnsRZh dTzl7VuCQmx/rgbBSgKM5MWaa; Received: from 97-118-36-154.hlrn.qwest.net ([97.118.36.154]:58824 helo=localhost.localdomain) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tWge6-002FNm-0S; Sat, 11 Jan 2025 11:55:42 -0700 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [pushed] Update comment in linespec.c Date: Sat, 11 Jan 2025 11:55:33 -0700 Message-ID: <20250111185533.1214254-1-tom@tromey.com> X-Mailer: git-send-email 2.46.1 MIME-Version: 1.0 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: 1tWge6-002FNm-0S X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-36-154.hlrn.qwest.net (localhost.localdomain) [97.118.36.154]:58824 X-Source-Auth: tom+tromey.com X-Email-Count: 4 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfO3i+Fpoov6y1Yrl6xFtl+P9YSf8RaY2AJzWeWoS6QmwsdRmme4pH95aCOct77apIcaN7vDQZbHy/mLv9HQRUfmkx8XY5XZ/qx6Ukjeu6fuMgFtxfNmM jdDzjnQGNrZSL/2k0nSl34kSzahnMtmzPrOtNR0CdeyMHO6GR8HdideQjPrk5m+3apbFEfec7z/CPncbObsSU4jvNVwPaTepTUg= X-Spam-Status: No, score=-3019.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, JMQ_SPF_NEUTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org I belatedly realized I had forgotten to update a bool-related comment in linespec.c. This patch fixes the oversight. --- gdb/linespec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/linespec.c b/gdb/linespec.c index b58b4ce029a..e0e3e972211 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -179,7 +179,7 @@ struct linespec_state decode_line_full. */ bool funfirstline; - /* Nonzero if we are running in 'list' mode; see decode_line_list. */ + /* True if we are running in 'list' mode; see decode_line_list. */ bool list_mode; /* The 'canonical' value passed to decode_line_full, or NULL. */