From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Ya7ICqICm2rv+igAWB0awg (envelope-from ) for ; Fri, 04 Sep 2026 13:40:50 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=Wy4diD7O; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Ov0ai4Re; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=mRGqegNH; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=p8ePIy16; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 0F2031E166; Fri, 04 Sep 2026 13:40:50 -0400 (EDT) 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 A25491E033 for ; Fri, 04 Sep 2026 13:40:47 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 45D7F4BB58A4 for ; Fri, 4 Sep 2026 17:40:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 45D7F4BB58A4 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=Wy4diD7O; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Ov0ai4Re; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=mRGqegNH; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=p8ePIy16 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by sourceware.org (Postfix) with ESMTPS id 8612C4BA2E17 for ; Fri, 4 Sep 2026 17:39:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8612C4BA2E17 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8612C4BA2E17 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788543585; cv=none; b=ck9GdV+9qnpR3VhNJ4FAMwaGV5QNIlZ/OJ3AZ98PZdk3ngKhf+cqGUEQrLCavowFgD09akr23SAlfjSFNreLtpZ2/mF8PS0c06bHAVNRGHC2pwOSi/EnxKRoQNX3LQPr+hlqKasXDgzJcEnKWSXP3L7vWU/DINXhc0HIES0NcHs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788543585; c=relaxed/simple; bh=vgTNEu6VB66dLzmtspRUAlrUKHVwZEVvBRHLiOAnL9A=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=DaYwxcuuDy+jgzwxVZPZR5AUTDtZYP8FeCFmUIfbgDcGC7ffhzwv2XEuDm37QAfUz/aFVFEbFJyyW/dMlhzP7+8xaKBPV/+d+yKN5vuWWt/EEMgzuD2yjRtGnvZQd/47IRJbdIEXLt2g9W2OtB3R92G87ChXTF6wx6qMlgVVpsM= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=Wy4diD7O; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Ov0ai4Re; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=mRGqegNH; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=p8ePIy16 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8612C4BA2E17 Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 5B5F21FC26 for ; Fri, 4 Sep 2026 17:39:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1788543580; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yisZuN3SRl/n/2Ib6YkEPaWzosXyeEReFWi8ZNF+yRM=; b=Wy4diD7OtZWkzqL3vJYxF8IOWKKiG8E1qS3BzxvIt0A+La51tCqkAK/trEHp5UsrGZ7r6J ztV8Gc86OI2TIT0yOb0sEq1gjuUfnzFXcsj+hyFX17VTUz4Y2KUh8dW4Ab5Eg1OdTobunt WW4c6Ri5sugcmp2g8j4ityWnuCouCfY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1788543580; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yisZuN3SRl/n/2Ib6YkEPaWzosXyeEReFWi8ZNF+yRM=; b=Ov0ai4ReGgOFQUGiz4sc/IuECyK/NpZq3I/9MDzcUNEVP+klryK/m+kGjn6m6NehOJv5qe HHVJPkqYY/GOjSAg== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1788543576; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yisZuN3SRl/n/2Ib6YkEPaWzosXyeEReFWi8ZNF+yRM=; b=mRGqegNHdy+9QI0JtQdRtJZyUo8pe/HLrruivJboxDlqL222mnjBhYpabj+5HUqlEuz3x3 HEuT87tXxf+amYveA0fwYNEYuiS7aj/eHUzCCkn3fSBPvZ15j4/qVo/iAOiJkWoSMOo2h/ aMWKmCc0ZAcSNAd+pXa+Ns3r1ZYn9xs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1788543576; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yisZuN3SRl/n/2Ib6YkEPaWzosXyeEReFWi8ZNF+yRM=; b=p8ePIy16ewJM4FGAFJaCSpVbcYMN9ObtSKMK+gmbLLzUKpMoGxqIF2L6zYOx/yKnUMHda/ LMIm5+9Uie4afYAw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 0C6FE13889 for ; Fri, 4 Sep 2026 17:39:36 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id mJXQAVgCm2qKCgAAD6G6ig (envelope-from ) for ; Fri, 04 Sep 2026 17:39:36 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 2/2] [gdb] Fix some typos Date: Fri, 4 Sep 2026 19:39:33 +0200 Message-ID: <20260904173935.16461-2-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260904173935.16461-1-tdevries@suse.de> References: <20260904173935.16461-1-tdevries@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-2.80 / 50.00]; BAYES_HAM(-3.00)[100.00%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-0.993]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,gnu.org:url,suse.de:mid]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_ALL(0.00)[] 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 Detect typos in words containing dashes by enabling the regex field in the codespell configuration in pyproject, and dropping the dash. Fix some typos manually (not using codespell -w). This also triggers codespell to work on the rules in gdb/contrib/codespell-dictionary.txt, so skip it. --- gdb/doc/gdb.texinfo | 2 +- gdb/doc/guile.texi | 2 +- gdb/pyproject.toml | 2 ++ gdb/testsuite/gdb.base/charset.exp | 2 +- gdb/testsuite/gdb.base/source-nofile.gdb | 2 +- gdb/testsuite/gdb.base/source.exp | 6 +++--- gdb/testsuite/gdb.cp/local-static.exp | 2 +- gdb/testsuite/gdb.mi/mi-dprintf-modified.exp | 2 +- gdb/testsuite/gdb.opt/break-on-_exit.exp | 2 +- 9 files changed, 12 insertions(+), 10 deletions(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 0030698dcee..c7cfca13233 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -3827,7 +3827,7 @@ program information from the perspective of the current thread. @cindex @code{New} @var{systag} message @cindex thread identifier (system) -@c FIXME-implementors!! It would be more helpful if the [New...] message +@c FIXME-implementers!! It would be more helpful if the [New...] message @c included GDB's numeric thread handle, so you could just go to that @c thread without first checking `info threads'. Whenever @value{GDBN} detects a new thread in your program, it displays diff --git a/gdb/doc/guile.texi b/gdb/doc/guile.texi index 03f1008d20f..95f83802f23 100644 --- a/gdb/doc/guile.texi +++ b/gdb/doc/guile.texi @@ -3340,7 +3340,7 @@ Return @code{#t} if @var{object} is an object of type @code{}. Otherwise return @code{#f}. @end deffn -@deffn {Scheme Procedure} lazy-string-address lazy-sring +@deffn {Scheme Procedure} lazy-string-address lazy-string Return the address of @var{lazy-string}. @end deffn diff --git a/gdb/pyproject.toml b/gdb/pyproject.toml index 32f14f13f3e..aacb181d807 100644 --- a/gdb/pyproject.toml +++ b/gdb/pyproject.toml @@ -72,6 +72,8 @@ skip = [ 'gdb/aclocal.m4', 'gdbserver/aclocal.m4', 'gdbsupport/aclocal.m4', +# Skip codespell files containing typos. +'gdb/contrib/codespell-dictionary.txt', # TODO: # codespell:ignore-begin. Ignore slite and endianity. 'gdb/testsuite/config/slite.exp', diff --git a/gdb/testsuite/gdb.base/charset.exp b/gdb/testsuite/gdb.base/charset.exp index 13e874ec955..9995021dabc 100644 --- a/gdb/testsuite/gdb.base/charset.exp +++ b/gdb/testsuite/gdb.base/charset.exp @@ -522,7 +522,7 @@ foreach val {0 1 2 3 4 5 6 7 8 9 a b c d e f} { # Tests for wide- or unicode- strings. L is the prefix letter to use, # either "L" (for wide strings), "u" (for UTF-16), or "U" (for UTF-32). # NAME is used in the test names and should be related to the prefix -# letter in some easy-to-undestand way. +# letter in some easy-to-understand way. proc test_wide_or_unicode {L name} { gdb_test "print $L\"ab\" $L\"c\"" " = $L\"abc\"" \ "basic $name string concatenation" diff --git a/gdb/testsuite/gdb.base/source-nofile.gdb b/gdb/testsuite/gdb.base/source-nofile.gdb index 58ec3b0f64b..242db9a86c5 100644 --- a/gdb/testsuite/gdb.base/source-nofile.gdb +++ b/gdb/testsuite/gdb.base/source-nofile.gdb @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -source for-sure-nonexistant-file +source for-sure-nonexistent-file # Just print an message to confirm that failing to source the file # did not cause this script to abort. diff --git a/gdb/testsuite/gdb.base/source.exp b/gdb/testsuite/gdb.base/source.exp index 04e13e8ec96..9595041b408 100644 --- a/gdb/testsuite/gdb.base/source.exp +++ b/gdb/testsuite/gdb.base/source.exp @@ -56,11 +56,11 @@ gdb_test "source -v -s ./source-test.gdb" \ # Test sourcing a non-existent file, both when the source command # comes from the a command entered at the GDB prompt, and when # it comes from a script being sourced. -gdb_test "source for-sure-nonexistant-file" \ - "for-sure-nonexistant-file: No such file or directory\." +gdb_test "source for-sure-nonexistent-file" \ + "for-sure-nonexistent-file: No such file or directory\." gdb_test "source source-nofile.gdb" \ - "warning: for-sure-nonexistant-file: No such file or directory\.\[\r\n\]*source error not fatal" + "warning: for-sure-nonexistent-file: No such file or directory\.\[\r\n\]*source error not fatal" # Test commands that error out in sourced files, including in nested sourced diff --git a/gdb/testsuite/gdb.cp/local-static.exp b/gdb/testsuite/gdb.cp/local-static.exp index ca9fd7b911e..3ccb721eb8c 100644 --- a/gdb/testsuite/gdb.cp/local-static.exp +++ b/gdb/testsuite/gdb.cp/local-static.exp @@ -250,7 +250,7 @@ proc do_test {lang} { } # Now run to each function, and print its variables using the - # localy-visible name. + # locally-visible name. foreach scope_line $scopes_list { set scope [lindex $scope_line 0] set var_prefix [lindex $scope_line 1] diff --git a/gdb/testsuite/gdb.mi/mi-dprintf-modified.exp b/gdb/testsuite/gdb.mi/mi-dprintf-modified.exp index 726a71a6c10..641c4c552ae 100644 --- a/gdb/testsuite/gdb.mi/mi-dprintf-modified.exp +++ b/gdb/testsuite/gdb.mi/mi-dprintf-modified.exp @@ -18,7 +18,7 @@ # # GDB use to emit a 'breakpoint-modified' dprintf breakpoints each # time the dprintf_breakpoint::re_set function was called as this -# would re-cacluate the dprintf command string, even though in most +# would re-calculate the dprintf command string, even though in most # cases the calculated string was no different from the previous # value. # diff --git a/gdb/testsuite/gdb.opt/break-on-_exit.exp b/gdb/testsuite/gdb.opt/break-on-_exit.exp index 9caa54e4ad8..7f1e2ada240 100644 --- a/gdb/testsuite/gdb.opt/break-on-_exit.exp +++ b/gdb/testsuite/gdb.opt/break-on-_exit.exp @@ -28,7 +28,7 @@ # We may get the required setup in case of a libc with missing separate # debuginfo, but we want the same effect if that debuginfo is installed. # -# So, we use -readnever to read minimal symbols, but not non-miminal symbols. +# So, we use -readnever to read minimal symbols, but not non-minimal symbols. # # Because the code at _exit may be and usually is optimized, the test is in # the gdb.opt directory. -- 2.51.0