public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [FYI] GDB Start of New Year Procedure
@ 2022-01-01 15:12 Joel Brobecker
  2022-01-01 15:12 ` [PATCH 1/6] Update Copyright Year in gdb, gdbserver and gdbreplay version output Joel Brobecker
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Joel Brobecker @ 2022-01-01 15:12 UTC (permalink / raw)
  To: gdb-patches

Hello,

Here are a few commits that I am about to push, following GDB's
Start of New Year Procedure.

Note: Many m4 files a few other files in sim/ are missing
a copyright year. I haven't had time to look at this.

Happy New Year, everyone!
-- 
Joel




^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 1/6] Update Copyright Year in gdb, gdbserver and gdbreplay version output
  2022-01-01 15:12 [FYI] GDB Start of New Year Procedure Joel Brobecker
@ 2022-01-01 15:12 ` Joel Brobecker
  2022-01-01 15:12 ` [PATCH 3/6] Manual copyright year update of various GDB files Joel Brobecker
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 10+ messages in thread
From: Joel Brobecker @ 2022-01-01 15:12 UTC (permalink / raw)
  To: gdb-patches; +Cc: Joel Brobecker

This commit changes the copyright year printed by gdb, gdbserver
and gdbreplay when printing the tool's version.
---
 gdb/top.c              | 2 +-
 gdbserver/gdbreplay.cc | 2 +-
 gdbserver/server.cc    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gdb/top.c b/gdb/top.c
index 1f9e649a85d..0ba9b82f3a5 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1435,7 +1435,7 @@ print_gdb_version (struct ui_file *stream, bool interactive)
   /* Second line is a copyright notice.  */
 
   fprintf_filtered (stream,
-		    "Copyright (C) 2021 Free Software Foundation, Inc.\n");
+		    "Copyright (C) 2022 Free Software Foundation, Inc.\n");
 
   /* Following the copyright is a brief statement that the program is
      free software, that users are free to copy and change it on
diff --git a/gdbserver/gdbreplay.cc b/gdbserver/gdbreplay.cc
index 3705e9bf45f..e4e76565c34 100644
--- a/gdbserver/gdbreplay.cc
+++ b/gdbserver/gdbreplay.cc
@@ -405,7 +405,7 @@ static void
 gdbreplay_version (void)
 {
   printf ("GNU gdbreplay %s%s\n"
-	  "Copyright (C) 2021 Free Software Foundation, Inc.\n"
+	  "Copyright (C) 2022 Free Software Foundation, Inc.\n"
 	  "gdbreplay is free software, covered by "
 	  "the GNU General Public License.\n"
 	  "This gdbreplay was configured as \"%s\"\n",
diff --git a/gdbserver/server.cc b/gdbserver/server.cc
index 54ca95e62ff..c886b2e32b8 100644
--- a/gdbserver/server.cc
+++ b/gdbserver/server.cc
@@ -3479,7 +3479,7 @@ static void
 gdbserver_version (void)
 {
   printf ("GNU gdbserver %s%s\n"
-	  "Copyright (C) 2021 Free Software Foundation, Inc.\n"
+	  "Copyright (C) 2022 Free Software Foundation, Inc.\n"
 	  "gdbserver is free software, covered by the "
 	  "GNU General Public License.\n"
 	  "This gdbserver was configured as \"%s\"\n",
-- 
2.32.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 3/6] Manual copyright year update of various GDB files
  2022-01-01 15:12 [FYI] GDB Start of New Year Procedure Joel Brobecker
  2022-01-01 15:12 ` [PATCH 1/6] Update Copyright Year in gdb, gdbserver and gdbreplay version output Joel Brobecker
