This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] gdb/copyright.py: Remove testsuite/gdb.base/step-line.{c, inp} special handling


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1690bb24d855c387211f7bc5a77334c11cc75f4b

commit 1690bb24d855c387211f7bc5a77334c11cc75f4b
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Mon Jan 1 08:18:16 2018 +0400

    gdb/copyright.py: Remove testsuite/gdb.base/step-line.{c,inp} special handling
    
    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.

Diff:
---
 gdb/ChangeLog    | 5 +++++
 gdb/copyright.py | 4 +---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 27f7c7f..96cc88d 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 bb21b21..119f69f 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]