WIP MachO binutils port assisted by AI I may consider upstreaming this in the future.
0

Configure Feed

Select the types of activity you want to include in your feed.

[gdb/contrib] Add missing copyright notices

I found a few files in gdb/contrib that were missing a copyright notice.

In codespell-ignore-words.txt, it was 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 two 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

Tom de Vries (Jun 1, 2026, 2:53 PM +0200) 48e2cc4f 198d9054

+44
+23
gdb/contrib/codespell-dictionary.txt
··· 1 + -># Copyright (C) 2025-2026 Free Software Foundation, Inc. 2 + -># This program is free software; you can redistribute it and/or modify 3 + -># it under the terms of the GNU General Public License as published by 4 + -># the Free Software Foundation; either version 3 of the License, or 5 + -># (at your option) any later version. 6 + -># 7 + -># This program is distributed in the hope that it will be useful, 8 + -># but WITHOUT ANY WARRANTY; without even the implied warranty of 9 + -># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 + -># GNU General Public License for more details. 11 + -># 12 + -># You should have received a copy of the GNU General Public License 13 + -># along with this program. If not, see <http://www.gnu.org/licenses/>. 14 + -># 15 + -># Hack: comments are not supported in this file, so instead use a rule 16 + -># rewriting an empty word. This hack may stop working after a codespell 17 + -># update. 18 + -># 19 + -># Note: empty lines are not supported either. 20 + -># 21 + -># I've filed an issue about these two problems [1]. 22 + -># 23 + -># [1] https://github.com/codespell-project/codespell/issues/3901 1 24 gdbsever->gdbserver 2 25 tcllint->tclint 3 26 recordered->recorded
+21
gdb/contrib/codespell-ignore-words.txt
··· 1 + # Copyright (C) 2025-2026 Free Software Foundation, Inc. 2 + # This program is free software; you can redistribute it and/or modify 3 + # it under the terms of the GNU General Public License as published by 4 + # the Free Software Foundation; either version 3 of the License, or 5 + # (at your option) any later version. 6 + # 7 + # This program is distributed in the hope that it will be useful, 8 + # but WITHOUT ANY WARRANTY; without even the implied warranty of 9 + # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 + # GNU General Public License for more details. 11 + # 12 + # You should have received a copy of the GNU General Public License 13 + # along with this program. If not, see <http://www.gnu.org/licenses/>. 14 + # 15 + # Note: comments are not explicitly supported in this file [1], but using them 16 + # doesn't seem to cause problems. 17 + # 18 + # Note: empty lines do seem to work here (unlike in codespell-dictionary.txt). 19 + # 20 + # [1] https://github.com/codespell-project/codespell/issues/2063 21 + 1 22 configury 2 23 sme 3 24 Synopsys