[PUSHED] gdb: Update copyright year range generated by gdbarch.sh

Message ID 20190222201711.1699-1-andrew.burgess@embecosm.com
State New, archived
Headers

Commit Message

Andrew Burgess Feb. 22, 2019, 8:17 p.m. UTC
  The copyright year that gdbarch.sh places into the generated files
gdbarch.{c,h} wasn't updated at the start of the year.  After this
commit the gdbarch.{c,h} files regenerate as the currently are in the
tree.

gdb/ChangeLog:

	* gdbarch.sh: Update the copyright year range that is placed into
	generated files.
---
 gdb/ChangeLog  | 5 +++++
 gdb/gdbarch.sh | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
  

Comments

Kevin Buettner Feb. 22, 2019, 11:18 p.m. UTC | #1
On Fri, 22 Feb 2019 20:17:11 +0000
Andrew Burgess <andrew.burgess@embecosm.com> wrote:

> The copyright year that gdbarch.sh places into the generated files
> gdbarch.{c,h} wasn't updated at the start of the year.  After this
> commit the gdbarch.{c,h} files regenerate as the currently are in the
> tree.

The patch and ChangeLog entry look good, but I'm having trouble
parsing the latter half of the final sentence in your commit message,
above.

Kevin
  
Joel Brobecker Feb. 23, 2019, 12:30 p.m. UTC | #2
Hi Andrew,

> The copyright year that gdbarch.sh places into the generated files
> gdbarch.{c,h} wasn't updated at the start of the year.  After this
> commit the gdbarch.{c,h} files regenerate as the currently are in the
> tree.
> 
> gdb/ChangeLog:
> 
> 	* gdbarch.sh: Update the copyright year range that is placed into
> 	generated files.

Thanks for doing that.

I must have missed the clear reminder that the script prints for me:

    | REMINDER: Multiple copyright headers must be updated by hand:
    |    gdb/doc/gdb.texinfo
    |    gdb/doc/refcard.tex
    |    gdb/gdbarch.sh

This allowed me to realize that there were two other files I missed.
I am pushing a patch as we speak, and will send the usual email
about that.

Thanks again!
  

Patch

diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
index afc4da7cdd1..d53bbcc2ff4 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -1227,7 +1227,7 @@  cat <<EOF
 
 /* Dynamic architecture support for GDB, the GNU debugger.
 
-   Copyright (C) 1998-2018 Free Software Foundation, Inc.
+   Copyright (C) 1998-2019 Free Software Foundation, Inc.
 
    This file is part of GDB.