diff options
author | Joel Brobecker <brobecker@adacore.com> | 2021-01-01 11:56:12 +0400 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2021-01-01 12:20:52 +0400 |
commit | 18b166df9fbf15c54d88f1801e584a5c1847083d (patch) | |
tree | 0bcc8a2bc6691a7cbfc7372930f2ba78c95ca409 | |
parent | 16d2343d4e0abd650c752f329022f0733b65c04c (diff) | |
download | gdb-18b166df9fbf15c54d88f1801e584a5c1847083d.zip gdb-18b166df9fbf15c54d88f1801e584a5c1847083d.tar.gz gdb-18b166df9fbf15c54d88f1801e584a5c1847083d.tar.bz2 |
gdb/copyright.py: Also update sources in "gdbserver" and "gdbsupport"
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.
(cherry picked from commit ff7e39b613503fa5d7417e284ee2549117efdb91)
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/copyright.py | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a9b18f4..4892f80 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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. 2020-12-09 Simon Marchi <simon.marchi@polymtl.ca> diff --git a/gdb/copyright.py b/gdb/copyright.py index 6fc7e1f..ad3c129 100644 --- a/gdb/copyright.py +++ b/gdb/copyright.py @@ -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) |