]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix copyright years in gdbarch.h and gdbarch.c.
authorJoel Brobecker <brobecker@gnat.com>
Wed, 19 Dec 2012 08:20:43 +0000 (08:20 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 19 Dec 2012 08:20:43 +0000 (08:20 +0000)
copyright.py was updating gdbarch.sh' copyright years, but not
the function that genarates the copyright headers for gdbarch.[hc].

This patch makes the following changes:
  - fixes gdbarch.sh and regenerates gdbarch.[hc]

  - Modify copyright.py to remind the user to update gdbarch.sh
    by hand.  This should also remind the user to rerun the script
    and update gdbarch.[hc] - see next point;

  - Allow copyright.py to update gdbarch.[hc]'c copyright years,
    even though these are generated files;  This should free
    the user from having to update gdbarch.[hc] himself;

gdb/ChangeLog:

        * gdbarch.sh (copyright): Update copyright years.
        * gdbarch.h, gdbarch.c: Regenerate.
        * copyright.py (EXCLUDE_LIST): Remove gdbarch.h and gdbarch.c.
        (MULTIPLE_COPYRIGHT_HEADERS): Add 'gdb/gdbarch.sh'.

gdb/ChangeLog
gdb/copyright.py
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh

index fb571f502391de3e410ec06e2257fdba995f5b30..20518f7ea0c6f38e0d6c4345ea053726f433676c 100644 (file)
@@ -1,3 +1,10 @@
+2012-12-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbarch.sh (copyright): Update copyright years.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * copyright.py (EXCLUDE_LIST): Remove gdbarch.h and gdbarch.c.
+       (MULTIPLE_COPYRIGHT_HEADERS): Add 'gdb/gdbarch.sh'.
+
 2012-12-19  Joel Brobecker  <brobecker@adacore.com>
 
        * acinclude.m4: Update contact info in copyright notice.
index 8bf058a33eaa63abf645e14fd9edd70318daa5fe..eec6924cd46e381f01777147369c8109fca3796f 100644 (file)
@@ -172,7 +172,6 @@ def main ():
 # Filenames are relative to the root directory.
 EXCLUDE_LIST = (
     'gdb/CONTRIBUTE',
-    'gdb/gdbarch.c', 'gdb/gdbarch.h',
     'gdb/gnulib'
 )
 
@@ -202,6 +201,7 @@ BY_HAND = (
 MULTIPLE_COPYRIGHT_HEADERS = (
     "gdb/doc/gdb.texinfo",
     "gdb/doc/refcard.tex",
+    "gdb/gdbarch.sh",
 )
 
 # The list of file which have a copyright, but not head by the FSF.
index e15f911d950da41ced9800f0daa88024b2250b47..ce2b41b9ab2894bb7270bcebcd283b98d514481c 100644 (file)
@@ -3,8 +3,7 @@
 
 /* Dynamic architecture support for GDB, the GNU debugger.
 
-   Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
-   2007, 2008, 2009 Free Software Foundation, Inc.
+   Copyright (C) 1998-2012 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
index 63157fbac929dbc449cb1888c079d39ce0a8c5e0..033d536d80833bed7401242f63875a72e2cc70ac 100644 (file)
@@ -3,8 +3,7 @@
 
 /* Dynamic architecture support for GDB, the GNU debugger.
 
-   Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
-   2007, 2008, 2009 Free Software Foundation, Inc.
+   Copyright (C) 1998-2012 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
index 6d7a578d69de615b7201ef57f6f0788ac2573c2a..ec825090f8c3025b22f1da8d31cad56cb52898ba 100755 (executable)
@@ -1018,8 +1018,7 @@ cat <<EOF
 
 /* Dynamic architecture support for GDB, the GNU debugger.
 
-   Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
-   2007, 2008, 2009 Free Software Foundation, Inc.
+   Copyright (C) 1998-2012 Free Software Foundation, Inc.
 
    This file is part of GDB.