X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fcopyright.py;h=84ead523eeaa8ce754462c019e75c7e682d29790;hb=228c8f4be0c428369ec6b68e25696863d1e62ed7;hp=30ead5dd4b7c5ae6bd4d0b1c53ebed5d57a2c4d7;hpb=e23d4a9c473403eeda73b321da0276a6b590465f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/copyright.py b/gdb/copyright.py index 30ead5dd4b..84ead523ee 100644 --- a/gdb/copyright.py +++ b/gdb/copyright.py @@ -1,6 +1,6 @@ #! /usr/bin/env python -# Copyright (C) 2011-2012 Free Software Foundation, Inc. +# Copyright (C) 2011-2019 Free Software Foundation, Inc. # # This file is part of GDB. # @@ -150,11 +150,20 @@ def main (): update_files (update_list) # Remind the user that some files need to be updated by HAND... + + if MULTIPLE_COPYRIGHT_HEADERS: + print + print("\033[31m" + "REMINDER: Multiple copyright headers must be updated by hand:" + "\033[0m") + for filename in MULTIPLE_COPYRIGHT_HEADERS: + print " ", filename + if BY_HAND: print print "\033[31mREMINDER: The following files must be updated by hand." \ "\033[0m" - for filename in BY_HAND + MULTIPLE_COPYRIGHT_HEADERS: + for filename in BY_HAND: print " ", filename ############################################################################ @@ -171,9 +180,9 @@ def main (): # # Filenames are relative to the root directory. EXCLUDE_LIST = ( + 'gdb/nat/glibc_thread_db.h', 'gdb/CONTRIBUTE', - 'gdb/gdbarch.c', 'gdb/gdbarch.h', - 'gdb/gnulib' + 'gdb/gnulib/import' ) # Files which should not be modified, either because they are @@ -191,9 +200,7 @@ EXCLUDE_ALL_LIST = ( # The list of files to update by hand. BY_HAND = ( - # These files are sensitive to line numbering. - "gdb/testsuite/gdb.base/step-line.inp", - "gdb/testsuite/gdb.base/step-line.c", + # Nothing at the moment :-). ) # Files containing multiple copyright headers. This script is only @@ -202,13 +209,13 @@ 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. # Filenames are relative to the root directory. NOT_FSF_LIST = ( "gdb/exc_request.defs", - "gdb/osf-share", "gdb/gdbtk", "gdb/testsuite/gdb.gdbtk/", "sim/arm/armemu.h", "sim/arm/armos.c", "sim/arm/gdbhost.c", @@ -220,13 +227,9 @@ NOT_FSF_LIST = ( "sim/arm/bag.c", "sim/arm/armvirt.c", "sim/arm/main.c", "sim/arm/bag.h", "sim/arm/communicate.c", "sim/arm/gdbhost.h", "sim/arm/armfpe.h", "sim/arm/arminit.c", - "sim/common/cgen-fpu.c", "sim/common/cgen-fpu.h", "sim/common/cgen-fpu.h", - "sim/common/cgen-accfp.c", "sim/common/sim-fpu.c", - "sim/erc32/sis.h", "sim/erc32/erc32.c", "sim/erc32/func.c", - "sim/erc32/float.c", "sim/erc32/interf.c", "sim/erc32/sis.c", - "sim/erc32/exec.c", + "sim/common/cgen-fpu.c", "sim/common/cgen-fpu.h", + "sim/common/cgen-accfp.c", "sim/mips/m16run.c", "sim/mips/sim-main.c", - "sim/mn10300/sim-main.h", "sim/moxie/moxie-gdb.dts", # Not a single file in sim/ppc/ appears to be copyright FSF :-(. "sim/ppc/filter.h", "sim/ppc/gen-support.h", "sim/ppc/ld-insn.h",