@ 2022-01-01 15:12 ` Joel Brobecker
  2022-01-10  5:10   ` Daniel Black
  2022-01-01 15:12 ` [PATCH 4/6] gdb/copyright.py: Add update-netbsd.sh to MULTIPLE_COPYRIGHT_HEADERS Joel Brobecker
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Joel Brobecker @ 2022-01-01 15:12 UTC (permalink / raw)
  To: gdb-patches; +Cc: Joel Brobecker

This commit updates the copyright year in some files where
we have a copyright year outside of the copyright year,
and thus are not included in gdb's copyright.py script.
---
 gdb/doc/gdb.texinfo           | 4 ++--
 gdb/doc/refcard.tex           | 4 ++--
 gdb/gdbarch.py                | 2 +-
 gdb/syscalls/update-netbsd.sh | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 3b4bde0eab4..ed143fd05dd 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -50,7 +50,7 @@
 
 @copying
 @c man begin COPYRIGHT
-Copyright @copyright{} 1988-2021 Free Software Foundation, Inc.
+Copyright @copyright{} 1988-2022 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -120,7 +120,7 @@ This is the @value{EDITION} Edition, for @value{GDBN}
 @end ifset
 Version @value{GDBVN}.
 
-Copyright (C) 1988-2021 Free Software Foundation, Inc.
+Copyright (C) 1988-2022 Free Software Foundation, Inc.
 
 This edition of the GDB manual is dedicated to the memory of Fred
 Fish.  Fred was a long-standing contributor to GDB and to Free
diff --git a/gdb/doc/refcard.tex b/gdb/doc/refcard.tex
index 2742d999b0b..e1f0c6604e2 100644
--- a/gdb/doc/refcard.tex
+++ b/gdb/doc/refcard.tex
@@ -307,7 +307,7 @@ shell {\it cmd}&execute arbitrary shell command string\cr
 \line{\smrm \opt{ } surround optional arguments \hfill $\ldots$ show
 one or more arguments}
 \vskip\baselineskip
-\centerline{\smrm \copyright 1998-2021 Free Software Foundation, Inc.\qquad Permissions on back}
+\centerline{\smrm \copyright 1998-2022 Free Software Foundation, Inc.\qquad Permissions on back}
 \eject
 \sec Breakpoints and Watchpoints;
 break \opt{\it file\tt:}{\it line}\par
@@ -632,7 +632,7 @@ statement.\cr
 
 \vfill
 {\smrm\parskip=6pt
-Copyright \copyright 1991-2021 Free Software Foundation, Inc.
+Copyright \copyright 1991-2022 Free Software Foundation, Inc.
 Author: Roland H. Pesch
 
 The author assumes no responsibility for any errors on this card.
diff --git a/gdb/gdbarch.py b/gdb/gdbarch.py
index 38b5eb7ff4a..c490a6cb11e 100755
--- a/gdb/gdbarch.py
+++ b/gdb/gdbarch.py
@@ -166,7 +166,7 @@ copyright = """/* *INDENT-OFF* */ /* THIS FILE IS GENERATED -*- buffer-read-only
 
 /* Dynamic architecture support for GDB, the GNU debugger.
 
-   Copyright (C) 1998-2021 Free Software Foundation, Inc.
+   Copyright (C) 1998-2022 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
diff --git a/gdb/syscalls/update-netbsd.sh b/gdb/syscalls/update-netbsd.sh
index 076404afd73..befbc597370 100755
--- a/gdb/syscalls/update-netbsd.sh
+++ b/gdb/syscalls/update-netbsd.sh
@@ -36,7 +36,7 @@ fi
 cat > netbsd.xml.tmp <<EOF
 <?xml version="1.0"?> <!-- THIS FILE IS GENERATED -*- buffer-read-only: t -*-  -->
 <!-- vi:set ro: -->
-<!-- Copyright (C) 2020-2021 Free Software Foundation, Inc.
+<!-- Copyright (C) 2020-2022 Free Software Foundation, Inc.
 
      Copying and distribution of this file, with or without modification,
      are permitted in any medium without royalty provided the copyright
-- 
2.32.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 4/6] gdb/copyright.py: Add update-netbsd.sh to MULTIPLE_COPYRIGHT_HEADERS
  2022-01-01 15:12 [FYI] GDB Start of New Year Procedure Joel Brobecker
  2022-01-01 15:12 ` [PATCH 1/6] Update Copyright Year in gdb, gdbserver and gdbreplay version output Joel Brobecker
  2022-01-01 15:12 ` [PATCH 3/6] Manual copyright year update of various GDB files Joel Brobecker
@ 2022-01-01 15:12 ` Joel Brobecker
  2022-01-01 15:12 ` [PATCH 5/6] Fix copyright header in gdb/testsuite/gdb.arch/powerpc-power10.exp Joel Brobecker
  2022-01-01 15:12 ` [PATCH 6/6] Update Copyright year " Joel Brobecker
  4 siblings, 0 replies; 10+ messages in thread
