aboutsummaryrefslogtreecommitdiff
path: root/gdb/copyright.py
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-12-19 08:20:43 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-12-19 08:20:43 +0000
commitbf6be9db918c861cb7cc2b69ac0a08227b9b1708 (patch)
tree3894811dac6ffa2cfb3d22fb1fbc43f3685c3d11 /gdb/copyright.py
parent7785b8804f92599e62d52fb8cf61c7b5553ae2a3 (diff)
downloadgdb-bf6be9db918c861cb7cc2b69ac0a08227b9b1708.zip
gdb-bf6be9db918c861cb7cc2b69ac0a08227b9b1708.tar.gz
gdb-bf6be9db918c861cb7cc2b69ac0a08227b9b1708.tar.bz2
Fix copyright years in gdbarch.h and gdbarch.c.
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'.
Diffstat (limited to 'gdb/copyright.py')
-rw-r--r--gdb/copyright.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/copyright.py b/gdb/copyright.py
index 8bf058a..eec6924 100644
--- a/gdb/copyright.py
+++ b/gdb/copyright.py
@@ -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.