mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
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 ff7e39b613)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user