| Message ID | 20260603100516.144737-1-tdevries@suse.de |
|---|---|
| Headers |
Return-Path: <gdb-patches-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F21244BA2E1B for <patchwork@sourceware.org>; Wed, 3 Jun 2026 10:06:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F21244BA2E1B 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=GYG0Or46; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=a79QWVvX; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=GYG0Or46; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=a79QWVvX X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by sourceware.org (Postfix) with ESMTPS id 92EE94BA2E04 for <gdb-patches@sourceware.org>; Wed, 3 Jun 2026 10:05:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 92EE94BA2E04 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 92EE94BA2E04 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=195.135.223.130 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481117; cv=none; b=A834Ko+KAZwzEvmciWT5ZI44wS7JqCaEls8rtRLDv82vsyQMWEhdOhs8UR78aXhWTB8zxu2khR2ZojXK+ARu6eFYIjJEWLyr8RxCpedXYAcgBjBDM5VWaJYbpaRYMtfK6QTDOhiP1WBcHANkSHWopbPlCcJd49o69dNaD3wro18= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481117; c=relaxed/simple; bh=eV/dIBj1S5tT7zELG8QNQuNy8XODLH1RDGpLY75h4TQ=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=clxWafbawTjSt4se8p/VmRLst5IBNmfLT1xlnr4q2wv0plJVdTYu5A5+X7ZF8LuF4PzMmKK2MUov6Z8UUE6CMAuXWQ0jpdiXCgAFPAcHjbuDUcki6C1eLlsPrVXmV3e7osxwfDk7lSM0O/5S04o4tO3uAXj5W+6C/YIM6NY89VA= 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=GYG0Or46; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=a79QWVvX; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=GYG0Or46; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=a79QWVvX DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 92EE94BA2E04 Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104: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-out1.suse.de (Postfix) with ESMTPS id 8EC766A7F2 for <gdb-patches@sourceware.org>; Wed, 3 Jun 2026 10:05:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481116; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=epAtcPDIaKZXoUey6WYVMgFzsStc+3aluTzmtQgwJdE=; b=GYG0Or46u7F0UxtV0+2hjqKyDc/TCuKNeH1Fa6S/uOWJuhrhJdLtssjuN0R/ODMvd9DZ5u HplAZWPwv5u+I8Ba7PfCTbOw5sbMCLL/jmtO84oBXMqYwbux2IT1dHNqTniaBpb5PSHhV1 pdAHm0HpOorxjuhqi/oaVyKXW+i98U8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481116; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=epAtcPDIaKZXoUey6WYVMgFzsStc+3aluTzmtQgwJdE=; b=a79QWVvXlm8YygLWS54wddTE2j7MPDThjlpTJNS699z9JRqPEZKO8HoEsPuXcPIjZQehUG xOXfz72Wh7lt2wBw== Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=GYG0Or46; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=a79QWVvX DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481116; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=epAtcPDIaKZXoUey6WYVMgFzsStc+3aluTzmtQgwJdE=; b=GYG0Or46u7F0UxtV0+2hjqKyDc/TCuKNeH1Fa6S/uOWJuhrhJdLtssjuN0R/ODMvd9DZ5u HplAZWPwv5u+I8Ba7PfCTbOw5sbMCLL/jmtO84oBXMqYwbux2IT1dHNqTniaBpb5PSHhV1 pdAHm0HpOorxjuhqi/oaVyKXW+i98U8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481116; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=epAtcPDIaKZXoUey6WYVMgFzsStc+3aluTzmtQgwJdE=; b=a79QWVvXlm8YygLWS54wddTE2j7MPDThjlpTJNS699z9JRqPEZKO8HoEsPuXcPIjZQehUG xOXfz72Wh7lt2wBw== 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 783B15A4E3 for <gdb-patches@sourceware.org>; Wed, 3 Jun 2026 10:05:16 +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 UJj2G1z8H2pjewAAD6G6ig (envelope-from <tdevries@suse.de>) for <gdb-patches@sourceware.org>; Wed, 03 Jun 2026 10:05:16 +0000 From: Tom de Vries <tdevries@suse.de> To: gdb-patches@sourceware.org Subject: [PATCH 0/9] [gdb] Make gdb dir codespell-clean Date: Wed, 3 Jun 2026 12:05:07 +0200 Message-ID: <20260603100516.144737-1-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Action: no action X-Spam-Level: X-Spamd-Result: default: False [-3.01 / 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)[]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; RCVD_TLS_ALL(0.00)[]; DKIM_TRACE(0.00)[suse.de:+]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:104:10:150:64:97:from]; RCVD_VIA_SMTP_AUTH(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:mid, suse.de:dkim, imap1.dmz-prg2.suse.org:helo, imap1.dmz-prg2.suse.org:rdns] X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Rspamd-Queue-Id: 8EC766A7F2 X-Spam-Score: -3.01 X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE, SPF_PASS, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on 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 |
Make gdb dir codespell-clean
|
|
Message
Tom de Vries
June 3, 2026, 10:05 a.m. UTC
This patch series make the gdb dir codespell-clean. It starts out with two unrelated patches: - the first fixes a problem found during review. - the second adds brief description lines in codespell-ignore-words.txt. A few following patches fix codespell errors, each in a different way. The pre-last patch adds the gdb dir to the pre-commit codespell check. The last patch move selection of files to check from .pre-commit-config.yaml to gdb/pyproject.toml. Tom de Vries (9): [gdb] Drop executable mode in some files [gdb/contrib] Describe words in codespell-ignore-words.txt [gdb/contrib] Extend codespell-ignore-words.txt [gdb] Fix typos [gdb] Fix codespell false positives by ignoring [gdb] Fix codespell false positive by string splitting [gdb] Fix codespell false positives by renaming [pre-commit] Include gdb in codespell check [pre-commit] Simplify codespell configuration .pre-commit-config.yaml | 2 +- gdb/ada-lang.c | 4 +- gdb/amd64-tdep.c | 2 +- gdb/arc-linux-tdep.c | 4 + gdb/arm-linux-nat.c | 6 +- gdb/arm-tdep.c | 2 +- gdb/avr-tdep.c | 5 +- gdb/bfin-linux-tdep.c | 2 +- gdb/bfin-tdep.c | 2 + gdb/buildsym.c | 6 +- gdb/buildsym.h | 2 +- gdb/completer.c | 10 +- gdb/completer.h | 2 +- gdb/contrib/codespell-ignore-words.txt | 26 +++ gdb/cp-support.c | 2 +- gdb/darwin-nat-info.c | 2 +- gdb/displaced-stepping.h | 2 +- gdb/gdbtypes.c | 16 +- gdb/i386-tdep.c | 170 +++++++++--------- gdb/i387-tdep.c | 2 + gdb/infrun.c | 2 +- gdb/infrun.h | 2 +- gdb/loongarch-tdep.c | 2 +- gdb/mips-linux-nat.c | 2 +- gdb/mips-tdep.c | 2 + gdb/nds32-tdep.c | 2 + gdb/ppc-linux-nat.c | 4 +- gdb/ppc-linux-tdep.c | 8 +- gdb/printcmd.c | 6 +- gdb/pyproject.toml | 5 +- gdb/remote.c | 4 +- gdb/riscv-tdep.c | 2 + gdb/s390-linux-tdep.c | 2 + gdb/s390-tdep.c | 6 + gdb/ser-event.c | 14 +- gdb/source.c | 3 +- gdb/symtab.c | 4 +- gdb/testsuite/gdb.arch/amd64-lam.c | 0 .../gdb.base/jump_multiple_objfiles-foo.c | 0 .../gdb.base/jump_multiple_objfiles.c | 0 .../gdb.base/jump_multiple_objfiles.exp | 0 .../gdb.base/jump_multiple_objfiles.h | 0 gdb/testsuite/gdb.btrace/exception.exp | 0 gdb/testsuite/gdb.fortran/nested-funcs.exp | 0 gdb/testsuite/gdb.fortran/nested-funcs.f90 | 0 gdb/testsuite/gdb.fortran/oop_extend_type.exp | 0 gdb/testsuite/gdb.fortran/oop_extend_type.f90 | 0 gdb/testsuite/gdb.fortran/print_type.exp | 0 gdb/testsuite/gdb.fortran/vla-type.exp | 0 gdb/testsuite/gdb.fortran/vla-type.f90 | 0 .../gdb.testsuite/gdb_test_multiple-lbl.gdb | 0 gdb/testsuite/lib/compiler.cc | 0 gdb/utils.c | 4 +- gdb/valprint.c | 8 +- gdb/value.c | 3 +- gdb/windows-nat.c | 12 +- gdb/windows-nat.h | 2 +- gdb/x86-windows-nat.c | 2 + gdb/xcoffread.c | 2 +- gdb/xtensa-tdep.c | 2 +- gdb/xtensa-xtregs.c | 2 + gdb/z80-tdep.c | 2 +- 62 files changed, 220 insertions(+), 158 deletions(-) mode change 100755 => 100644 gdb/amd64-tdep.c mode change 100755 => 100644 gdb/testsuite/gdb.arch/amd64-lam.c mode change 100755 => 100644 gdb/testsuite/gdb.base/jump_multiple_objfiles-foo.c mode change 100755 => 100644 gdb/testsuite/gdb.base/jump_multiple_objfiles.c mode change 100755 => 100644 gdb/testsuite/gdb.base/jump_multiple_objfiles.exp mode change 100755 => 100644 gdb/testsuite/gdb.base/jump_multiple_objfiles.h mode change 100755 => 100644 gdb/testsuite/gdb.btrace/exception.exp mode change 100755 => 100644 gdb/testsuite/gdb.fortran/nested-funcs.exp mode change 100755 => 100644 gdb/testsuite/gdb.fortran/nested-funcs.f90 mode change 100755 => 100644 gdb/testsuite/gdb.fortran/oop_extend_type.exp mode change 100755 => 100644 gdb/testsuite/gdb.fortran/oop_extend_type.f90 mode change 100755 => 100644 gdb/testsuite/gdb.fortran/print_type.exp mode change 100755 => 100644 gdb/testsuite/gdb.fortran/vla-type.exp mode change 100755 => 100644 gdb/testsuite/gdb.fortran/vla-type.f90 mode change 100755 => 100644 gdb/testsuite/gdb.testsuite/gdb_test_multiple-lbl.gdb mode change 100755 => 100644 gdb/testsuite/lib/compiler.cc base-commit: 22e21551bd7eb2fe14cdebfb4d89d51e5d93b7dd
Comments
On 6/3/26 12:05 PM, Tom de Vries wrote: > This patch series make the gdb dir codespell-clean. > > It starts out with two unrelated patches: > - the first fixes a problem found during review. > - the second adds brief description lines in codespell-ignore-words.txt. > > A few following patches fix codespell errors, each in a different way. > > The pre-last patch adds the gdb dir to the pre-commit codespell check. > > The last patch move selection of files to check from .pre-commit-config.yaml > to gdb/pyproject.toml. > With current trunk and this patch series, we get: ... $ pre-commit run codespell --all-files codespell................................................................Failed - hook id: codespell - exit code: 65 gdb/microblaze-linux-nat.c:97: Transfering ==> Transferring $ ... Since the patch series is low-risk, I'm pushing this. The only change I'm adding is this (and similar): ... -The codespell:ignore-begin raison d'etre codespell:ignore-end of +The <codespell:ignore-begin> raison d'etre <codespell:ignore-end> of ... to make the sentence easier to read. While re-reviewing this patch series, I've filed a PR to improve codespell support for gdb ( https://sourceware.org/bugzilla/show_bug.cgi?id=34285 ). Thanks, - Tom > Tom de Vries (9): > [gdb] Drop executable mode in some files > [gdb/contrib] Describe words in codespell-ignore-words.txt > [gdb/contrib] Extend codespell-ignore-words.txt > [gdb] Fix typos > [gdb] Fix codespell false positives by ignoring > [gdb] Fix codespell false positive by string splitting > [gdb] Fix codespell false positives by renaming > [pre-commit] Include gdb in codespell check > [pre-commit] Simplify codespell configuration > > .pre-commit-config.yaml | 2 +- > gdb/ada-lang.c | 4 +- > gdb/amd64-tdep.c | 2 +- > gdb/arc-linux-tdep.c | 4 + > gdb/arm-linux-nat.c | 6 +- > gdb/arm-tdep.c | 2 +- > gdb/avr-tdep.c | 5 +- > gdb/bfin-linux-tdep.c | 2 +- > gdb/bfin-tdep.c | 2 + > gdb/buildsym.c | 6 +- > gdb/buildsym.h | 2 +- > gdb/completer.c | 10 +- > gdb/completer.h | 2 +- > gdb/contrib/codespell-ignore-words.txt | 26 +++ > gdb/cp-support.c | 2 +- > gdb/darwin-nat-info.c | 2 +- > gdb/displaced-stepping.h | 2 +- > gdb/gdbtypes.c | 16 +- > gdb/i386-tdep.c | 170 +++++++++--------- > gdb/i387-tdep.c | 2 + > gdb/infrun.c | 2 +- > gdb/infrun.h | 2 +- > gdb/loongarch-tdep.c | 2 +- > gdb/mips-linux-nat.c | 2 +- > gdb/mips-tdep.c | 2 + > gdb/nds32-tdep.c | 2 + > gdb/ppc-linux-nat.c | 4 +- > gdb/ppc-linux-tdep.c | 8 +- > gdb/printcmd.c | 6 +- > gdb/pyproject.toml | 5 +- > gdb/remote.c | 4 +- > gdb/riscv-tdep.c | 2 + > gdb/s390-linux-tdep.c | 2 + > gdb/s390-tdep.c | 6 + > gdb/ser-event.c | 14 +- > gdb/source.c | 3 +- > gdb/symtab.c | 4 +- > gdb/testsuite/gdb.arch/amd64-lam.c | 0 > .../gdb.base/jump_multiple_objfiles-foo.c | 0 > .../gdb.base/jump_multiple_objfiles.c | 0 > .../gdb.base/jump_multiple_objfiles.exp | 0 > .../gdb.base/jump_multiple_objfiles.h | 0 > gdb/testsuite/gdb.btrace/exception.exp | 0 > gdb/testsuite/gdb.fortran/nested-funcs.exp | 0 > gdb/testsuite/gdb.fortran/nested-funcs.f90 | 0 > gdb/testsuite/gdb.fortran/oop_extend_type.exp | 0 > gdb/testsuite/gdb.fortran/oop_extend_type.f90 | 0 > gdb/testsuite/gdb.fortran/print_type.exp | 0 > gdb/testsuite/gdb.fortran/vla-type.exp | 0 > gdb/testsuite/gdb.fortran/vla-type.f90 | 0 > .../gdb.testsuite/gdb_test_multiple-lbl.gdb | 0 > gdb/testsuite/lib/compiler.cc | 0 > gdb/utils.c | 4 +- > gdb/valprint.c | 8 +- > gdb/value.c | 3 +- > gdb/windows-nat.c | 12 +- > gdb/windows-nat.h | 2 +- > gdb/x86-windows-nat.c | 2 + > gdb/xcoffread.c | 2 +- > gdb/xtensa-tdep.c | 2 +- > gdb/xtensa-xtregs.c | 2 + > gdb/z80-tdep.c | 2 +- > 62 files changed, 220 insertions(+), 158 deletions(-) > mode change 100755 => 100644 gdb/amd64-tdep.c > mode change 100755 => 100644 gdb/testsuite/gdb.arch/amd64-lam.c > mode change 100755 => 100644 gdb/testsuite/gdb.base/jump_multiple_objfiles-foo.c > mode change 100755 => 100644 gdb/testsuite/gdb.base/jump_multiple_objfiles.c > mode change 100755 => 100644 gdb/testsuite/gdb.base/jump_multiple_objfiles.exp > mode change 100755 => 100644 gdb/testsuite/gdb.base/jump_multiple_objfiles.h > mode change 100755 => 100644 gdb/testsuite/gdb.btrace/exception.exp > mode change 100755 => 100644 gdb/testsuite/gdb.fortran/nested-funcs.exp > mode change 100755 => 100644 gdb/testsuite/gdb.fortran/nested-funcs.f90 > mode change 100755 => 100644 gdb/testsuite/gdb.fortran/oop_extend_type.exp > mode change 100755 => 100644 gdb/testsuite/gdb.fortran/oop_extend_type.f90 > mode change 100755 => 100644 gdb/testsuite/gdb.fortran/print_type.exp > mode change 100755 => 100644 gdb/testsuite/gdb.fortran/vla-type.exp > mode change 100755 => 100644 gdb/testsuite/gdb.fortran/vla-type.f90 > mode change 100755 => 100644 gdb/testsuite/gdb.testsuite/gdb_test_multiple-lbl.gdb > mode change 100755 => 100644 gdb/testsuite/lib/compiler.cc > > > base-commit: 22e21551bd7eb2fe14cdebfb4d89d51e5d93b7dd