aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2025-08-14 16:13:01 -0400
committerSimon Marchi <simon.marchi@efficios.com>2025-08-22 14:56:28 -0400
commit8feea8c5d8cc2573da61fee3fd42cf3392ec0f0e (patch)
treeb2d6822bafebce03fedb664c3f5226224b61ac51
parente771abf8ff88a5d98b8960a7ea49708b9ec42521 (diff)
downloadbinutils-8feea8c5d8cc2573da61fee3fd42cf3392ec0f0e.zip
binutils-8feea8c5d8cc2573da61fee3fd42cf3392ec0f0e.tar.gz
binutils-8feea8c5d8cc2573da61fee3fd42cf3392ec0f0e.tar.bz2
gdb/copyright.py: print notice about files that print copyright at runtime
During the last new year process, it seems that we forgot to update the copyright notices printed by the various programs (see 713b99a9398 "gdb, gdbserver: update copyright years in copyright notices"). Change gdb/copyright.py to print a message about this. For a procedure that happens once a year, this seems sufficient to me, but if someone wants to automate it I won't object. While at it, change the formatting of the previous message, to match the formatting of the first message (making it end with a colon). Change-Id: I330f566221d102bab0a953bc324127f2466dd5cf Approved-By: Tom Tromey <tom@tromey.com>
-rwxr-xr-xgdb/copyright.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/gdb/copyright.py b/gdb/copyright.py
index bd854dc..425b7d2 100755
--- a/gdb/copyright.py
+++ b/gdb/copyright.py
@@ -191,11 +191,20 @@ def main(argv: list[str]) -> int | None:
if BY_HAND:
print()
print(
- "\033[31mREMINDER: The following files must be updated by hand." "\033[0m"
+ "\033[31mREMINDER: The following files must be updated by hand:" "\033[0m"
)
for filename in BY_HAND:
print(" ", filename)
+ print()
+ print(
+ "\033[31mREMINDER: The following files contain code to print a copyright "
+ "notice at runtime, they must be updated by hand:\033[0m"
+ )
+ print(" gdb/top.c")
+ print(" gdbserver/gdbreplay.cc")
+ print(" gdbserver/server.cc")
+
############################################################################
#