#! /usr/bin/env python
-# Copyright (C) 2011-2013 Free Software Foundation, Inc.
+# Copyright (C) 2011-2019 Free Software Foundation, Inc.
#
# This file is part of GDB.
#
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
############################################################################
#
# Filenames are relative to the root directory.
EXCLUDE_LIST = (
- 'gdb/common/glibc_thread_db.h',
+ 'gdb/nat/glibc_thread_db.h',
'gdb/CONTRIBUTE',
'gdb/gnulib/import'
)
# 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
"sim/arm/arminit.c",
"sim/common/cgen-fpu.c", "sim/common/cgen-fpu.h",
"sim/common/cgen-accfp.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/mips/m16run.c", "sim/mips/sim-main.c",
"sim/moxie/moxie-gdb.dts",
# Not a single file in sim/ppc/ appears to be copyright FSF :-(.