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:02:34 +0400 |
commit | ff7e39b613503fa5d7417e284ee2549117efdb91 (patch) | |
tree | ae7a0335ccc77a25aa3e03f637e2c1bd67179350 /gdb/copyright.py | |
parent | 2b47c078fd49164af654744cef9bb8135069199b (diff) | |
download | binutils-gdb-ff7e39b613503fa5d7417e284ee2549117efdb91.tar.gz |
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.
Diffstat (limited to 'gdb/copyright.py')
-rw-r--r-- | gdb/copyright.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/copyright.py b/gdb/copyright.py index 6fc7e1f461a..ad3c129ae5b 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) |