This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 4/5] gdb/copyright.py: Remove testsuite/gdb.base/step-line.{c,inp} special handling
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 1 Jan 2018 08:48:00 +0400
- Subject: [PATCH 4/5] gdb/copyright.py: Remove testsuite/gdb.base/step-line.{c,inp} special handling
- Authentication-results: sourceware.org; auth=none
- References: <20180101044801.7201-1-brobecker@adacore.com>
In the past, these files needed to be handled by hand, because
the testcase was sensitive to the length of the header, which was
potentially changing when new copyright years were added to
the copyright header. Now that we simply maintain and update
a range, the length of the copyright header should not change
as a consequence of the update performed by this script, so
special handling of those files is no longer necessary.
gdb/ChangeLog:
* copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
and gdb/testsuite/gdb.base/step-line.c.
---
gdb/ChangeLog | 5 +++++
gdb/copyright.py | 4 +---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 27f7c7ffee..96cc88d658 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2018-01-01 Joel Brobecker <brobecker@adacore.com>
+ * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
+ and gdb/testsuite/gdb.base/step-line.c.
+
+2018-01-01 Joel Brobecker <brobecker@adacore.com>
+
* copyright.py (main): Dump the contents of
MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND,
even if BY_HAND is empty.
diff --git a/gdb/copyright.py b/gdb/copyright.py
index bb21b21601..119f69f9e3 100644
--- a/gdb/copyright.py
+++ b/gdb/copyright.py
@@ -200,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
--
2.11.0