From: Joel Brobecker @ 2022-01-01 15:12 UTC (permalink / raw)
  To: gdb-patches; +Cc: Joel Brobecker

Add gdb/syscalls/update-netbsd.sh to the reminder printed
at the end of the execution listing all the files where
a manual update of the copyright header is needed. This
scripts contains some inline code which includes a copyright
header.
---
 gdb/copyright.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gdb/copyright.py b/gdb/copyright.py
index 560754f4983..c4e6f947fe4 100644
--- a/gdb/copyright.py
+++ b/gdb/copyright.py
@@ -245,6 +245,7 @@ MULTIPLE_COPYRIGHT_HEADERS = (
     "gdb/doc/gdb.texinfo",
     "gdb/doc/refcard.tex",
     "gdb/gdbarch.sh",
+    "gdb/syscalls/update-netbsd.sh",
 )
 
 # The list of file which have a copyright, but not head by the FSF.
-- 
2.32.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 5/6] Fix copyright header in gdb/testsuite/gdb.arch/powerpc-power10.exp
  2022-01-01 15:12 [FYI] GDB Start of New Year Procedure Joel Brobecker
                   ` (2 preceding siblings ...)
  2022-01-01 15:12 ` [PATCH 4/6] gdb/copyright.py: Add update-netbsd.sh to MULTIPLE_COPYRIGHT_HEADERS Joel Brobecker
@ 2022-01-01 15:12 ` Joel Brobecker
  2022-01-01 15:12 ` [PATCH 6/6] Update Copyright year " Joel Brobecker
  4 siblings, 0 replies; 10+ messages in thread
From: Joel Brobecker @ 2022-01-01 15:12 UTC (permalink / raw)
  To: gdb-patches; +Cc: Joel Brobecker

The copyright year and holder line is slight malformed, missing
a space after a comma, and this is sufficient for gdb's
copyright.py script to miss this file during its automated
copyright year update.

This commit fixes this.
---
 gdb/testsuite/gdb.arch/powerpc-power10.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.arch/powerpc-power10.exp b/gdb/testsuite/gdb.arch/powerpc-power10.exp
index 16297cc78a6..7e6b0454c0f 100644
--- a/gdb/testsuite/gdb.arch/powerpc-power10.exp
+++ b/gdb/testsuite/gdb.arch/powerpc-power10.exp
@@ -1,4 +1,4 @@
-# Copyright 2021 Free Software Foundation,Inc.
+# Copyright 2021 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
-- 
2.32.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 6/6] Update Copyright year in gdb/testsuite/gdb.arch/powerpc-power10.exp
  2022-01-01 15:12 [FYI] GDB Start of New Year Procedure Joel Brobecker
                   ` (3 preceding siblings ...)
  2022-01-01 15:12 ` [PATCH 5/6] Fix copyright header in gdb/testsuite/gdb.arch/powerpc-power10.exp Joel Brobecker
