From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id gYrhCU9nxWmKgToAWB0awg (envelope-from ) for ; Thu, 26 Mar 2026 13:05:19 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=IaYcTKZ7; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=I9uDNpu7; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=vOsKyIK8; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=3W+R0pK3; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 222501E0BC; Thu, 26 Mar 2026 13:05:19 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 501AE1E08C for ; Thu, 26 Mar 2026 13:05:18 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id D0AD14BAD155 for ; Thu, 26 Mar 2026 17:05:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D0AD14BAD155 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=IaYcTKZ7; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=I9uDNpu7; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=vOsKyIK8; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=3W+R0pK3 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 0B1D84B9DB66 for ; Thu, 26 Mar 2026 17:02:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0B1D84B9DB66 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 0B1D84B9DB66 Authentication-Results: server2.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=1774544577; cv=none; b=nHr14ipo4nL13VNJEF7YnWG0i3sDjIMVVE40GPihiH3lTaz5AdYEqBVTMBmflXgV6L6istcm8PsN1+lcAHBFnelPQ1NcL9Bp14NeqaNM0MfsS1Hb9kbN9Rhb3HPHihMu+A1WHSs5M5U7sMTo7CCEjAIswlw2gZ57Z2G8eVaN9U4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774544577; c=relaxed/simple; bh=sBVXov9nBC+ujJwk9NA9Q69wQ9UJ+sveBvwP7yZZ5NQ=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=cvXrsRtyUFbtThHx6CuKsFZap9is1pF9dtM8iTbnc0M9dP+tTMixitODcIKiQ8oqvGFyehRY8VSWOkMWnGCdf05DfYlcWsFNVgTmgFssyp7gSr5OlWhdSMYqAkb0Y/O+98Cuk47qfl+dAWG9sHnuhtkC5WIWQ70WpgM29X0ybZQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0B1D84B9DB66 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 71F955BEC8 for ; Thu, 26 Mar 2026 17:02:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1774544570; 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=KCZ7hEt2CURH327Fw/AOfU0HQsItd/lSyH6z3PNODbA=; b=IaYcTKZ7i7dvqCbdSiaXMz5NgT8CQpqU0EE9c2YIL7maK7212R44F6PzmIzDAy9KgBGNwP xVhyMgnIJjiEuTB7FX3WyEFVp0Gf0xZXNbdveaDwMhTV4c4B8eGh3VaKdqvzvPViFQaTKm 1xjwQupnXiaSZ2c9JWhyjSu01Bnr8fU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1774544570; 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=KCZ7hEt2CURH327Fw/AOfU0HQsItd/lSyH6z3PNODbA=; b=I9uDNpu7LZqHe53Mq0Hxx2t8UrbMD5YzoTYgZAzBJCJsQAGJ0JnrKeRaQkDuxpzurm3tSd JnUDG/fELvXLLlAA== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=vOsKyIK8; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=3W+R0pK3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1774544569; 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=KCZ7hEt2CURH327Fw/AOfU0HQsItd/lSyH6z3PNODbA=; b=vOsKyIK8Q4MI7kcLrBYS/VgeUtqtL7HPJv5N3ViqLtkwtjxaf6wLPVaEQI7tmK63ID3g5H xd+PBz0leZSW+lvK9DRgLvoXjD1jtfQbb1d/RQkeKnPuUDhocZWLnGah/6o1u2TJS3lpHx /A0S1BKhcgFBlD0q7J5DYdR72kIY7rI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1774544569; 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=KCZ7hEt2CURH327Fw/AOfU0HQsItd/lSyH6z3PNODbA=; b=3W+R0pK3leFEgNZF32VRoIKwuBmzTPmRFArXYJub9hQS5l/z3jI6csrvax1E6YhsNhUnmv JL2AQHYi+o7PxuCQ== 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 5C39C4A0A6 for ; Thu, 26 Mar 2026 17:02:49 +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 wIH5FLlmxWkuTAAAD6G6ig (envelope-from ) for ; Thu, 26 Mar 2026 17:02:49 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 1/2] [gdb/contrib] Add missing copyright notices Date: Thu, 26 Mar 2026 18:02:47 +0100 Message-ID: <20260326170248.218742-2-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260326170248.218742-1-tdevries@suse.de> References: <20260326170248.218742-1-tdevries@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Action: no action X-Rspamd-Server: rspamd2.dmz-prg2.suse.org 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)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; FROM_EQ_ENVFROM(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[gnu.org:url,suse.de:dkim,suse.de:mid,imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; RCVD_TLS_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; DKIM_TRACE(0.00)[suse.de:+] X-Rspamd-Queue-Id: 71F955BEC8 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org I found a few files in gdb/contrib that were missing a copyright notice. In setup.cfg, it was trivial to add. In codespell-ignore-words.txt, it was also trivial to add, but I found a codespell issue stating that it's not explicitly support, so I added a note about that. In codespell-dictionary.txt, I had to resort to a hack, using an "empty word" rewrite rule: ... -># Comment here. ... Also, I found that empty lines are not allowed in codespell-dictionary.txt. I filed an issue about these two problems [1]. Since these three files were added in 2025, I've used 2025-2026 as copyright years. Tested by running "pre-commit run --all-files". [1] https://github.com/codespell-project/codespell/issues/3901 --- gdb/contrib/codespell-dictionary.txt | 23 +++++++++++++++++++++++ gdb/contrib/codespell-ignore-words.txt | 21 +++++++++++++++++++++ gdb/contrib/setup.cfg | 14 ++++++++++++++ 3 files changed, 58 insertions(+) diff --git a/gdb/contrib/codespell-dictionary.txt b/gdb/contrib/codespell-dictionary.txt index 70914421cbf..b02e6eb1997 100644 --- a/gdb/contrib/codespell-dictionary.txt +++ b/gdb/contrib/codespell-dictionary.txt @@ -1,3 +1,26 @@ +-># Copyright (C) 2025-2026 Free Software Foundation, Inc. +-># This program is free software; you can redistribute it and/or modify +-># it under the terms of the GNU General Public License as published by +-># the Free Software Foundation; either version 3 of the License, or +-># (at your option) any later version. +-># +-># This program is distributed in the hope that it will be useful, +-># but WITHOUT ANY WARRANTY; without even the implied warranty of +-># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-># GNU General Public License for more details. +-># +-># You should have received a copy of the GNU General Public License +-># along with this program. If not, see . +-># +-># Hack: comments are not supported in this file, so instead use a rule +-># rewriting an empty word. This hack may stop working after a codespell +-># update. +-># +-># Note: empty lines are not supported either. +-># +-># I've filed an issue about these two problems [1]. +-># +-># [1] https://github.com/codespell-project/codespell/issues/3901 gdbsever->gdbserver tcllint->tclint recordered->recorded diff --git a/gdb/contrib/codespell-ignore-words.txt b/gdb/contrib/codespell-ignore-words.txt index c07df0c001d..e9c1c2dc2f4 100644 --- a/gdb/contrib/codespell-ignore-words.txt +++ b/gdb/contrib/codespell-ignore-words.txt @@ -1,3 +1,24 @@ +# Copyright (C) 2025-2026 Free Software Foundation, Inc. +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Note: comments are not explicitly supported in this file [1], but using them +# doesn't seem to cause problems. +# +# Note: empty lines do seem to work here (unlike in codespell-dictionary.txt). +# +# [1] https://github.com/codespell-project/codespell/issues/2063 + configury SME Synopsys diff --git a/gdb/contrib/setup.cfg b/gdb/contrib/setup.cfg index 4793a6264af..3aa8ac058ab 100644 --- a/gdb/contrib/setup.cfg +++ b/gdb/contrib/setup.cfg @@ -1,3 +1,17 @@ +# Copyright (C) 2025-2026 Free Software Foundation, Inc. +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + [codespell] # Skip ChangeLogs and generated files. -- 2.51.0