gdb/copyright.py: Also update sources in "gdbserver" and "gdbsupport"
authorJoel Brobecker <brobecker@adacore.com>
Fri, 1 Jan 2021 07:56:12 +0000 (11:56 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Fri, 1 Jan 2021 08:02:34 +0000 (12:02 +0400)
This commit adjusts GDB's copyright.py script, following two past changes:
  - gdb/gdbserver/ being move to the toplevel directory;
  - gdb/common/ being renamed to gdbsupport/.

gdb/ChangeLog:

        * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
        to the list of directories to update.

gdb/ChangeLog
gdb/copyright.py

index 558094a2903fcf77677201b503d9fd8770dde0e6..c0a68b23a7687885dd301d5be868ce4f05b475f2 100644 (file)
@@ -1,3 +1,8 @@
+2021-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
+       to the list of directories to update.
+
 2021-01-01  Joel Brobecker  <brobecker@adacore.com>
 
        * top.c (print_gdb_version): Update copyright year.
index 6fc7e1f461a4b6e179cd8c9583421290d25dc28d..ad3c129ae5ba278477d08da419ff13f61a2abba6 100644 (file)
@@ -46,7 +46,9 @@ def get_update_list():
     the files are relative to that root directory.
     """
     result = []
-    for gdb_dir in ('gdb', 'gnulib', 'sim', 'include/gdb'):
+    for gdb_dir in (
+        'gdb', 'gdbserver', 'gdbsupport', 'gnulib', 'sim', 'include/gdb',
+    ):
         for root, dirs, files in os.walk(gdb_dir, topdown=True):
             for dirname in dirs:
                 reldirname = "%s/%s" % (root, dirname)