@ 2022-01-01 15:12 ` Joel Brobecker
  4 siblings, 0 replies; 10+ messages in thread
From: Joel Brobecker @ 2022-01-01 15:12 UTC (permalink / raw)
  To: gdb-patches; +Cc: Joel Brobecker

This commit updates the copyright year range in the script
gdb/testsuite/gdb.arch/powerpc-power10.exp. The update was
performed by running gdb/copyright.py again, to make sure
that the copyright year range will be automatically updated
in years forward.
---
 gdb/testsuite/gdb.arch/powerpc-power10.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.arch/powerpc-power10.exp b/gdb/testsuite/gdb.arch/powerpc-power10.exp
index 7e6b0454c0f..bc52a72d9de 100644
--- a/gdb/testsuite/gdb.arch/powerpc-power10.exp
+++ b/gdb/testsuite/gdb.arch/powerpc-power10.exp
@@ -1,4 +1,4 @@
-# Copyright 2021 Free Software Foundation, Inc.
+# Copyright 2021-2022 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
-- 
2.32.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 3/6] Manual copyright year update of various GDB files
  2022-01-01 15:12 ` [PATCH 3/6] Manual copyright year update of various GDB files Joel Brobecker
@ 2022-01-10  5:10   ` Daniel Black
  2022-01-10  5:37     ` Joel Brobecker
  0 siblings, 1 reply; 10+ messages in thread
From: Daniel Black @ 2022-01-10  5:10 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

On Sun, Jan 2, 2022 at 2:14 AM Joel Brobecker via Gdb-patches
<gdb-patches@sourceware.org> wrote:

>  gdb/doc/refcard.tex           | 4 ++--

How do you claim new copyright in this file when the last
(non-copyright notice) change was in 2012 (168997566e2a)?

The other files seem reasonable based on the frequency of changes.

Daniel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 3/6] Manual copyright year update of various GDB files
  2022-01-10  5:10   ` Daniel Black
@ 2022-01-10  5:37     ` Joel Brobecker
  2022-01-10  6:47       ` Daniel Black
  0 siblings, 1 reply; 10+ messages in thread
From: Joel Brobecker @ 2022-01-10  5:37 UTC (permalink / raw)
  To: Daniel Black; +Cc: Joel Brobecker, gdb-patches

> On Sun, Jan 2, 2022 at 2:14 AM Joel Brobecker via Gdb-patches
> <gdb-patches@sourceware.org> wrote:
> 
> >  gdb/doc/refcard.tex           | 4 ++--
> 
> How do you claim new copyright in this file when the last
> (non-copyright notice) change was in 2012 (168997566e2a)?
> 
> The other files seem reasonable based on the frequency of changes.

Unfortunately, I am not a lawyer and cannot answer your question.
We are applying here our understanding here of what we were told
by the FSF we could do.

-- 
Joel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 3/6] Manual copyright year update of various GDB files
  2022-01-10  5:37     ` Joel Brobecker
@ 2022-01-10  6:47       ` Daniel Black
  2022-01-10 17:29         ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Daniel Black @ 2022-01-10  6:47 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

On Mon, Jan 10, 2022 at 4:37 PM Joel Brobecker <brobecker@adacore.com> wrote:
>
> > On Sun, Jan 2, 2022 at 2:14 AM Joel Brobecker via Gdb-patches
> > <gdb-patches@sourceware.org> wrote:
> >
> > >  gdb/doc/refcard.tex           | 4 ++--
> >
> > How do you claim new copyright in this file when the last
> > (non-copyright notice) change was in 2012 (168997566e2a)?
> >
> > The other files seem reasonable based on the frequency of changes.
>
> Unfortunately, I am not a lawyer and cannot answer your question.
> We are applying here our understanding here of what we were told
> by the FSF we could do.

It doesn't seem right (ref: "The copyright notice"
http://www.gnu.org/licenses/gpl-howto.html).
Replacing "release" for "file" as equivalent copyrightable object
would be when the last change ("creative work") was written
to the file as the minimum criteria.

"For software with several releases .. use a range (“2008-2010”) ...
if and only if every year in the range, inclusive, really is a
“copyrightable” year that would be listed individually; and ...

The non-legal, but endorsed, and not (publicly/locally) contended
verbose description:

https://softwareengineering.stackexchange.com/questions/210472/is-renewal-of-mit-license-needed-on-github-at-the-beginning-of-each-year

A pre-release/end of year process that accounts for changes would seem
more respectful of what copyright is, in my not-a-lawyer opinion
anyway.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 3/6] Manual copyright year update of various GDB files
  2022-01-10  6:47       ` Daniel Black
