From patchwork Wed Jun 3 10:05:08 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 136363 Return-Path: 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 670744BA2E17 for ; Wed, 3 Jun 2026 10:06:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 670744BA2E17 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=yfDubiVj; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=3PABvgzK; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=yfDubiVj; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=3PABvgzK X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by sourceware.org (Postfix) with ESMTPS id A7B824BA2E09 for ; Wed, 3 Jun 2026 10:05:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A7B824BA2E09 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 A7B824BA2E09 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=1780481117; cv=none; b=gUgDbfCghlA6XUKEJasuFZlw4SWQhAWmQ8qfsPpTG2qhfIjLJjmaYFDdadPZvNwCOepQuVAWifJJY8aMaqxTsxR2IYKyU5BWM0QMJAXW0fdeozVRZvuxiJbIh/OjJIWzoRYpxy9JewldFqvAaPuxcW6p6OXkM5VkNYEPErC+bS4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481117; c=relaxed/simple; bh=ID0zJ6obexa/aHwgJ0r3qZeQ8RhFrv9BF80cUvLdSWE=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=gfQ2xftExVqGX7f2f5S3S3SCHg7BVK2RL/0UJicJKDq4gl4Bj44OAyIBDF2lWjeosYdWR21v8Hqn9UK6DDa5+Wlsa7wMZomEZW3/PgCfR7LuBTYF1drQM9ubIGyH0efzdWbnuxJA8k+eEZ1s1h1lvSiMIKisIoBrk2Qu2z09Hp0= 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=yfDubiVj; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=3PABvgzK; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=yfDubiVj; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=3PABvgzK DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A7B824BA2E09 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-out2.suse.de (Postfix) with ESMTPS id B519A67499 for ; 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: in-reply-to:in-reply-to:references:references; bh=hL1AbHmzXLNDU3jluvHHnpH0+kSzxVNKG/ljNif0r+s=; b=yfDubiVjG0lNKWKoyrIsZm0jQINITyn9exr7HbH+v5ee365oBgeHOFWkndEq/m+viNpeYn NcDqDLq4Sl+JYd1tXTBXZ+Xhl854LR2UfpLCKkpVoyorU/DPl6bTp9KJlSA60PR/h5sMog SMH7BWQtcaGL3oIADcR515+zO96F8lw= 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: in-reply-to:in-reply-to:references:references; bh=hL1AbHmzXLNDU3jluvHHnpH0+kSzxVNKG/ljNif0r+s=; b=3PABvgzK5wRrB0bPwsesKfTV5tCBISWfti1sBxxfzLSv9YOn9yiSiQhCX+i1hYjDF9AyIA CZHAihb69xl5DUAA== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=yfDubiVj; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=3PABvgzK 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: in-reply-to:in-reply-to:references:references; bh=hL1AbHmzXLNDU3jluvHHnpH0+kSzxVNKG/ljNif0r+s=; b=yfDubiVjG0lNKWKoyrIsZm0jQINITyn9exr7HbH+v5ee365oBgeHOFWkndEq/m+viNpeYn NcDqDLq4Sl+JYd1tXTBXZ+Xhl854LR2UfpLCKkpVoyorU/DPl6bTp9KJlSA60PR/h5sMog SMH7BWQtcaGL3oIADcR515+zO96F8lw= 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: in-reply-to:in-reply-to:references:references; bh=hL1AbHmzXLNDU3jluvHHnpH0+kSzxVNKG/ljNif0r+s=; b=3PABvgzK5wRrB0bPwsesKfTV5tCBISWfti1sBxxfzLSv9YOn9yiSiQhCX+i1hYjDF9AyIA CZHAihb69xl5DUAA== 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 99C935A4E5 for ; 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 aOQHJFz8H2pjewAAD6G6ig (envelope-from ) for ; Wed, 03 Jun 2026 10:05:16 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 1/9] [gdb] Drop executable mode in some files Date: Wed, 3 Jun 2026 12:05:08 +0200 Message-ID: <20260603100516.144737-2-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260603100516.144737-1-tdevries@suse.de> References: <20260603100516.144737-1-tdevries@suse.de> MIME-Version: 1.0 X-Rspamd-Action: no action X-Rspamd-Queue-Id: B519A67499 X-Spam-Score: -3.01 X-Spam-Level: X-Spamd-Result: default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; 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)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FUZZY_RATELIMITED(0.00)[rspamd.com]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:rdns,imap1.dmz-prg2.suse.org:helo,suse.de:mid,suse.de:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:104:10:150:64:97:from]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+] X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE, SPF_PASS, TXREP, URIBL_BLOCKED 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org During a review, Claude Code noticed that gdb/amd64-tdep.c has executable mode. This was added by accident in commit f9aa48dc545 ("gdb, amd64: extend the amd64 prologue analyzer to skip register pushes"). Fix this, and similar problems in other files. --- gdb/amd64-tdep.c | 0 gdb/testsuite/gdb.arch/amd64-lam.c | 0 gdb/testsuite/gdb.base/jump_multiple_objfiles-foo.c | 0 gdb/testsuite/gdb.base/jump_multiple_objfiles.c | 0 gdb/testsuite/gdb.base/jump_multiple_objfiles.exp | 0 gdb/testsuite/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.testsuite/gdb_test_multiple-lbl.gdb | 0 gdb/testsuite/lib/compiler.cc | 0 16 files changed, 0 insertions(+), 0 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 diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c old mode 100755 new mode 100644 diff --git a/gdb/testsuite/gdb.arch/amd64-lam.c b/gdb/testsuite/gdb.arch/amd64-lam.c old mode 100755 new mode 100644 diff --git a/gdb/testsuite/gdb.base/jump_multiple_objfiles-foo.c b/gdb/testsuite/gdb.base/jump_multiple_objfiles-foo.c old mode 100755 new mode 100644 diff --git a/gdb/testsuite/gdb.base/jump_multiple_objfiles.c b/gdb/testsuite/gdb.base/jump_multiple_objfiles.c old mode 100755 new mode 100644 diff --git a/gdb/testsuite/gdb.base/jump_multiple_objfiles.exp b/gdb/testsuite/gdb.base/jump_multiple_objfiles.exp old mode 100755 new mode 100644 diff --git a/gdb/testsuite/gdb.base/jump_multiple_objfiles.h b/gdb/testsuite/gdb.base/jump_multiple_objfiles.h old mode 100755 new mode 100644 diff --git a/gdb/testsuite/gdb.btrace/exception.exp b/gdb/testsuite/gdb.btrace/exception.exp old mode 100755 new mode 100644 diff --git a/gdb/testsuite/gdb.fortran/nested-funcs.exp b/gdb/testsuite/gdb.fortran/nested-funcs.exp old mode 100755 new mode 100644 diff --git a/gdb/testsuite/gdb.fortran/nested-funcs.f90 b/gdb/testsuite/gdb.fortran/nested-funcs.f90 old mode 100755 new mode 100644 diff --git a/gdb/testsuite/gdb.fortran/oop_extend_type.exp b/gdb/testsuite/gdb.fortran/oop_extend_type.exp old mode 100755 new mode 100644 diff --git a/gdb/testsuite/gdb.fortran/oop_extend_type.f90 b/gdb/testsuite/gdb.fortran/oop_extend_type.f90 old mode 100755 new mode 100644 diff --git a/gdb/testsuite/gdb.fortran/print_type.exp b/gdb/testsuite/gdb.fortran/print_type.exp old mode 100755 new mode 100644 diff --git a/gdb/testsuite/gdb.fortran/vla-type.exp b/gdb/testsuite/gdb.fortran/vla-type.exp old mode 100755 new mode 100644 diff --git a/gdb/testsuite/gdb.fortran/vla-type.f90 b/gdb/testsuite/gdb.fortran/vla-type.f90 old mode 100755 new mode 100644 diff --git a/gdb/testsuite/gdb.testsuite/gdb_test_multiple-lbl.gdb b/gdb/testsuite/gdb.testsuite/gdb_test_multiple-lbl.gdb old mode 100755 new mode 100644 diff --git a/gdb/testsuite/lib/compiler.cc b/gdb/testsuite/lib/compiler.cc old mode 100755 new mode 100644 From patchwork Wed Jun 3 10:05:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 136368 Return-Path: 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 0D6C74BA2E1F for ; Wed, 3 Jun 2026 10:08:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D6C74BA2E1F 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=Hn2Jkl1l; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9dGhaovy; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=Hn2Jkl1l; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9dGhaovy X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2a07:de40:b251:101:10:150:64:1]) by sourceware.org (Postfix) with ESMTPS id 566474BA2E1C for ; Wed, 3 Jun 2026 10:05:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 566474BA2E1C 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 566474BA2E1C Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2a07:de40:b251:101:10:150:64:1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481125; cv=none; b=LyNmeaEaYfwGieIDBAu5LBAWJjUfZuHFk5u0nAR6pmo8JWDhCzC9h5hv2Y/VW7t4mH1VgvBtEN5HEDtdcePCHV8Mmyg0eY2uu4+majNu3lvbCi4Q4+NgVULvTJlJjR4j5+ukwZRphEuMjxoZhw5UiKPMk53U17uDZiQHmUlQcP8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481125; c=relaxed/simple; bh=WD4dt13JRmVtCj6spHp2qr6lVnTcfvWbfTP8n2v6zJQ=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=Z/bLa82YqkxWDgBF/KcTo1qpKeHkP0yqqJ4ZZUM5QvNWopGtUjD96SO2oKaiGNcc2KngSZbyx2qshOejz2mW3rlJUq7NQKuBVstfiN7oqhfdML0x/+BjHaF6y8Q4YRr6WzodFqomC52lrG09APQmFSDkd3MdWxRAEcRJoT+fG0I= 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=Hn2Jkl1l; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9dGhaovy; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=Hn2Jkl1l; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9dGhaovy DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 566474BA2E1C 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 CDCC06A87C for ; 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: in-reply-to:in-reply-to:references:references; bh=njP69iw8ORknsUepuD3sAlr68ABafkeson0UZpj50VQ=; b=Hn2Jkl1lkQbnh5Hpl+uZV9VCdBrmb5HDnWIFZV3sxQnoqAmrGBwcDP7fVLHDhNW5eN/K8H cQXbkyOQasYvcQG0QylqC7HCPjVw/uMC7GC/PVC3xM/We/ew5FoWgNRbjCTGJANRUIeSZ6 vhV1cuyboEDoW3/KeKQtSmSY/56zPmc= 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: in-reply-to:in-reply-to:references:references; bh=njP69iw8ORknsUepuD3sAlr68ABafkeson0UZpj50VQ=; b=9dGhaovy7SIF0Tf297ekU/osLk4ee6WGBJRIoHzk91Ievy3ikCdcLC8KqSOLWjcF95bano K7hINf8GhPQL+pAg== Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=Hn2Jkl1l; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=9dGhaovy 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: in-reply-to:in-reply-to:references:references; bh=njP69iw8ORknsUepuD3sAlr68ABafkeson0UZpj50VQ=; b=Hn2Jkl1lkQbnh5Hpl+uZV9VCdBrmb5HDnWIFZV3sxQnoqAmrGBwcDP7fVLHDhNW5eN/K8H cQXbkyOQasYvcQG0QylqC7HCPjVw/uMC7GC/PVC3xM/We/ew5FoWgNRbjCTGJANRUIeSZ6 vhV1cuyboEDoW3/KeKQtSmSY/56zPmc= 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: in-reply-to:in-reply-to:references:references; bh=njP69iw8ORknsUepuD3sAlr68ABafkeson0UZpj50VQ=; b=9dGhaovy7SIF0Tf297ekU/osLk4ee6WGBJRIoHzk91Ievy3ikCdcLC8KqSOLWjcF95bano K7hINf8GhPQL+pAg== 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 B601F5A4E6 for ; 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 gHIZK1z8H2pjewAAD6G6ig (envelope-from ) for ; Wed, 03 Jun 2026 10:05:16 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 2/9] [gdb/contrib] Describe words in codespell-ignore-words.txt Date: Wed, 3 Jun 2026 12:05:09 +0200 Message-ID: <20260603100516.144737-3-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260603100516.144737-1-tdevries@suse.de> References: <20260603100516.144737-1-tdevries@suse.de> MIME-Version: 1.0 X-Rspamd-Action: no action X-Spam-Level: X-Spamd-Result: default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; 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)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FUZZY_RATELIMITED(0.00)[rspamd.com]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(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]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:104:10:150:64:97:from]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+] X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Rspamd-Queue-Id: CDCC06A87C X-Spam-Score: -3.01 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org For each word in codespell-ignore-words.txt, add a line briefly describing its meaning. --- gdb/contrib/codespell-ignore-words.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gdb/contrib/codespell-ignore-words.txt b/gdb/contrib/codespell-ignore-words.txt index 4a409d0aed1..c1438bfc786 100644 --- a/gdb/contrib/codespell-ignore-words.txt +++ b/gdb/contrib/codespell-ignore-words.txt @@ -19,11 +19,19 @@ # # [1] https://github.com/codespell-project/codespell/issues/2063 +# Autoconf related things, like tools and files. configury +# Scalable Matrix Extension. sme +# Company name. Synopsys +# As in DWARF section .debug_aranges. aranges +# Floating Point Register. fpr +# Parameter. parm +# As in "wither away". wither +# SystemTap. stap From patchwork Wed Jun 3 10:05:10 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 136364 Return-Path: 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 7DA144BA2E2A for ; Wed, 3 Jun 2026 10:06:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7DA144BA2E2A 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=GHG/nb6A; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=pPY/Hn58; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=GHG/nb6A; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=pPY/Hn58 X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2a07:de40:b251:101:10:150:64:2]) by sourceware.org (Postfix) with ESMTPS id 051014BA2E23 for ; Wed, 3 Jun 2026 10:05:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 051014BA2E23 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 051014BA2E23 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2a07:de40:b251:101:10:150:64:2 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481124; cv=none; b=ghbyhOo70PxeAPDu3N8yX3HUFMjl61N+0cj+UyZ8Rn2l8lM7MO3cLNO2KSyXrlwCZEVLURDfePl3XIEu6aAi7fWKetVKYGo/Lkz2EqBX4Lg9egHHrdQ0t4PdgNX9G8KbZU9GhSFqMluHcLdOlu8/Eaz2vapqbjNqjtNlQHH+XiU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481124; c=relaxed/simple; bh=xxDi3Ayc4PxfR6GKf1PmkAxDYkLtTW7klsB9RWOZpKQ=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=KkdrgiScV8wTBCC+sqwRB0KAFyYnBVoME9LpzeScp2TslmCU74Bf+2mV4VS8Zyhx4GCS9OixD3bUVi6ltuDWaZrDP8SE02ZQoTs4tJg7932PFPTJeaBHHnSnfVw5G2GFJR0e34CJGc86Y8ge7zNCfDKoN7bSolPNp77g679Gczg= 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=GHG/nb6A; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=pPY/Hn58; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=GHG/nb6A; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=pPY/Hn58 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 051014BA2E23 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-out2.suse.de (Postfix) with ESMTPS id E99ED6749B for ; 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: in-reply-to:in-reply-to:references:references; bh=uq+6BUagTYWN492Xs7xjHSeZ03kcfgcyPd1KaWnXPjU=; b=GHG/nb6ACsKjcFKKUGMVq1BhiW1IZQLk4dUNRC30BKYeXfcSEglVcSQZrXKXIv7diOjh9O C24hQTEZtB+1XYYkdEO7Zc0S1wJxunDQWDYfNskAGlRoH/fWhFQL98+4MPuHq77KRiA2Me TVxhDN5k3nyWVALonGYwgG4qAflsACc= 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: in-reply-to:in-reply-to:references:references; bh=uq+6BUagTYWN492Xs7xjHSeZ03kcfgcyPd1KaWnXPjU=; b=pPY/Hn58i+XEWceYVCZYndbucFEEefqmgKGVVpemzIyDDv0rJbFIoL0do2qf4KOic6bS8Z hi43WBnikbFuNRDQ== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b="GHG/nb6A"; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b="pPY/Hn58" 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: in-reply-to:in-reply-to:references:references; bh=uq+6BUagTYWN492Xs7xjHSeZ03kcfgcyPd1KaWnXPjU=; b=GHG/nb6ACsKjcFKKUGMVq1BhiW1IZQLk4dUNRC30BKYeXfcSEglVcSQZrXKXIv7diOjh9O C24hQTEZtB+1XYYkdEO7Zc0S1wJxunDQWDYfNskAGlRoH/fWhFQL98+4MPuHq77KRiA2Me TVxhDN5k3nyWVALonGYwgG4qAflsACc= 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: in-reply-to:in-reply-to:references:references; bh=uq+6BUagTYWN492Xs7xjHSeZ03kcfgcyPd1KaWnXPjU=; b=pPY/Hn58i+XEWceYVCZYndbucFEEefqmgKGVVpemzIyDDv0rJbFIoL0do2qf4KOic6bS8Z hi43WBnikbFuNRDQ== 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 D44D45A4E3 for ; 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 8CIVMlz8H2pjewAAD6G6ig (envelope-from ) for ; Wed, 03 Jun 2026 10:05:16 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 3/9] [gdb/contrib] Extend codespell-ignore-words.txt Date: Wed, 3 Jun 2026 12:05:10 +0200 Message-ID: <20260603100516.144737-4-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260603100516.144737-1-tdevries@suse.de> References: <20260603100516.144737-1-tdevries@suse.de> MIME-Version: 1.0 X-Rspamd-Action: no action X-Rspamd-Queue-Id: E99ED6749B X-Spam-Score: -3.01 X-Spam-Level: X-Spamd-Result: default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; 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)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FUZZY_RATELIMITED(0.00)[rspamd.com]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:mid,suse.de:dkim,imap1.dmz-prg2.suse.org:rdns,imap1.dmz-prg2.suse.org:helo]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:104:10:150:64:97:from]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+] X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org Add more words to ignore in codespell-ignore-words.txt. --- gdb/contrib/codespell-ignore-words.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gdb/contrib/codespell-ignore-words.txt b/gdb/contrib/codespell-ignore-words.txt index c1438bfc786..d443f6c7123 100644 --- a/gdb/contrib/codespell-ignore-words.txt +++ b/gdb/contrib/codespell-ignore-words.txt @@ -35,3 +35,21 @@ parm wither # SystemTap. stap +# An includer includes an includee. +includee +# Stepping using next. +nexting +# Parameters. +parms +# System Object Model. +SOM +# Short for static variables and/or functions. +statics +# Structured Exception Handling. +seh +# Abbreviation for index. +indx +# Heterogeneous System Architecture. +HSA +# Grand Unified Debugger. +GUD From patchwork Wed Jun 3 10:05:11 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 136367 Return-Path: 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 589654BA2E0B for ; Wed, 3 Jun 2026 10:08:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 589654BA2E0B 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=JR9l14Fs; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Idc5wDXL; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=JR9l14Fs; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Idc5wDXL 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 CAAA74BA2E1F for ; Wed, 3 Jun 2026 10:05:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CAAA74BA2E1F 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 CAAA74BA2E1F 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=1780481136; cv=none; b=DwGXshFdi0i3fnOALXWAg3JPr0okKt2sBs+7M3PyfQo1q5aZHfedniMx0anvLC/YM2TNDf/l8gmAFvcyzGSVCXR7oaCWHZYvCCuqjQ1Vf54DGAuqKaoyb4pT6lszry9LSiA/pvZFt57yTWAf9LH/LtAYzfcHd2f7Y6lnYJK28WY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481136; c=relaxed/simple; bh=TNqiMFIov3y0J6ds6PXqAUEn7L8aTafxUe2mb8FMj3g=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=DsEWpU3HcUbuWoc7dFV/KMtIGqrH2+RFUbcjhbu9DysGIiInKNfj4duGiwzUXm83jbdFcF0xhKt/pQsVgXIe7rnnCbrBPK4WC7P574p5iyEosWib0JhDGMEC8KbwChpmxbMRGNrYCuof4hgutQHim/aKWPbAIXxkUIsUP+nRpyE= 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=JR9l14Fs; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Idc5wDXL; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=JR9l14Fs; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Idc5wDXL DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CAAA74BA2E1F 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-out1.suse.de (Postfix) with ESMTPS id 113596A912 for ; Wed, 3 Jun 2026 10:05:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481117; 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=hcinHNDwW/kbTAH7C02eSfIplWOR5kqFkdN82oRD0v0=; b=JR9l14FsRBa0Yx+Kr9JUYiqQuqcW4mcV7LtsokVBJkxR/bgmx89vHlIKkpJAO5DrEJsSUE rN6keiMHxJuwiPebAHicrYhXuoWODpoP+VSEUVgAurZm9pzEfpirkEggWK3uyHbH6poKME i84nsfQG9EIhHuAGnxmbaTbCgrfiCks= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481117; 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=hcinHNDwW/kbTAH7C02eSfIplWOR5kqFkdN82oRD0v0=; b=Idc5wDXLDyWHiphKvRTWz1FzR9idDQy+LibQvm9WoTGmf7Muvq9s1qySL0a409aAr5QDtr OYj+/mHVi2SLu8CQ== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481117; 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=hcinHNDwW/kbTAH7C02eSfIplWOR5kqFkdN82oRD0v0=; b=JR9l14FsRBa0Yx+Kr9JUYiqQuqcW4mcV7LtsokVBJkxR/bgmx89vHlIKkpJAO5DrEJsSUE rN6keiMHxJuwiPebAHicrYhXuoWODpoP+VSEUVgAurZm9pzEfpirkEggWK3uyHbH6poKME i84nsfQG9EIhHuAGnxmbaTbCgrfiCks= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481117; 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=hcinHNDwW/kbTAH7C02eSfIplWOR5kqFkdN82oRD0v0=; b=Idc5wDXLDyWHiphKvRTWz1FzR9idDQy+LibQvm9WoTGmf7Muvq9s1qySL0a409aAr5QDtr OYj+/mHVi2SLu8CQ== 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 F08C05A4E5 for ; 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 sMNIOVz8H2pjewAAD6G6ig (envelope-from ) for ; Wed, 03 Jun 2026 10:05:16 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 4/9] [gdb] Fix typos Date: Wed, 3 Jun 2026 12:05:11 +0200 Message-ID: <20260603100516.144737-5-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260603100516.144737-1-tdevries@suse.de> References: <20260603100516.144737-1-tdevries@suse.de> MIME-Version: 1.0 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)[-1.000]; MIME_GOOD(-0.10)[text/plain]; FUZZY_RATELIMITED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:mid,imap1.dmz-prg2.suse.org:helo]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; RCVD_TLS_ALL(0.00)[] X-Spam-Level: X-Spam-Score: -2.80 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org Fix typos in the gdb dir. --- gdb/arm-linux-nat.c | 2 +- gdb/buildsym.c | 6 +++--- gdb/buildsym.h | 2 +- gdb/infrun.c | 2 +- gdb/infrun.h | 2 +- gdb/loongarch-tdep.c | 2 +- gdb/ppc-linux-tdep.c | 4 ++-- gdb/windows-nat.c | 6 +++--- gdb/xcoffread.c | 2 +- gdb/z80-tdep.c | 2 +- 10 files changed, 15 insertions(+), 15 deletions(-) diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c index b3d4ce1ec37..fdfe79a9f58 100644 --- a/gdb/arm-linux-nat.c +++ b/gdb/arm-linux-nat.c @@ -711,7 +711,7 @@ struct arm_linux_hw_breakpoint for caching address and control information. The Linux ptrace interface to hardware break-/watch-points presents the - values in a vector centred around 0 (which is used fo generic information). + values in a vector centred around 0 (which is used for generic information). Positive indices refer to breakpoint addresses/control registers, negative indices to watchpoint addresses/control registers. diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 9799af17f32..94bc5a24edb 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -924,15 +924,15 @@ buildsym_compunit::augment_type_symtab () } } -/* Push a context block. VALU is the starting PC address of this +/* Push a context block. VALUE is the starting PC address of this context. */ void -buildsym_compunit::push_context (CORE_ADDR valu) +buildsym_compunit::push_context (CORE_ADDR value) { m_context_stack.emplace_back (std::move (m_local_symbols), m_local_using_directives, - m_pending_blocks, valu); + m_pending_blocks, value); m_local_using_directives = nullptr; } diff --git a/gdb/buildsym.h b/gdb/buildsym.h index c9010665bce..c46f75e6511 100644 --- a/gdb/buildsym.h +++ b/gdb/buildsym.h @@ -218,7 +218,7 @@ struct buildsym_compunit m_producer = producer; } - void push_context (CORE_ADDR valu); + void push_context (CORE_ADDR value); /* Pop a context and create the corresponding block. Returns the block. END_ADDR is the final address of the block. STATIC_LINK, diff --git a/gdb/infrun.c b/gdb/infrun.c index 11c5d5214d6..f246af57c3e 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -7006,7 +7006,7 @@ handle_signal_stop (struct execution_control_state *ecs) std::string addr_str; if (addr_list.empty ()) - addr_str = "(no data addressses available)"; + addr_str = "(no data addresses available)"; else { for (const CORE_ADDR addr : addr_list) diff --git a/gdb/infrun.h b/gdb/infrun.h index 42c867ce303..cbc603b74ed 100644 --- a/gdb/infrun.h +++ b/gdb/infrun.h @@ -129,7 +129,7 @@ extern void start_remote (int from_tty); continued or stepped. First do this, then set the ones you want, then call `proceed'. STEP indicates whether we're preparing for a step/stepi command. Set ABOUT_TO_PROCEED to false if we're not - calling `proceeed` yet. */ + calling `proceed` yet. */ extern void clear_proceed_status (int step, bool about_to_proceed = true); extern void proceed (CORE_ADDR, enum gdb_signal); diff --git a/gdb/loongarch-tdep.c b/gdb/loongarch-tdep.c index 225b1abb703..8bf4d33012a 100644 --- a/gdb/loongarch-tdep.c +++ b/gdb/loongarch-tdep.c @@ -734,7 +734,7 @@ loongarch_frame_prev_register (const frame_info_ptr &this_frame, /* If we are asked to unwind the PC, then we need to return the RA instead. The prologue may save PC, but it will point into this - frame's prologue, not the previou frame's resume location. */ + frame's prologue, not the previous frame's resume location. */ if (regnum == LOONGARCH_PC_REGNUM) { CORE_ADDR ra; diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index 19698eaacbe..07969454b39 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -574,7 +574,7 @@ static const struct regset ppc32_linux_vsxregset = { regcache_collect_regset }; -/* Program Priorty Register regmap. */ +/* Program Priority Register regmap. */ static const struct regcache_map_entry ppc32_regmap_ppr[] = { @@ -582,7 +582,7 @@ static const struct regcache_map_entry ppc32_regmap_ppr[] = { 0 } }; -/* Program Priorty Register regset. */ +/* Program Priority Register regset. */ const struct regset ppc32_linux_pprregset = { ppc32_regmap_ppr, diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index d9e924f16c6..61942a83797 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -133,7 +133,7 @@ the process. In fact, it seldom is. E.g., if the main thread calls ExitProcess (or returns from main, which ends up calling ExitProcess), then we typically see a EXIT_THREAD_DEBUG_EVENT event for the main thread first, followed by more EXIT_THREAD_DEBUG_EVENT events for -other threads, and then finaly the EXIT_PROCESS_DEBUG_EVENT for +other threads, and then finally the EXIT_PROCESS_DEBUG_EVENT for whatever thread happened to be the last one to exit. When a thread reports EXIT_THREAD_DEBUG_EVENT / @@ -259,7 +259,7 @@ wants the "sig" thread to be running. This isn't ideal, since this means that with user-visible non-stop, the inferior will only be able to process and report one signal at a time (as the "sig" thread is responsible for that), but that seems -like an acceptible compromise, better than not being able to have the +like an acceptable compromise, better than not being able to have the target work in non-stop by default on Cygwin. */ using namespace windows_nat; @@ -1269,7 +1269,7 @@ windows_nat_target::stop_one_thread (windows_thread_info *th, stop and calls windows_continue on this thread. */ && stopping_kind == SK_EXTERNAL) { - DEBUG_EVENTS ("explict stop for \"sig\" thread %s held for signal", + DEBUG_EVENTS ("explicit stop for \"sig\" thread %s held for signal", thr_ptid.to_string ().c_str ()); th->stopping = stopping_kind; diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 73662c47c3d..08d5d810c6f 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -235,7 +235,7 @@ xcoff_get_toc_offset (objfile *objfile) return 0; } -/* This function is used to read minimal sysmbols from the XCOFF STABS +/* This function is used to read minimal symbols from the XCOFF STABS symbol table. This function needs to be called when a library (like libc) in AIX is compiled using xlc whose debug format is STABS. When STABS debug information is not available, then in the backtrace diff --git a/gdb/z80-tdep.c b/gdb/z80-tdep.c index f7e207d02ec..9aba5d3df45 100644 --- a/gdb/z80-tdep.c +++ b/gdb/z80-tdep.c @@ -1423,7 +1423,7 @@ z80_get_insn_info (struct gdbarch *gdbarch, const gdb_byte *buf, int *size) case insn_adl: info = &ez80_adl_main_insn_table[0]; break; - /* These two (for GameBoy Z80 & Z80 Next CPUs) haven't been tested. + /* These two (for Game Boy Z80 & Z80 Next CPUs) haven't been tested. case bfd_mach_gbz80: info = &gbz80_main_insn_table[0]; From patchwork Wed Jun 3 10:05:12 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 136370 Return-Path: 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 BACBD4BA2E2A for ; Wed, 3 Jun 2026 10:09:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BACBD4BA2E2A 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=uAa6fpC6; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=kaXtmm9H; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=d4u5/paX; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=J0X1pOsb X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by sourceware.org (Postfix) with ESMTPS id AFC154BA2E04 for ; Wed, 3 Jun 2026 10:05:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AFC154BA2E04 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 AFC154BA2E04 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=1780481138; cv=none; b=fsUFgPFYXRpovAkb5FYsLY9rH7Jz0JQhY9ajj25tK+nN/KN3ASYpSrtagc8DYEDqmsUXLWE21/rXHt5eCuuASuD3G23Yf3KEuPFdkdNIEXdKOfkKPx7Nxac7VMTPSZ8RtSZwYcL1cDqzgbcsfXEv7sguVZL7U1iIu1aMuY7KpgA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481138; c=relaxed/simple; bh=vvtKa7V3e/1Y6j2dQN8Co+VM9IxrECnO/zBG1F8R1ZY=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=Q5c73rskUM1ZpK23Jw53D21ZMlPzfMNhLOdNTQSVRnLSv6uwW3HXx/0NVvmdt5DBFGEL2WLnrJdArzgZeKteti87MJipnfuc6DI66y7IiukPr5MnyJgs83fb3M1QtKK2t9pQvdXZYB7TEGJBFjvGqkRsh1obPQtERN3l2Rf4l2s= 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=uAa6fpC6; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=kaXtmm9H; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=d4u5/paX; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=J0X1pOsb DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AFC154BA2E04 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-out2.suse.de (Postfix) with ESMTPS id 2DEBF674A0 for ; Wed, 3 Jun 2026 10:05:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481118; 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=H/B5On8WCv3z/Azcc2TVECDTVvMCJhUARTI80gdnmYQ=; b=uAa6fpC6DFoY/RGfHfhDNH09L18ZLa910fQkCSwWI+G/QfwF3chVJ9WQOR2OkyU3Q9q+EG C+JgQR39VHNcYwVIKVMyLjlow/RRtuSR003sm44GifoS4FUdgf2poYi6n64yR3l8myVIYe A+2VO7Zf8HexjXLkuLgtOf17z4844c4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481118; 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=H/B5On8WCv3z/Azcc2TVECDTVvMCJhUARTI80gdnmYQ=; b=kaXtmm9HK4xWgzBU3xYrMHrR+VuDPvT5BGadsKhew67wt7Wszgng4Sp7v5t2toUCPx8J4Y fR/czlBV2kwVtpDg== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b="d4u5/paX"; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=J0X1pOsb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481117; 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=H/B5On8WCv3z/Azcc2TVECDTVvMCJhUARTI80gdnmYQ=; b=d4u5/paXW+K1UbltLHOOsMesCz7svqqOPSqVp0yKbViri7L2ajD2vUxHfP+9hE9UHe8LbD XjF0C66tTjqFvQM6uRnQY+GizshqoM1OosHBKmdBQsjo0vjpZXR+T8lMlEQIoPHxhaXbrP 1TnYYJN+CuPulowjEZxkLlN3srmzMB0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481117; 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=H/B5On8WCv3z/Azcc2TVECDTVvMCJhUARTI80gdnmYQ=; b=J0X1pOsbyslUVaFF44aY0MTGsnroW9FeiQggGaAIReWjLTZhjtY6+ZLoDG9UXoE1eU8tOz z2dTEZtm5PShO3Cw== 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 195395A4E3 for ; Wed, 3 Jun 2026 10:05:17 +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 AE/ABF38H2pjewAAD6G6ig (envelope-from ) for ; Wed, 03 Jun 2026 10:05:17 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 5/9] [gdb] Fix codespell false positives by ignoring Date: Wed, 3 Jun 2026 12:05:12 +0200 Message-ID: <20260603100516.144737-6-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260603100516.144737-1-tdevries@suse.de> References: <20260603100516.144737-1-tdevries@suse.de> MIME-Version: 1.0 X-Rspamd-Action: no action X-Spam-Level: X-Spamd-Result: default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; 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)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FUZZY_RATELIMITED(0.00)[rspamd.com]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[cmu.edu:email,wisc.edu:email,suse.de:mid,suse.de:dkim,imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:104:10:150:64:97:from]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+] X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Rspamd-Queue-Id: 2DEBF674A0 X-Spam-Score: -3.01 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org Fix codespell false positives in the gdb dir, by ignoring them. --- gdb/ada-lang.c | 2 ++ gdb/arc-linux-tdep.c | 4 ++++ gdb/avr-tdep.c | 5 +++-- gdb/bfin-linux-tdep.c | 2 +- gdb/bfin-tdep.c | 2 ++ gdb/completer.h | 2 +- gdb/cp-support.c | 2 +- gdb/darwin-nat-info.c | 2 +- gdb/displaced-stepping.h | 2 +- gdb/i387-tdep.c | 2 ++ gdb/mips-tdep.c | 2 ++ gdb/nds32-tdep.c | 2 ++ gdb/ppc-linux-tdep.c | 4 ++-- gdb/riscv-tdep.c | 2 ++ gdb/s390-linux-tdep.c | 2 ++ gdb/s390-tdep.c | 6 ++++++ gdb/source.c | 3 ++- gdb/utils.c | 4 +++- gdb/valprint.c | 8 ++++---- gdb/value.c | 3 ++- gdb/x86-windows-nat.c | 2 ++ gdb/xtensa-xtregs.c | 2 ++ 22 files changed, 49 insertions(+), 16 deletions(-) diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index cb741647d47..823ec6d667e 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -813,6 +813,7 @@ ada_main_name () of NULLs. */ const struct ada_opname_map ada_opname_table[] = { + /* codespell:ignore-begin. */ {"Oadd", "\"+\"", BINOP_ADD}, {"Osubtract", "\"-\"", BINOP_SUB}, {"Omultiply", "\"*\"", BINOP_MUL}, @@ -834,6 +835,7 @@ const struct ada_opname_map ada_opname_table[] = { {"Onot", "\"not\"", UNOP_LOGICAL_NOT}, {"Oadd", "\"+\"", UNOP_PLUS}, {"Osubtract", "\"-\"", UNOP_NEG}, + /* codespell:ignore-end. */ {NULL, NULL} }; diff --git a/gdb/arc-linux-tdep.c b/gdb/arc-linux-tdep.c index 04142c04557..572b39b27d4 100644 --- a/gdb/arc-linux-tdep.c +++ b/gdb/arc-linux-tdep.c @@ -337,6 +337,8 @@ arc_linux_sw_breakpoint_from_kind (struct gdbarch *gdbarch, : arc_linux_trap_s_le); } +/* codespell:ignore-begin. Ignore SCOND. */ + /* Check for an atomic sequence of instructions beginning with an LLOCK instruction and ending with a SCOND instruction. @@ -409,6 +411,8 @@ handle_atomic_sequence (arc_instruction insn, disassemble_info *di) return next_pcs; } +/* codespell:ignore-end. */ + /* Implement the "software_single_step" gdbarch method. */ static std::vector diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index f445a2db6ba..254ff891596 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -747,12 +747,13 @@ avr_scan_prologue (struct gdbarch *gdbarch, CORE_ADDR pc_beg, CORE_ADDR pc_end, gdb_assert (vpc < AVR_MAX_PROLOGUE_SIZE); - /* Handle static small stack allocation using rcall or push. */ + /* Handle static small stack allocation using + rcall or push. codespell:ignore rcall */ avr_gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); while (scan_stage == 1 && vpc < len) { insn = extract_unsigned_integer (&prologue[vpc], 2, byte_order); - if (insn == 0xd000) /* rcall .+0 */ + if (insn == 0xd000) /* rcall .+0. codespell:ignore rcall. */ { info->size += tdep->call_length; vpc += 2; diff --git a/gdb/bfin-linux-tdep.c b/gdb/bfin-linux-tdep.c index a0f1dcf80a0..9688728a655 100644 --- a/gdb/bfin-linux-tdep.c +++ b/gdb/bfin-linux-tdep.c @@ -120,7 +120,7 @@ static const struct tramp_frame bfin_linux_sigframe = 4, { { 0x00ADE128, 0xffffffff }, /* P0 = __NR_rt_sigreturn; */ - { 0x00A0, 0xffff }, /* EXCPT 0; */ + { 0x00A0, 0xffff }, /* EXCPT 0; codespell:ignore excpt. */ { TRAMP_SENTINEL_INSN, ULONGEST_MAX }, }, bfin_linux_sigframe_init, diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c index 2a9e458e51c..a2094044beb 100644 --- a/gdb/bfin-tdep.c +++ b/gdb/bfin-tdep.c @@ -108,10 +108,12 @@ #define P_RTS 0x0010 /* MNOP */ #define P_MNOP 0xC803 +/* codespell:ignore-begin. Ignore EXCPT. */ /* EXCPT, 16-bit, min */ #define P_EXCPT_MIN 0x00A0 /* EXCPT, 16-bit, max */ #define P_EXCPT_MAX 0x00AF +/* codespell:ignore-end. */ /* multi instruction mask 1, 16-bit */ #define P_BIT_MULTI_INS_1 0xC000 /* multi instruction mask 2, 16-bit */ diff --git a/gdb/completer.h b/gdb/completer.h index be8f4814158..6ab1246fff1 100644 --- a/gdb/completer.h +++ b/gdb/completer.h @@ -203,7 +203,7 @@ class completion_match_for_lcd /* The ignored substring ranges within M_MATCH. E.g., if we were looking for completion matches for C++ functions starting with - "functio" + "functio" codespell:ignore functio and successfully match: "function[abi:cxx11](int)" the ignored ranges vector will contain an entry that delimits the diff --git a/gdb/cp-support.c b/gdb/cp-support.c index d040ad79469..c684d1a1723 100644 --- a/gdb/cp-support.c +++ b/gdb/cp-support.c @@ -2251,7 +2251,7 @@ test_cp_remove_params () CHECK ("A::(anonymous namespace)", "A::(anonymous namespace)"); - CHECK_INCOMPL ("A::(anonymou", "A"); + CHECK_INCOMPL ("A::(anonymou", "A"); /* codespell:ignore anonymou. */ CHECK ("A::foo()", "A::foo"); diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c index d1befa7d8c3..4b7a27a0d5f 100644 --- a/gdb/darwin-nat-info.c +++ b/gdb/darwin-nat-info.c @@ -630,7 +630,7 @@ darwin_debug_regions_recurse (task_t task) } uiout->table_header (3, ui_left, "min-prot", "Min"); uiout->table_header (3, ui_left, "max-prot", "Max"); - uiout->table_header (5, ui_left, "inheritance", "Inh"); + uiout->table_header (5, ui_left, "inheritance", "Inh"); /* codespell:ignore inh. */ uiout->table_header (9, ui_left, "share-mode", "Shr"); uiout->table_header (1, ui_left, "depth", "D"); uiout->table_header (3, ui_left, "submap", "Sm"); diff --git a/gdb/displaced-stepping.h b/gdb/displaced-stepping.h index cff276827e0..c85f402e36e 100644 --- a/gdb/displaced-stepping.h +++ b/gdb/displaced-stepping.h @@ -61,7 +61,7 @@ displaced_step_prepare_status_str (displaced_step_prepare_status status) return "OK"; case DISPLACED_STEP_PREPARE_STATUS_CANT: - return "CANT"; + return "CANT"; /* codespell:ignore cant. */ case DISPLACED_STEP_PREPARE_STATUS_UNAVAILABLE: return "UNAVAILABLE"; diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c index f33f5ad046e..f22a5e02bbb 100644 --- a/gdb/i387-tdep.c +++ b/gdb/i387-tdep.c @@ -114,6 +114,7 @@ print_i387_status_word (int status_p, gdb_printf (file, "%s", hex_string_custom (status, 4)); gdb_puts (" ", file); + /* codespell:ignore-begin. */ gdb_printf (file, " %s", (status & 0x0001) ? "IE" : " "); gdb_printf (file, " %s", (status & 0x0002) ? "DE" : " "); gdb_printf (file, " %s", (status & 0x0004) ? "ZE" : " "); @@ -129,6 +130,7 @@ print_i387_status_word (int status_p, gdb_printf (file, " %s", (status & 0x0200) ? "C1" : " "); gdb_printf (file, " %s", (status & 0x0400) ? "C2" : " "); gdb_printf (file, " %s", (status & 0x4000) ? "C3" : " "); + /* codespell:ignore-end. */ gdb_puts ("\n", file); diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 995a3b10915..fe0482fe5bf 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -2,8 +2,10 @@ Copyright (C) 1988-2026 Free Software Foundation, Inc. + codespell:ignore-begin Contributed by Alessandro Forin(af@cs.cmu.edu) at CMU and by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin. + codespell:ignore-end This file is part of GDB. diff --git a/gdb/nds32-tdep.c b/gdb/nds32-tdep.c index 3640b31ec27..a00967d3396 100644 --- a/gdb/nds32-tdep.c +++ b/gdb/nds32-tdep.c @@ -329,6 +329,7 @@ static const reggroup *nds32_secur_reggroup; static void nds32_init_reggroups (void) { + /* codespell:ignore-begin. */ nds32_cr_reggroup = reggroup_new ("cr", USER_REGGROUP); nds32_ir_reggroup = reggroup_new ("ir", USER_REGGROUP); nds32_mr_reggroup = reggroup_new ("mr", USER_REGGROUP); @@ -339,6 +340,7 @@ nds32_init_reggroups (void) nds32_racr_reggroup = reggroup_new ("racr", USER_REGGROUP); nds32_idr_reggroup = reggroup_new ("idr", USER_REGGROUP); nds32_secur_reggroup = reggroup_new ("secur", USER_REGGROUP); + /* codespell:ignore-end. */ } static void diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index 07969454b39..abf624f8843 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -2064,7 +2064,7 @@ linux_dwarf2_omit_typedef_p (struct type *target_type, static const char * ppc64le_gnu_triplet_regexp (struct gdbarch *gdbarch) { - return "p(ower)?pc64le"; + return "p(ower)?pc64le"; /* codespell:ignore. */ } /* Specify the powerpc64 target triplet. @@ -2076,7 +2076,7 @@ ppc64le_gnu_triplet_regexp (struct gdbarch *gdbarch) static const char * ppc64_gnu_triplet_regexp (struct gdbarch *gdbarch) { - return "p(ower)?pc64"; + return "p(ower)?pc64"; /* codespell:ignore. */ } /* Implement the linux_gcc_target_options method. */ diff --git a/gdb/riscv-tdep.c b/gdb/riscv-tdep.c index 6b5c9c02d46..fe88379281c 100644 --- a/gdb/riscv-tdep.c +++ b/gdb/riscv-tdep.c @@ -1220,9 +1220,11 @@ riscv_print_one_register_info (struct gdbarch *gdbarch, d = value_as_long (val); xlen = size * 8; gdb_printf (file, + /* codespell:ignore-begin. */ "\tSD:%X VM:%02X MXR:%X PUM:%X MPRV:%X XS:%X " "FS:%X MPP:%x HPP:%X SPP:%X MPIE:%X HPIE:%X " "SPIE:%X UPIE:%X MIE:%X HIE:%X SIE:%X UIE:%X", + /* codespell:ignore-end. */ (int) ((d >> (xlen - 1)) & 0x1), (int) ((d >> 24) & 0x1f), (int) ((d >> 19) & 0x1), diff --git a/gdb/s390-linux-tdep.c b/gdb/s390-linux-tdep.c index 3cd6b359d13..174e0479fbe 100644 --- a/gdb/s390-linux-tdep.c +++ b/gdb/s390-linux-tdep.c @@ -336,6 +336,7 @@ s390_core_read_description (struct gdbarch *gdbarch, asection *section = bfd_get_section_by_name (abfd, ".reg"); std::optional auxv = target_read_auxv_raw (target); CORE_ADDR hwcap = linux_get_hwcap (auxv, target, gdbarch); + /* codespell:ignore-begin. */ bool high_gprs, v1, v2, te, vx, gs; if (!section) @@ -370,6 +371,7 @@ s390_core_read_description (struct gdbarch *gdbarch, te ? tdesc_s390x_te_linux64 : v2 ? tdesc_s390x_linux64v2 : v1 ? tdesc_s390x_linux64v1 : tdesc_s390x_linux64).get (); + /* codespell:ignore-end. */ default: return NULL; diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index f9d7bdd04e4..55efdd82895 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -301,6 +301,7 @@ s390_is_partial_instruction (struct gdbarch *gdbarch, CORE_ADDR loc, int *len) break; } + /* codespell:ignore-begin. */ switch (insn) { case 0xb255: /* MVST */ @@ -325,6 +326,7 @@ s390_is_partial_instruction (struct gdbarch *gdbarch, CORE_ADDR loc, int *len) *len = 4; return 1; } + /* codespell:ignore-end. */ return 0; } @@ -3372,6 +3374,7 @@ s390_process_record (struct gdbarch *gdbarch, struct regcache *regcache, return -1; break; + /* codespell:ignore-begin. */ case 0x20: /* LPDR - load positive */ case 0x30: /* LPER - load positive */ case 0x21: /* LNDR - load negative */ @@ -3396,6 +3399,7 @@ s390_process_record (struct gdbarch *gdbarch, struct regcache *regcache, case 0x3f: /* SUR - subtract unnormalized */ case 0x6f: /* SW - subtract unnormalized */ case 0x7f: /* SU - subtract unnormalized */ + /* codespell:ignore-end. */ /* float destination + flags */ if (record_full_arch_list_add_reg (regcache, S390_F0_REGNUM + inib[2])) return -1; @@ -3922,7 +3926,9 @@ s390_process_record (struct gdbarch *gdbarch, struct regcache *regcache, /* 0xb29e-0xb2a4 undefined */ + /* codespell:ignore-begin. */ case 0xb2a5: /* TRE - translate extended [partial] */ + /* codespell:ignore-end. */ regcache_raw_read_unsigned (regcache, S390_R0_REGNUM + inib[6], &tmp); oaddr = s390_record_address_mask (gdbarch, regcache, tmp); regcache_raw_read_unsigned (regcache, S390_R0_REGNUM + (inib[6] | 1), &tmp); diff --git a/gdb/source.c b/gdb/source.c index 6f8afb560d2..6028c29deae 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -1923,7 +1923,8 @@ The address is also stored as the value of \"$_\".")); Search for regular expression (see regex(3)) from last line listed.\n\ The matching line number is also stored as the value of \"$_\".")); add_com_alias ("search", forward_search_cmd, class_files, 0); - add_com_alias ("fo", forward_search_cmd, class_files, 1); + add_com_alias ("fo", /* codespell:ignore. */ + forward_search_cmd, class_files, 1); cmd_list_element *reverse_search_cmd = add_com ("reverse-search", class_files, reverse_search_command, _("\ diff --git a/gdb/utils.c b/gdb/utils.c index 4f99cdb425b..4a46ed34f4c 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -2937,7 +2937,9 @@ strncmp_iw_with_mode_tests () "\tfoo\t<\tbar\t<\tbaz\t<\tquxi\t>\t>\t>\t(int)", NORMAL); CHECK_MATCH ("foo>>(int)", " \tfoo \t< \tbar \t< \tbaz \t< \tquxi \t> \t> \t> \t( \tint \t)", NORMAL); - CHECK_MATCH ("foo>::foo(quxi &)", "fo", NORMAL); + CHECK_MATCH ("foo>::foo(quxi &)", + "fo", /* codespell:ignore. */ + NORMAL); CHECK_MATCH ("foo>::foo(quxi &)", "foo", NORMAL); CHECK_MATCH ("foo>::foo(quxi &)", "foo>::", NORMAL); CHECK_MATCH ("foo>::foo(quxi &)", "foo >::foo", NORMAL); diff --git a/gdb/valprint.c b/gdb/valprint.c index b266db550d1..dc252c7e331 100644 --- a/gdb/valprint.c +++ b/gdb/valprint.c @@ -1334,10 +1334,10 @@ value_print_scalar_formatted (struct value *val, } /* Print a number according to FORMAT which is one of d,u,x,o,b,h,w,g. - The raison d'etre of this function is to consolidate printing of - LONG_LONG's into this one function. The format chars b,h,w,g are - from print_scalar_formatted(). Numbers are printed using C - format. + The codespell:ignore-begin raison d'etre codespell:ignore-end of this + function is to consolidate printing of LONG_LONG's into this one function. + The format chars b,h,w,g are from print_scalar_formatted(). Numbers are + printed using C format. USE_C_FORMAT means to use C format in all cases. Without it, 'o' and 'x' format do not include the standard C radix prefix diff --git a/gdb/value.c b/gdb/value.c index 7213afa8147..168427770c1 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -1717,7 +1717,8 @@ value::record_latest () /* We preserve VALUE_LVAL so that the user can find out where it was fetched from. This is a bit dubious, because then *&$1 does not just return $1 - but the current contents of that location. c'est la vie... */ + but the current contents of that location. codespell:ignore-begin + C'est la vie... codespell:ignore-end. */ set_modifiable (false); value_history.push_back (release_value (this)); diff --git a/gdb/x86-windows-nat.c b/gdb/x86-windows-nat.c index 61764da8deb..27adeb1f154 100644 --- a/gdb/x86-windows-nat.c +++ b/gdb/x86-windows-nat.c @@ -418,6 +418,7 @@ display_selector (HANDLE thread, DWORD sel) { return get_thread_selector_entry (context, thread, sel, &info); }); + /* codespell:ignore-begin. */ if (ret) { int base, limit; @@ -490,6 +491,7 @@ display_selector (HANDLE thread, DWORD sel) gdb_printf ("Invalid selector 0x%x.\n", (unsigned) sel); return 0; } + /* codespell:ignore-end. */ } static void diff --git a/gdb/xtensa-xtregs.c b/gdb/xtensa-xtregs.c index 1b35308af12..23e153f9ddb 100644 --- a/gdb/xtensa-xtregs.c +++ b/gdb/xtensa-xtregs.c @@ -33,7 +33,9 @@ typedef struct const xtensa_regtable_t xtensa_regmap_table[] = { + /* codespell:ignore-begin. */ /* gnum,gofs,cpofs,ofs,siz,cp, dbnum, name */ + /* codespell:ignore-end. */ { 44, 176, 0, 0, 4, -1, 0x020c, "scompare1" }, { 0 } }; From patchwork Wed Jun 3 10:05:13 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 136366 Return-Path: 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 36D074BA2E0D for ; Wed, 3 Jun 2026 10:07:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 36D074BA2E0D 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=nGpxaO06; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Qs76wL3E; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=nGpxaO06; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Qs76wL3E X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2a07:de40:b251:101:10:150:64:1]) by sourceware.org (Postfix) with ESMTPS id 4C5184BA2E38 for ; Wed, 3 Jun 2026 10:05:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4C5184BA2E38 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 4C5184BA2E38 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2a07:de40:b251:101:10:150:64:1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481143; cv=none; b=qU81HvhiFPj7Na1D7EBUR5IO8o/znOCCXEPuC87ne1MZUvQjt6rTmBxBR5bD/r9whruG0+x89jHBasCEXYn2XxJPRqT2/BbDO26FzqEOviS+R9Dg2AkTHymZ0ok/NsC85yT9NSCm/8yHVIscswNZFOdHoThFLJZniDLetfKr3WM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481143; c=relaxed/simple; bh=lj7QRofh0Wkwust/uPS9RikJz71ZYwz7kurhddI244g=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=XzLOoO8UGThQ9Dct6I4Nsuz5Ql2xpkGh5RqW36CnXcV0OuhG6o/8BAfLKKiD4Xq5xzfEztkwzVkxMpEhGdOTjXg1RvplGfzfXrchfiDRPMMbVGAOaGGnZ6nNfcNgLdjYfqZbGLHfTvoqGvD0P/gh1Xe8stTlWi0wXn3YQYHIfHg= 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=nGpxaO06; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Qs76wL3E; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=nGpxaO06; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Qs76wL3E DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4C5184BA2E38 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-out1.suse.de (Postfix) with ESMTPS id 555166A92B for ; Wed, 3 Jun 2026 10:05:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481117; 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=o/EjmC2pd94Ap7voHw4TqRSOx6uasL42MEgyG+8b9l8=; b=nGpxaO06CVX3p7+0Sqn3jI9nxT87QnBqy82o0HjCnNJBV/0g2cO0SsKpHfNRnw+dnP7rau /3vnKbY++mcsZbFjPCpP83jo5HWZxKuplq35h6SWY6XTqEqPo6dcFFVNR670NFKID1S8kd 5HpKqy3tMo/WY55nRzpJtFRg+Yt617I= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481117; 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=o/EjmC2pd94Ap7voHw4TqRSOx6uasL42MEgyG+8b9l8=; b=Qs76wL3E9ywBCflY40SDQ/1GM8HddncsgHpQkN8g2Rtkg3mVghyY8l2W3NM42uJUrkQRBH BAFfJoI5fxwFPHBw== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481117; 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=o/EjmC2pd94Ap7voHw4TqRSOx6uasL42MEgyG+8b9l8=; b=nGpxaO06CVX3p7+0Sqn3jI9nxT87QnBqy82o0HjCnNJBV/0g2cO0SsKpHfNRnw+dnP7rau /3vnKbY++mcsZbFjPCpP83jo5HWZxKuplq35h6SWY6XTqEqPo6dcFFVNR670NFKID1S8kd 5HpKqy3tMo/WY55nRzpJtFRg+Yt617I= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481117; 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=o/EjmC2pd94Ap7voHw4TqRSOx6uasL42MEgyG+8b9l8=; b=Qs76wL3E9ywBCflY40SDQ/1GM8HddncsgHpQkN8g2Rtkg3mVghyY8l2W3NM42uJUrkQRBH BAFfJoI5fxwFPHBw== 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 35BFC5A4E5 for ; Wed, 3 Jun 2026 10:05:17 +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 0Om8C138H2pjewAAD6G6ig (envelope-from ) for ; Wed, 03 Jun 2026 10:05:17 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 6/9] [gdb] Fix codespell false positive by string splitting Date: Wed, 3 Jun 2026 12:05:13 +0200 Message-ID: <20260603100516.144737-7-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260603100516.144737-1-tdevries@suse.de> References: <20260603100516.144737-1-tdevries@suse.de> MIME-Version: 1.0 X-Spam-Score: -2.80 X-Spamd-Result: default: False [-2.80 / 50.00]; BAYES_HAM(-3.00)[99.99%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; FUZZY_RATELIMITED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,suse.de:mid]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; RCVD_TLS_ALL(0.00)[] X-Spam-Level: X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org Fix codespell false positive in gdb dir, by string splitting. --- gdb/ada-lang.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 823ec6d667e..ea7c29bbde7 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -9370,7 +9370,7 @@ ada_aggregate_component::dump (ui_file *stream, int depth) gdb_printf (stream, _("%*sAggregate\n"), depth, ""); if (m_base != nullptr) { - gdb_printf (stream, _("%*swith delta\n"), depth + 1, ""); + gdb_printf (stream, _("%*s" "with delta\n"), depth + 1, ""); m_base->dump (stream, depth + 2); } for (const auto &item : m_components) From patchwork Wed Jun 3 10:05:14 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 136369 Return-Path: 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 097FD4BA2E0B for ; Wed, 3 Jun 2026 10:08:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 097FD4BA2E0B 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=Irvzjc+9; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=zSKwF5qB; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=Irvzjc+9; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=zSKwF5qB X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2a07:de40:b251:101:10:150:64:2]) by sourceware.org (Postfix) with ESMTPS id F1D2F4BA2E3C for ; Wed, 3 Jun 2026 10:05:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F1D2F4BA2E3C 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 F1D2F4BA2E3C Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2a07:de40:b251:101:10:150:64:2 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481130; cv=none; b=ln5cbPnbfIpYu0pXV93lZjJyMwQPQuhrIQlVXMCkE70FRC9s0ZejaJ9sjGevyll/26p8z2NMDI3YNQ5CZf+5UGV5Ume1r59kAUBA0Tef7zmv6VdEDnTYgn2rfpI4WcAo4jqcvXPkrrnjGDi6p5M+67eWaISik4sIS7BN4ANpEOw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481130; c=relaxed/simple; bh=7ESgIY7oSRWp8SP4iEV2tgfureigki5I5hrtocT3ppU=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=XsgUaDep3xsix62IdMHvBgM+eZZP3c+TdWfap4KGlqiVnMHig9WBOioCESxkh8KD+QtS0+GuLf8aR6KxvnnVRYBjkCDFR5hm14i68i80IOz1J2vQetKHq+UqBbvcS3ahmI25o6aE6RmdjYqhPQqUa2a3ZK/sbIU6RL+aI5dAVUQ= 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=Irvzjc+9; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=zSKwF5qB; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=Irvzjc+9; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=zSKwF5qB DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F1D2F4BA2E3C 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-out2.suse.de (Postfix) with ESMTPS id 7569C674A3 for ; Wed, 3 Jun 2026 10:05:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481117; 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=fCvjVmLQiJM7g1hiQAeUJ2yz3KXhy91h/mK1gdyYBEM=; b=Irvzjc+9OYxa1JKJX2wweDlqjz9uFBWY2LAROxvke8Akz8vbhC5lFOK0cm05K4egeOLBey ND2FeNrtHar6BZtkqmTlniY3qKKTJiuX+bHpEWNRETdhJDlM5RMtvE4hZLKihFGSF9Uv+y +u9ohIrvdMY5Y05UiSUQohrIYpAAbu8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481117; 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=fCvjVmLQiJM7g1hiQAeUJ2yz3KXhy91h/mK1gdyYBEM=; b=zSKwF5qB5G3we9cvOgkx6sDNPgIz9jkkx37kSxBTigWNPH0VnR5Q8kxuSKDcz8PE5tMzfO k/PGyMNklLABkIBA== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=Irvzjc+9; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=zSKwF5qB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481117; 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=fCvjVmLQiJM7g1hiQAeUJ2yz3KXhy91h/mK1gdyYBEM=; b=Irvzjc+9OYxa1JKJX2wweDlqjz9uFBWY2LAROxvke8Akz8vbhC5lFOK0cm05K4egeOLBey ND2FeNrtHar6BZtkqmTlniY3qKKTJiuX+bHpEWNRETdhJDlM5RMtvE4hZLKihFGSF9Uv+y +u9ohIrvdMY5Y05UiSUQohrIYpAAbu8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481117; 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=fCvjVmLQiJM7g1hiQAeUJ2yz3KXhy91h/mK1gdyYBEM=; b=zSKwF5qB5G3we9cvOgkx6sDNPgIz9jkkx37kSxBTigWNPH0VnR5Q8kxuSKDcz8PE5tMzfO k/PGyMNklLABkIBA== 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 5E5DB5A4E6 for ; Wed, 3 Jun 2026 10:05:17 +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 kE2AFV38H2pjewAAD6G6ig (envelope-from ) for ; Wed, 03 Jun 2026 10:05:17 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 7/9] [gdb] Fix codespell false positives by renaming Date: Wed, 3 Jun 2026 12:05:14 +0200 Message-ID: <20260603100516.144737-8-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260603100516.144737-1-tdevries@suse.de> References: <20260603100516.144737-1-tdevries@suse.de> MIME-Version: 1.0 X-Rspamd-Action: no action X-Spam-Level: X-Spamd-Result: default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; 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)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FUZZY_RATELIMITED(0.00)[rspamd.com]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(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]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:104:10:150:64:97:from]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+] X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Rspamd-Queue-Id: 7569C674A3 X-Spam-Score: -3.01 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE, SPF_PASS, TXREP, T_FILL_THIS_FORM_SHORT 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org Fix codespell false positives in gdb dir, by renaming identifiers and splitting words. --- gdb/amd64-tdep.c | 2 +- gdb/arm-linux-nat.c | 4 +- gdb/arm-tdep.c | 2 +- gdb/completer.c | 10 +-- gdb/gdbtypes.c | 16 ++-- gdb/i386-tdep.c | 170 ++++++++++++++++++++++--------------------- gdb/mips-linux-nat.c | 2 +- gdb/ppc-linux-nat.c | 4 +- gdb/printcmd.c | 6 +- gdb/remote.c | 4 +- gdb/ser-event.c | 14 ++-- gdb/symtab.c | 4 +- gdb/windows-nat.c | 6 +- gdb/windows-nat.h | 2 +- gdb/xtensa-tdep.c | 2 +- 15 files changed, 125 insertions(+), 123 deletions(-) diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 0d23abb3164..99448a98f61 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -725,7 +725,7 @@ amd64_classify (struct type *type, enum amd64_reg_class theclass[2]) /* Arguments of complex T - where T is one of the types _Float16, float or double - get treated as if they are implemented as: - struct complexT { + struct complex_T { T real; T imag; }; diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c index fdfe79a9f58..5f9c5998334 100644 --- a/gdb/arm-linux-nat.c +++ b/gdb/arm-linux-nat.c @@ -659,7 +659,7 @@ arm_linux_get_hw_watchpoint_count (void) there is not an appropriate resource available, otherwise returns 1. */ int arm_linux_nat_target::can_use_hw_breakpoint (enum bptype type, - int cnt, int ot) + int cnt, int othertype) { if (type == bp_hardware_watchpoint || type == bp_read_watchpoint || type == bp_access_watchpoint || type == bp_watchpoint) @@ -668,7 +668,7 @@ arm_linux_nat_target::can_use_hw_breakpoint (enum bptype type, if (count == 0) return 0; - else if (cnt + ot > count) + else if (cnt + othertype > count) return -1; } else if (type == bp_hardware_breakpoint) diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 08cce9dbad8..562d10b8e0c 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -4450,7 +4450,7 @@ arm_vfp_cprc_sub_candidate (struct type *t, /* Arguments of complex T where T is one of the types float or double get treated as if they are implemented as: - struct complexT + struct complex_T { T real; T imag; diff --git a/gdb/completer.c b/gdb/completer.c index 49189ac183f..0925891379a 100644 --- a/gdb/completer.c +++ b/gdb/completer.c @@ -3034,7 +3034,7 @@ gdb_fnwidth (const char *string) #if defined (HANDLE_MULTIBYTE) mbstate_t ps; int left, w; - size_t clen; + size_t c_len; wchar_t wc; left = strlen (string) + 1; @@ -3052,18 +3052,18 @@ gdb_fnwidth (const char *string) else { #if defined (HANDLE_MULTIBYTE) - clen = mbrtowc (&wc, string + pos, left - pos, &ps); - if (MB_INVALIDCH (clen)) + c_len = mbrtowc (&wc, string + pos, left - pos, &ps); + if (MB_INVALIDCH (c_len)) { width++; pos++; memset (&ps, 0, sizeof (mbstate_t)); } - else if (MB_NULLWCH (clen)) + else if (MB_NULLWCH (c_len)) break; else { - pos += clen; + pos += c_len; w = wcwidth (wc); width += (w >= 0) ? w : 1; } diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index 2f566583509..eac5cb87fe2 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -1641,14 +1641,14 @@ struct type * lookup_template_type (const char *name, struct type *type, const struct block *block) { - std::string nam; - nam.reserve (strlen (name) + strlen (type->name ()) + strlen ("< >")); - nam = name; - nam += "<"; - nam += type->name (); - nam += " >"; /* FIXME, extra space still introduced in gcc? */ - - symbol *sym = lookup_symbol (nam.c_str (), block, + std::string str; + str.reserve (strlen (name) + strlen (type->name ()) + strlen ("< >")); + str = name; + str += "<"; + str += type->name (); + str += " >"; /* FIXME, extra space still introduced in gcc? */ + + symbol *sym = lookup_symbol (str.c_str (), block, SEARCH_STRUCT_DOMAIN, 0).symbol; if (sym == NULL) diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index fa935b5fcdb..47a8c178470 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -4399,7 +4399,7 @@ struct i386_record_s int override; uint8_t modrm; uint8_t mod, reg, rm; - int ot; + int operand_type; /* OT_BYTE/OT_WORD/OT_LONG/OT_QUAD/OT_DQUAD. */ uint8_t rex_x; uint8_t rex_b; int rip_offset; @@ -4657,7 +4657,7 @@ Do you want to stop the program?"), if (i386_record_lea_modrm_addr (irp, &addr)) return -1; - if (record_full_arch_list_add_mem (addr, 1 << irp->ot)) + if (record_full_arch_list_add_mem (addr, 1 << irp->operand_type)) return -1; return 0; @@ -4807,9 +4807,9 @@ i386_record_vex (struct i386_record_s *ir, uint8_t vex_w, uint8_t vex_r, latter works exactly like 0x29, but the former encodes the size on VEX.pp itself. */ if (opcode == 0x11 && (ir->pp & 2) != 0) - ir->ot = ir->pp; + ir->operand_type = ir->pp; else - ir->ot = 4 + ir->l; + ir->operand_type = 4 + ir->l; i386_record_lea_modrm (ir); } break; @@ -4848,15 +4848,15 @@ i386_record_vex (struct i386_record_s *ir, uint8_t vex_w, uint8_t vex_r, else { /* Calculate the size of memory that will be modified - and store it in the form of 1 << ir->ot, since that + and store it in the form of 1 << ir->operand_type, since that is how the function uses it. In theory, VEX.W is supposed to indicate the size of the memory. In practice, I only ever seen it set to 0, and for 16 bytes, 0xD6 opcode is used. */ if (vex_w) - ir->ot = 4; + ir->operand_type = 4; else - ir->ot = 3; + ir->operand_type = 3; i386_record_lea_modrm (ir); } @@ -4888,7 +4888,7 @@ i386_record_vex (struct i386_record_s *ir, uint8_t vex_w, uint8_t vex_r, else { /* We know that this operation is always 64 bits. */ - ir->ot = 4; + ir->operand_type = 4; i386_record_lea_modrm (ir); } break; @@ -4936,7 +4936,7 @@ i386_record_vex (struct i386_record_s *ir, uint8_t vex_w, uint8_t vex_r, else { /* We're writing 256 bits, so 1<<8. */ - ir->ot = 8; + ir->operand_type = 8; i386_record_lea_modrm (ir); } } @@ -5008,9 +5008,9 @@ i386_record_vex (struct i386_record_s *ir, uint8_t vex_w, uint8_t vex_r, address, so all of them are passed along. */ /* Size is mostly based on the opcode, except for double/quadword difference. */ - ir->ot = opcode - 0x14; + ir->operand_type = opcode - 0x14; if (opcode == 0x16 && vex_w == 1) - ir->ot ++; + ir->operand_type ++; /* I'm not sure if this is the original use, but in here rip_offset is used to indicate that the RIP pointer will be 1 byte away from where the instruction expects it to @@ -5068,7 +5068,7 @@ i386_record_vex (struct i386_record_s *ir, uint8_t vex_w, uint8_t vex_r, i386_record_modrm (ir); if (ir->map_select == 1) /* This is the VMOV family. */ { - ir->ot = 3; + ir->operand_type = 3; i386_record_lea_modrm (ir); } else @@ -5455,9 +5455,9 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, if (((opcode >> 3) & 7) != OP_CMPL) { if ((opcode & 1) == 0) - ir.ot = OT_BYTE; + ir.operand_type = OT_BYTE; else - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; switch ((opcode >> 1) & 3) { @@ -5472,7 +5472,7 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, else { ir.rm |= ir.rex_b; - if (ir.ot == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) + if (ir.operand_type == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) ir.rm &= 0x3; I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.rm); } @@ -5481,7 +5481,7 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, if (i386_record_modrm (&ir)) return -1; ir.reg |= rex_r; - if (ir.ot == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) + if (ir.operand_type == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) ir.reg &= 0x3; I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.reg); break; @@ -5503,16 +5503,16 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, if (ir.reg != OP_CMPL) { if ((opcode & 1) == 0) - ir.ot = OT_BYTE; + ir.operand_type = OT_BYTE; else - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; if (ir.mod != 3) { if (opcode == 0x83) ir.rip_offset = 1; else - ir.rip_offset = (ir.ot > OT_LONG) ? 4 : (1 << ir.ot); + ir.rip_offset = (ir.operand_type > OT_LONG) ? 4 : (1 << ir.operand_type); if (i386_record_lea_modrm (&ir)) return -1; } @@ -5547,14 +5547,14 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, case 0xf6: /* GRP3 */ case 0xf7: if ((opcode & 1) == 0) - ir.ot = OT_BYTE; + ir.operand_type = OT_BYTE; else - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; if (i386_record_modrm (&ir)) return -1; if (ir.mod != 3 && ir.reg == 0) - ir.rip_offset = (ir.ot > OT_LONG) ? 4 : (1 << ir.ot); + ir.rip_offset = (ir.operand_type > OT_LONG) ? 4 : (1 << ir.operand_type); switch (ir.reg) { @@ -5571,7 +5571,7 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, else { ir.rm |= ir.rex_b; - if (ir.ot == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) + if (ir.operand_type == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) ir.rm &= 0x3; I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.rm); } @@ -5583,7 +5583,7 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, case 6: /* div */ case 7: /* idiv */ I386_RECORD_FULL_ARCH_LIST_ADD_REG (X86_RECORD_REAX_REGNUM); - if (ir.ot != OT_BYTE) + if (ir.operand_type != OT_BYTE) I386_RECORD_FULL_ARCH_LIST_ADD_REG (X86_RECORD_REDX_REGNUM); I386_RECORD_FULL_ARCH_LIST_ADD_REG (X86_RECORD_EFLAGS_REGNUM); break; @@ -5610,9 +5610,9 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, case 0: /* inc */ case 1: /* dec */ if ((opcode & 1) == 0) - ir.ot = OT_BYTE; + ir.operand_type = OT_BYTE; else - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; if (ir.mod != 3) { if (i386_record_lea_modrm (&ir)) @@ -5621,7 +5621,7 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, else { ir.rm |= ir.rex_b; - if (ir.ot == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) + if (ir.operand_type == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) ir.rm &= 0x3; I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.rm); } @@ -5677,15 +5677,15 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, case 0x0faf: /* imul */ case 0x69: case 0x6b: - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; if (i386_record_modrm (&ir)) return -1; if (opcode == 0x69) - ir.rip_offset = (ir.ot > OT_LONG) ? 4 : (1 << ir.ot); + ir.rip_offset = (ir.operand_type > OT_LONG) ? 4 : (1 << ir.operand_type); else if (opcode == 0x6b) ir.rip_offset = 1; ir.reg |= rex_r; - if (ir.ot == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) + if (ir.operand_type == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) ir.reg &= 0x3; I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.reg); I386_RECORD_FULL_ARCH_LIST_ADD_REG (X86_RECORD_EFLAGS_REGNUM); @@ -5694,18 +5694,18 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, case 0x0fc0: /* xadd */ case 0x0fc1: if ((opcode & 1) == 0) - ir.ot = OT_BYTE; + ir.operand_type = OT_BYTE; else - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; if (i386_record_modrm (&ir)) return -1; ir.reg |= rex_r; if (ir.mod == 3) { - if (ir.ot == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) + if (ir.operand_type == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) ir.reg &= 0x3; I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.reg); - if (ir.ot == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) + if (ir.operand_type == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) ir.rm &= 0x3; I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.rm); } @@ -5713,7 +5713,7 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, { if (i386_record_lea_modrm (&ir)) return -1; - if (ir.ot == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) + if (ir.operand_type == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) ir.reg &= 0x3; I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.reg); } @@ -5723,16 +5723,16 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, case 0x0fb0: /* cmpxchg */ case 0x0fb1: if ((opcode & 1) == 0) - ir.ot = OT_BYTE; + ir.operand_type = OT_BYTE; else - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; if (i386_record_modrm (&ir)) return -1; if (ir.mod == 3) { ir.reg |= rex_r; I386_RECORD_FULL_ARCH_LIST_ADD_REG (X86_RECORD_REAX_REGNUM); - if (ir.ot == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) + if (ir.operand_type == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) ir.reg &= 0x3; I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.reg); } @@ -5859,16 +5859,16 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, case 0x8f: /* pop */ if (ir.regmap[X86_RECORD_R8_REGNUM]) - ir.ot = ir.dflag ? OT_QUAD : OT_WORD; + ir.operand_type = ir.dflag ? OT_QUAD : OT_WORD; else - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; if (i386_record_modrm (&ir)) return -1; if (ir.mod == 3) I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.rm | ir.rex_b); else { - ir.popl_esp_hack = 1 << ir.ot; + ir.popl_esp_hack = 1 << ir.operand_type; if (i386_record_lea_modrm (&ir)) return -1; } @@ -5938,9 +5938,9 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, case 0xc6: case 0xc7: if ((opcode & 1) == 0) - ir.ot = OT_BYTE; + ir.operand_type = OT_BYTE; else - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; if (i386_record_modrm (&ir)) return -1; @@ -5948,7 +5948,7 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, if (ir.mod != 3) { if (opcode == 0xc6 || opcode == 0xc7) - ir.rip_offset = (ir.ot > OT_LONG) ? 4 : (1 << ir.ot); + ir.rip_offset = (ir.operand_type > OT_LONG) ? 4 : (1 << ir.operand_type); if (i386_record_lea_modrm (&ir)) return -1; } @@ -5956,7 +5956,7 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, { if (opcode == 0xc6 || opcode == 0xc7) ir.rm |= ir.rex_b; - if (ir.ot == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) + if (ir.operand_type == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) ir.rm &= 0x3; I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.rm); } @@ -5965,13 +5965,13 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, case 0x8a: /* mov */ case 0x8b: if ((opcode & 1) == 0) - ir.ot = OT_BYTE; + ir.operand_type = OT_BYTE; else - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; if (i386_record_modrm (&ir)) return -1; ir.reg |= rex_r; - if (ir.ot == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) + if (ir.operand_type == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) ir.reg &= 0x3; I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.reg); break; @@ -5990,7 +5990,7 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.rm); else { - ir.ot = OT_WORD; + ir.operand_type = OT_WORD; if (i386_record_lea_modrm (&ir)) return -1; } @@ -6044,9 +6044,9 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, opcode = opcode << 8 | ir.modrm; goto no_support; } - ir.ot = ir.dflag; + ir.operand_type = ir.dflag; ir.reg |= rex_r; - if (ir.ot == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) + if (ir.operand_type == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) ir.reg &= 0x3; I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.reg); break; @@ -6075,9 +6075,9 @@ Do you want to stop the program?"), else { if ((opcode & 1) == 0) - ir.ot = OT_BYTE; + ir.operand_type = OT_BYTE; else - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; if (ir.aflag == 2) { if (record_read_memory (gdbarch, ir.addr, buf, 8)) @@ -6099,7 +6099,7 @@ Do you want to stop the program?"), ir.addr += 2; addr = extract_unsigned_integer (buf, 2, byte_order); } - if (record_full_arch_list_add_mem (addr, 1 << ir.ot)) + if (record_full_arch_list_add_mem (addr, 1 << ir.operand_type)) return -1; } break; @@ -6142,15 +6142,15 @@ Do you want to stop the program?"), case 0x86: /* xchg Ev, Gv */ case 0x87: if ((opcode & 1) == 0) - ir.ot = OT_BYTE; + ir.operand_type = OT_BYTE; else - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; if (i386_record_modrm (&ir)) return -1; if (ir.mod == 3) { ir.rm |= ir.rex_b; - if (ir.ot == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) + if (ir.operand_type == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) ir.rm &= 0x3; I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.rm); } @@ -6160,7 +6160,7 @@ Do you want to stop the program?"), return -1; } ir.reg |= rex_r; - if (ir.ot == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) + if (ir.operand_type == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) ir.reg &= 0x3; I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.reg); break; @@ -6217,9 +6217,9 @@ Do you want to stop the program?"), case 0xd2: case 0xd3: if ((opcode & 1) == 0) - ir.ot = OT_BYTE; + ir.operand_type = OT_BYTE; else - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; if (i386_record_modrm (&ir)) return -1; if (ir.mod != 3 && (opcode == 0xd2 || opcode == 0xd3)) @@ -6230,7 +6230,7 @@ Do you want to stop the program?"), else { ir.rm |= ir.rex_b; - if (ir.ot == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) + if (ir.operand_type == OT_BYTE && !ir.regmap[X86_RECORD_R8_REGNUM]) ir.rm &= 0x3; I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.rm); } @@ -6715,9 +6715,9 @@ Do you want to stop the program?"), ULONGEST es, ds; if ((opcode & 1) == 0) - ir.ot = OT_BYTE; + ir.operand_type = OT_BYTE; else - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; regcache_raw_read_unsigned (ir.regcache, ir.regmap[X86_RECORD_REDI_REGNUM], &addr); @@ -6743,7 +6743,7 @@ Do you want to stop the program?"), } else { - if (record_full_arch_list_add_mem (addr, 1 << ir.ot)) + if (record_full_arch_list_add_mem (addr, 1 << ir.operand_type)) return -1; } @@ -6891,7 +6891,7 @@ Do you want to stop the program?"), case 0x0f9e: case 0x0f9f: I386_RECORD_FULL_ARCH_LIST_ADD_REG (X86_RECORD_EFLAGS_REGNUM); - ir.ot = OT_BYTE; + ir.operand_type = OT_BYTE; if (i386_record_modrm (&ir)) return -1; if (ir.mod == 3) @@ -6969,7 +6969,7 @@ Do you want to stop the program?"), /* bit operations */ case 0x0fba: /* bt/bts/btr/btc Gv, im */ - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; if (i386_record_modrm (&ir)) return -1; if (ir.reg < 4) @@ -6998,7 +6998,7 @@ Do you want to stop the program?"), case 0x0fab: /* bts */ case 0x0fb3: /* btr */ case 0x0fbb: /* btc */ - ir.ot = ir.dflag + OT_WORD; + ir.operand_type = ir.dflag + OT_WORD; if (i386_record_modrm (&ir)) return -1; if (ir.mod == 3) @@ -7023,7 +7023,7 @@ Do you want to stop the program?"), addr64 += ((int64_t) addr >> 6) << 6; break; } - if (record_full_arch_list_add_mem (addr64, 1 << ir.ot)) + if (record_full_arch_list_add_mem (addr64, 1 << ir.operand_type)) return -1; if (i386_record_lea_modrm (&ir)) return -1; @@ -7038,12 +7038,14 @@ Do you want to stop the program?"), break; /* bcd */ + /* codespell:ignore-begin. */ case 0x27: /* daa */ case 0x2f: /* das */ case 0x37: /* aaa */ case 0x3f: /* aas */ case 0xd4: /* aam */ case 0xd5: /* aad */ + /* codespell:ignore-end. */ if (ir.regmap[X86_RECORD_R8_REGNUM]) { ir.addr -= 1; @@ -7258,7 +7260,7 @@ Do you want to stop the program?"), I386_RECORD_FULL_ARCH_LIST_ADD_REG (ir.rm | ir.rex_b); else { - ir.ot = OT_WORD; + ir.operand_type = OT_WORD; if (i386_record_lea_modrm (&ir)) return -1; } @@ -7415,7 +7417,7 @@ Do you want to stop the program?"), } else { - ir.ot = OT_WORD; + ir.operand_type = OT_WORD; if (i386_record_lea_modrm (&ir)) return -1; } @@ -7461,7 +7463,7 @@ Do you want to stop the program?"), } else { - ir.ot = ir.dflag ? OT_LONG : OT_WORD; + ir.operand_type = ir.dflag ? OT_LONG : OT_WORD; if (i386_record_lea_modrm (&ir)) return -1; } @@ -7670,7 +7672,7 @@ Do you want to stop the program?"), break; case 3: /* stmxcsr */ - ir.ot = OT_LONG; + ir.operand_type = OT_LONG; if (i386_record_lea_modrm (&ir)) return -1; break; @@ -7688,7 +7690,7 @@ Do you want to stop the program?"), break; case 0x0fc3: /* movnti */ - ir.ot = (ir.dflag == 2) ? OT_QUAD : OT_LONG; + ir.operand_type = (ir.dflag == 2) ? OT_QUAD : OT_LONG; if (i386_record_modrm (&ir)) return -1; if (ir.mod == 3) @@ -8086,19 +8088,19 @@ Do you want to stop the program?"), switch (opcode) { case 0x660f3a14: - ir.ot = OT_BYTE; + ir.operand_type = OT_BYTE; break; case 0x660f3a15: - ir.ot = OT_WORD; + ir.operand_type = OT_WORD; break; case 0x660f3a16: - ir.ot = OT_LONG; + ir.operand_type = OT_LONG; break; case 0x660f3a17: - ir.ot = OT_QUAD; + ir.operand_type = OT_QUAD; break; default: - ir.ot = OT_DQUAD; + ir.operand_type = OT_DQUAD; break; } if (i386_record_lea_modrm (&ir)) @@ -8113,9 +8115,9 @@ Do you want to stop the program?"), if (ir.mod == 3) goto no_support; if (opcode == 0x0fe7) - ir.ot = OT_QUAD; + ir.operand_type = OT_QUAD; else - ir.ot = OT_DQUAD; + ir.operand_type = OT_DQUAD; if (i386_record_lea_modrm (&ir)) return -1; break; @@ -8269,9 +8271,9 @@ Do you want to stop the program?"), else { if (ir.dflag == 2) - ir.ot = OT_QUAD; + ir.operand_type = OT_QUAD; else - ir.ot = OT_LONG; + ir.operand_type = OT_LONG; if (i386_record_lea_modrm (&ir)) return -1; } @@ -8289,7 +8291,7 @@ Do you want to stop the program?"), } else { - ir.ot = OT_QUAD; + ir.operand_type = OT_QUAD; if (i386_record_lea_modrm (&ir)) return -1; } @@ -8316,7 +8318,7 @@ Do you want to stop the program?"), } else { - ir.ot = OT_QUAD; + ir.operand_type = OT_QUAD; if (i386_record_lea_modrm (&ir)) return -1; } diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c index d3a043dc5af..9356431cbc1 100644 --- a/gdb/mips-linux-nat.c +++ b/gdb/mips-linux-nat.c @@ -539,7 +539,7 @@ mips_show_dr (const char *func, CORE_ADDR addr, int mips_linux_nat_target::can_use_hw_breakpoint (enum bptype type, - int cnt, int ot) + int cnt, int othertype) { int i; uint32_t wanted_mask, irw_mask; diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c index 102a51c8509..48fde142d62 100644 --- a/gdb/ppc-linux-nat.c +++ b/gdb/ppc-linux-nat.c @@ -2044,7 +2044,7 @@ ppc_linux_nat_target::read_description () int ppc_linux_nat_target::can_use_hw_breakpoint (enum bptype type, int cnt, - int ot) + int othertype) { int total_hw_wp, total_hw_bp; @@ -2076,7 +2076,7 @@ ppc_linux_nat_target::can_use_hw_breakpoint (enum bptype type, int cnt, { if (total_hw_wp == 0) return 0; - else if (cnt + ot > total_hw_wp) + else if (cnt + othertype > total_hw_wp) return -1; else return 1; diff --git a/gdb/printcmd.c b/gdb/printcmd.c index ae498395436..37eaccbe259 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -538,7 +538,7 @@ set_next_address (struct gdbarch *gdbarch, CORE_ADDR addr) } /* Optionally print address ADDR symbolically as on STREAM, - after LEADIN. Print nothing if no symbolic name is found nearby. + after LEAD_IN. Print nothing if no symbolic name is found nearby. Optionally also print source file and line number, if available. DO_DEMANGLE controls whether to print a symbol in its native "raw" form, or to interpret it as a possible C++ name and convert it back to source @@ -549,7 +549,7 @@ set_next_address (struct gdbarch *gdbarch, CORE_ADDR addr) int print_address_symbolic (struct gdbarch *gdbarch, CORE_ADDR addr, struct ui_file *stream, - int do_demangle, const char *leadin) + int do_demangle, const char *lead_in) { std::string name, filename; int unmapped = 0; @@ -560,7 +560,7 @@ print_address_symbolic (struct gdbarch *gdbarch, CORE_ADDR addr, &offset, &filename, &line, &unmapped)) return 0; - gdb_puts (leadin, stream); + gdb_puts (lead_in, stream); if (unmapped) gdb_puts ("<*", stream); else diff --git a/gdb/remote.c b/gdb/remote.c index 735774903f3..ff1a033f0f1 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -11853,7 +11853,7 @@ remote_target::region_ok_for_hw_watchpoint (CORE_ADDR addr, int len) } int -remote_target::can_use_hw_breakpoint (enum bptype type, int cnt, int ot) +remote_target::can_use_hw_breakpoint (enum bptype type, int cnt, int othertype) { if (type == bp_hardware_breakpoint) { @@ -11870,7 +11870,7 @@ remote_target::can_use_hw_breakpoint (enum bptype type, int cnt, int ot) return 0; else if (remote_hw_watchpoint_limit < 0) return 1; - else if (ot) + else if (othertype) return -1; else if (cnt <= remote_hw_watchpoint_limit) return 1; diff --git a/gdb/ser-event.c b/gdb/ser-event.c index ddb3e74b2c6..cd61e985393 100644 --- a/gdb/ser-event.c +++ b/gdb/ser-event.c @@ -167,9 +167,9 @@ make_serial_event (void) int serial_event_fd (struct serial_event *event) { - struct serial *ser = (struct serial *) event; + struct serial *serial = (struct serial *) event; - return ser->fd; + return serial->fd; } /* See ser-event.h. */ @@ -177,8 +177,8 @@ serial_event_fd (struct serial_event *event) void serial_event_set (struct serial_event *event) { - struct serial *ser = (struct serial *) event; - struct serial_event_state *state = (struct serial_event_state *) ser->state; + struct serial *serial = (struct serial *) event; + struct serial_event_state *state = (struct serial_event_state *) serial->state; #ifndef USE_WIN32API char c = '+'; /* Anything. */ @@ -193,7 +193,7 @@ serial_event_set (struct serial_event *event) void serial_event_clear (struct serial_event *event) { - struct serial *ser = (struct serial *) event; + struct serial *serial = (struct serial *) event; #ifndef USE_WIN32API int r; @@ -201,11 +201,11 @@ serial_event_clear (struct serial_event *event) { char c; - r = gdb::read (ser->fd, &c, 1); + r = gdb::read (serial->fd, &c, 1); } while (r > 0); #else - struct serial_event_state *state = (struct serial_event_state *) ser->state; + struct serial_event_state *state = (struct serial_event_state *) serial->state; ResetEvent (state->event); #endif } diff --git a/gdb/symtab.c b/gdb/symtab.c index 3c10e1fd750..70ce320b696 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -4942,8 +4942,8 @@ global_symbol_searcher::search () const This is just a courtesy to make the matching less sensitive to how many spaces the user leaves between 'operator' and or . */ - const char *opend; - const char *opname = operator_chars (symbol_name_regexp, &opend); + const char *op_end; + const char *opname = operator_chars (symbol_name_regexp, &op_end); if (*opname) { diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 61942a83797..699611f3cc6 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -2314,14 +2314,14 @@ windows_nat_target::detach (inferior *inf, int from_tty) { if (thr.internal_state () != THREAD_INT_RUNNING) { - windows_thread_info *wth = windows_process->find_thread (thr.ptid); + windows_thread_info *w_th = windows_process->find_thread (thr.ptid); gdb_signal signo = get_detach_signal (this, thr.ptid); - if (signo != wth->last_sig + if (signo != w_th->last_sig || (signo != GDB_SIGNAL_0 && !signal_pass_state (signo))) signo = GDB_SIGNAL_0; - DWORD cstatus = prepare_resume (wth, &thr, 0, signo); + DWORD cstatus = prepare_resume (w_th, &thr, 0, signo); if (!m_continued && thr.ptid == get_last_debug_event_ptid ()) continue_status = cstatus; diff --git a/gdb/windows-nat.h b/gdb/windows-nat.h index 8e6e79a8160..9ea4dfdc342 100644 --- a/gdb/windows-nat.h +++ b/gdb/windows-nat.h @@ -321,7 +321,7 @@ struct windows_nat_target : public inf_child_target DWORD continue_status_for_event_detaching (const DEBUG_EVENT &event, size_t *reply_later_events_left = nullptr); - DWORD prepare_resume (windows_thread_info *wth, + DWORD prepare_resume (windows_thread_info *th, thread_info *tp, int step, gdb_signal sig); diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c index 3b70678b167..8641915e8aa 100644 --- a/gdb/xtensa-tdep.c +++ b/gdb/xtensa-tdep.c @@ -2330,7 +2330,7 @@ call0_track_op (struct gdbarch *gdbarch, xtensa_c0reg_t dst[], xtensa_c0reg_t sr If 0, avoids infinite run-on in corrupt code memory by bounding the scan to the end of the function if that can be determined. nregs Number of general registers to track. - InOut args: + In/Out args: cache Xtensa frame cache. Note that these may produce useful results even if decoding fails From patchwork Wed Jun 3 10:05:15 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 136365 Return-Path: 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 EDCA34BA2E17 for ; Wed, 3 Jun 2026 10:06:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EDCA34BA2E17 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=VHIwozap; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=tzYvwCIz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=VHIwozap; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=tzYvwCIz X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2a07:de40:b251:101:10:150:64:1]) by sourceware.org (Postfix) with ESMTPS id AA2934BA2E3F for ; Wed, 3 Jun 2026 10:05:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AA2934BA2E3F 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 AA2934BA2E3F Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2a07:de40:b251:101:10:150:64:1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481149; cv=none; b=MpRIlp8xszc1FfzY2Cr0vI4suRh680N80hK80yDjRJ1F48PXJlwdnW1KwHVYLifUZYvXtPq1Crnz+woNTrV6z/WAu/oZOGl4Vmt09daq54bxItOWuZ83OiOYfgkGNpd6HEZtkvlD6G+pdailzUfmpheHZXC3soOqF+Q3Zl58HMg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481149; c=relaxed/simple; bh=RyFKxWCBS0eACLnN2mnWQki8SRPhELvDmIcnji4sgmo=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=dxiu1NUP1P5w5aGp6QZ9nkpmstP0icb0M4mksdQHEKZrGxR8sWqTIZK4+Y8nIvXWsRFHWXCSfL54c3mqOmzHXgDxK4sxm7SRTB6s2b9B/o6r8RFHJitbLMcpMf4uMzrxwuKzM2qxxBVYeMO9Op64MFi9EzldHLZ+AGp4hQknSOM= 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=VHIwozap; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=tzYvwCIz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=VHIwozap; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=tzYvwCIz DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AA2934BA2E3F 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 94F4C6A931 for ; Wed, 3 Jun 2026 10:05:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481117; 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=N5VXytO+f696utFjpkOZUm4LFd4kw+8zVsXnhmCc8UY=; b=VHIwozapLHcsVpfUiDvgMi/MbKArLGpRAPgQDXHGmZCo1CCXkdJhWYIPm1n8cEoLfcZhDY IllkpE53dsvW7pRFXlGRG79EdYpMAe2+YCokCQkWt1o8oCMYKcjaWEJhBOKnWC0i9UisOT z2ncPjJAZZTshAXgg8RUzNn4Vfhzpqc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481117; 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=N5VXytO+f696utFjpkOZUm4LFd4kw+8zVsXnhmCc8UY=; b=tzYvwCIzyerBwMNBkjdB0kTlKdRLkm+Xm0eMXhjccyn9oShFYbUGDIvE+YoGpodEE680xW FNk9Hin6j2e5cHCQ== Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=VHIwozap; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=tzYvwCIz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481117; 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=N5VXytO+f696utFjpkOZUm4LFd4kw+8zVsXnhmCc8UY=; b=VHIwozapLHcsVpfUiDvgMi/MbKArLGpRAPgQDXHGmZCo1CCXkdJhWYIPm1n8cEoLfcZhDY IllkpE53dsvW7pRFXlGRG79EdYpMAe2+YCokCQkWt1o8oCMYKcjaWEJhBOKnWC0i9UisOT z2ncPjJAZZTshAXgg8RUzNn4Vfhzpqc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481117; 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=N5VXytO+f696utFjpkOZUm4LFd4kw+8zVsXnhmCc8UY=; b=tzYvwCIzyerBwMNBkjdB0kTlKdRLkm+Xm0eMXhjccyn9oShFYbUGDIvE+YoGpodEE680xW FNk9Hin6j2e5cHCQ== 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 7BC6E5A4E5 for ; Wed, 3 Jun 2026 10:05:17 +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 wOvhHF38H2pjewAAD6G6ig (envelope-from ) for ; Wed, 03 Jun 2026 10:05:17 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 8/9] [pre-commit] Include gdb in codespell check Date: Wed, 3 Jun 2026 12:05:15 +0200 Message-ID: <20260603100516.144737-9-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260603100516.144737-1-tdevries@suse.de> References: <20260603100516.144737-1-tdevries@suse.de> MIME-Version: 1.0 X-Rspamd-Action: no action X-Rspamd-Queue-Id: 94F4C6A931 X-Spam-Score: -2.83 X-Spam-Level: X-Spamd-Result: default: False [-2.83 / 50.00]; BAYES_HAM(-2.82)[99.24%]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; 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)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FUZZY_RATELIMITED(0.00)[rspamd.com]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:rdns,imap1.dmz-prg2.suse.org:helo,suse.de:mid,suse.de:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:104:10:150:64:97:from]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+] X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org Include the files in the gdb dir in the codespell pre-commit check. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fe8466433ac..255749ec5fd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -71,7 +71,7 @@ repos: rev: v2.4.2 hooks: - id: codespell - files: '^(gdbsupport|gdbserver|gdb/(doc|stubs|features|nat|contrib|dwarf2|tui|target|data-directory|po|system-gdbinit|mi|syscalls|arch|regformats|compile|python|guile|config|unittests|cli|testsuite/gdb.(ctf|dap|debuginfod|gdb|go|guile|mi|modula2|objc|opencl|opt|pascal|perf|replay|reverse|rocm|server|stabs|testsuite|tui|xml)))/' + files: '^(gdbsupport|gdbserver|gdb/(doc|stubs|features|nat|contrib|dwarf2|tui|target|data-directory|po|system-gdbinit|mi|syscalls|arch|regformats|compile|python|guile|config|unittests|cli|testsuite/gdb.(ctf|dap|debuginfod|gdb|go|guile|mi|modula2|objc|opencl|opt|pascal|perf|replay|reverse|rocm|server|stabs|testsuite|tui|xml)))/|^gdb/[^/]*$' args: [--toml, gdb/pyproject.toml] - id: codespell name: codespell-log From patchwork Wed Jun 3 10:05:16 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 136372 Return-Path: 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 DAAFF4BA2E0A for ; Wed, 3 Jun 2026 10:10:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DAAFF4BA2E0A 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=1Zx66Z0O; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=hQtXKzHc; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=1Zx66Z0O; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=hQtXKzHc X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2a07:de40:b251:101:10:150:64:1]) by sourceware.org (Postfix) with ESMTPS id 792354BA2E2B for ; Wed, 3 Jun 2026 10:05:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 792354BA2E2B 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 792354BA2E2B Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2a07:de40:b251:101:10:150:64:1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481156; cv=none; b=KKgZi4iAvBFx50frM7gco5nCyfsV2BG1/uoQ6AMVwpw1l+rzNIgQBJnyJCTITr67CL/T3+u6ZFYB5oYXHqlpDr/+DjYcrWJy+fhrpLEApau5EXUineSadVmz+FCXY2FN6yOYwi4KW+9PVC/LZa0tiT+AKgVdyzm3R5PWU3Io7fc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481156; c=relaxed/simple; bh=zmuoS83MWvuwmYCRaRM6v2ZjCKPMipdCo91B7sRVmug=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=BKECn8iuqNxc0a2Yc229xcJS/LCa06i1bGrCNjlJ9lJT8Yc+Gv2g/FjKiiW8DskMOZUsBXWgINMGfN1IpGjKgBa8bO7mAoT6g5l6iggh3Qh9a/FWTIOawPt/MesE3B9JtqMBcw1s1HuZaOjZyQFd8QyfEfxIwewe7Gn5mC1tmy4= 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=1Zx66Z0O; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=hQtXKzHc; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=1Zx66Z0O; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=hQtXKzHc DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 792354BA2E2B 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-out1.suse.de (Postfix) with ESMTPS id AB8F76A933 for ; Wed, 3 Jun 2026 10:05:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481117; 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=NCP7NUOAO5mNVyJ3a3i2Ad7c9Q9+Xsbd2xaHc9qzfhI=; b=1Zx66Z0ODOdiVhT/nuhsT7KcmGa2jFc8Zqm/SjmEozHjlg2WHFqaN4ZqA4Tc3Af6FM6xBm 7crbc1vaiiA8f+PfFV/mVGRSoe14Z2O/S7BmAheCr7XPQZPqrNzPPG2Qy+M1yXqD9/apYW 9eSLvivBrgyB+4CdjmYOGej2xfe2W1k= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481117; 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=NCP7NUOAO5mNVyJ3a3i2Ad7c9Q9+Xsbd2xaHc9qzfhI=; b=hQtXKzHcR705YRtbIlS9xqytKhyR4+DX4GeMcMU4okCYiNphClnWbEkg76/CQMQD5mTdCC qAfA3/PwhZnK8aDA== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481117; 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=NCP7NUOAO5mNVyJ3a3i2Ad7c9Q9+Xsbd2xaHc9qzfhI=; b=1Zx66Z0ODOdiVhT/nuhsT7KcmGa2jFc8Zqm/SjmEozHjlg2WHFqaN4ZqA4Tc3Af6FM6xBm 7crbc1vaiiA8f+PfFV/mVGRSoe14Z2O/S7BmAheCr7XPQZPqrNzPPG2Qy+M1yXqD9/apYW 9eSLvivBrgyB+4CdjmYOGej2xfe2W1k= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481117; 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=NCP7NUOAO5mNVyJ3a3i2Ad7c9Q9+Xsbd2xaHc9qzfhI=; b=hQtXKzHcR705YRtbIlS9xqytKhyR4+DX4GeMcMU4okCYiNphClnWbEkg76/CQMQD5mTdCC qAfA3/PwhZnK8aDA== 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 978465A4E6 for ; Wed, 3 Jun 2026 10:05:17 +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 iFquI138H2pjewAAD6G6ig (envelope-from ) for ; Wed, 03 Jun 2026 10:05:17 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 9/9] [pre-commit] Simplify codespell configuration Date: Wed, 3 Jun 2026 12:05:16 +0200 Message-ID: <20260603100516.144737-10-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260603100516.144737-1-tdevries@suse.de> References: <20260603100516.144737-1-tdevries@suse.de> MIME-Version: 1.0 X-Spamd-Result: default: False [-2.80 / 50.00]; BAYES_HAM(-3.00)[99.99%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; FUZZY_RATELIMITED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,suse.de:mid]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; RCVD_TLS_ALL(0.00)[] X-Spam-Level: X-Spam-Score: -2.80 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org Simplify the codespell configuration in .pre-commit-config.yaml by moving the file selection to gdb/pyproject.toml. In order to separate the files we want to skip from the files that are todo, I added a marker TODO-SEPARATOR in the list. --- .pre-commit-config.yaml | 2 +- gdb/pyproject.toml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 255749ec5fd..82ec5aa05f9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -71,7 +71,7 @@ repos: rev: v2.4.2 hooks: - id: codespell - files: '^(gdbsupport|gdbserver|gdb/(doc|stubs|features|nat|contrib|dwarf2|tui|target|data-directory|po|system-gdbinit|mi|syscalls|arch|regformats|compile|python|guile|config|unittests|cli|testsuite/gdb.(ctf|dap|debuginfod|gdb|go|guile|mi|modula2|objc|opencl|opt|pascal|perf|replay|reverse|rocm|server|stabs|testsuite|tui|xml)))/|^gdb/[^/]*$' + files: '^(gdb|gdbserver|gdbsupport)/' args: [--toml, gdb/pyproject.toml] - id: codespell name: codespell-log diff --git a/gdb/pyproject.toml b/gdb/pyproject.toml index 4109dfb8f82..f97d1af029b 100644 --- a/gdb/pyproject.toml +++ b/gdb/pyproject.toml @@ -57,8 +57,9 @@ spaces-in-braces = false [tool.codespell] -# Skip ChangeLogs and generated files. -skip = '*/ChangeLog*,*/configure,gdbsupport/Makefile.in,*.dat,*.eps,gdb/features/*.c,gdb/ada-casefold.h,gdb/copying.c,gdb/gdbarch-gen.h,gdb/gdbarch-gen.c,gdb/target-delegates-gen.c,gdb/aclocal.m4,gdbserver/aclocal.m4,gdbsupport/aclocal.m4' +# Skip ChangeLogs and generated files. The files after the TODO-SEPARATOR are +# todo. +skip = '*/ChangeLog*,*/configure,gdbsupport/Makefile.in,*.dat,*.eps,gdb/features/*.c,gdb/ada-casefold.h,gdb/copying.c,gdb/gdbarch-gen.h,gdb/gdbarch-gen.c,gdb/target-delegates-gen.c,gdb/aclocal.m4,gdbserver/aclocal.m4,gdbsupport/aclocal.m4,TODO-SEPARATOR,gdb/testsuite/Makefile.in,gdb/testsuite/TODO,gdb/testsuite/configure.ac,gdb/testsuite/boards/*,gdb/testsuite/config/*,gdb/testsuite/gdb.ada/*,gdb/testsuite/gdb.arch/*,gdb/testsuite/gdb.asm/*,gdb/testsuite/gdb.base/*,gdb/testsuite/gdb.btrace/*,gdb/testsuite/gdb.compile/*,gdb/testsuite/gdb.cp/*,gdb/testsuite/gdb.disasm/*,gdb/testsuite/gdb.dlang/*,gdb/testsuite/gdb.dwarf2/*,gdb/testsuite/gdb.fortran/*,gdb/testsuite/gdb.linespec/*,gdb/testsuite/gdb.python/*,gdb/testsuite/gdb.threads/*,gdb/testsuite/gdb.trace/*,gdb/testsuite/lib/*' ignore-words = 'gdb/contrib/codespell-ignore-words.txt' dictionary = 'gdb/contrib/codespell-dictionary.txt,-'