@ 2022-01-10 17:29         ` Eli Zaretskii
  0 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2022-01-10 17:29 UTC (permalink / raw)
  To: Daniel Black; +Cc: brobecker, gdb-patches

> Date: Mon, 10 Jan 2022 17:47:49 +1100
> X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
>  DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_DNSWL_NONE,
>  SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4
> From: Daniel Black via Gdb-patches <gdb-patches@sourceware.org>
> Cc: gdb-patches@sourceware.org
> 
> On Mon, Jan 10, 2022 at 4:37 PM Joel Brobecker <brobecker@adacore.com> wrote:
> >
> > > On Sun, Jan 2, 2022 at 2:14 AM Joel Brobecker via Gdb-patches
> > > <gdb-patches@sourceware.org> wrote:
> > >
> > > >  gdb/doc/refcard.tex           | 4 ++--
> > >
> > > How do you claim new copyright in this file when the last
> > > (non-copyright notice) change was in 2012 (168997566e2a)?
> > >
> > > The other files seem reasonable based on the frequency of changes.
> >
> > Unfortunately, I am not a lawyer and cannot answer your question.
> > We are applying here our understanding here of what we were told
> > by the FSF we could do.
> 
> It doesn't seem right (ref: "The copyright notice"
> http://www.gnu.org/licenses/gpl-howto.html).
> Replacing "release" for "file" as equivalent copyrightable object
> would be when the last change ("creative work") was written
> to the file as the minimum criteria.
> 
> "For software with several releases .. use a range (“2008-2010”) ...
> if and only if every year in the range, inclusive, really is a
> “copyrightable” year that would be listed individually; and ...
> 
> The non-legal, but endorsed, and not (publicly/locally) contended
> verbose description:
> 
> https://softwareengineering.stackexchange.com/questions/210472/is-renewal-of-mit-license-needed-on-github-at-the-beginning-of-each-year
> 
> A pre-release/end of year process that accounts for changes would seem
> more respectful of what copyright is, in my not-a-lawyer opinion
> anyway.

We work according to the FSF copyright lawyers, and they tell us to
add a new year each year.  This is a policy used by the entire GNU
project.  If you want to change that, please take it up with the FSF
lawyers.  We are not qualified to discuss this stuff here.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-01-10 17:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-01 15:12 [FYI] GDB Start of New Year Procedure Joel Brobecker
2022-01-01 15:12 ` [PATCH 1/6] Update Copyright Year in gdb, gdbserver and gdbreplay version output Joel Brobecker
2022-01-01 15:12 ` [PATCH 3/6] Manual copyright year update of various GDB files Joel Brobecker
2022-01-10  5:10   ` Daniel Black
2022-01-10  5:37     ` Joel Brobecker
2022-01-10  6:47       ` Daniel Black
2022-01-10 17:29         ` Eli Zaretskii
2022-01-01 15:12 ` [PATCH 4/6] gdb/copyright.py: Add update-netbsd.sh to MULTIPLE_COPYRIGHT_HEADERS Joel Brobecker
2022-01-01 15:12 ` [PATCH 5/6] Fix copyright header in gdb/testsuite/gdb.arch/powerpc-power10.exp Joel Brobecker
2022-01-01 15:12 ` [PATCH 6/6] Update Copyright year " Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).