gdb: use dynamic year in update-freebsd.sh
authorEnze Li <enze.li@hotmail.com>
Wed, 1 Feb 2023 13:26:11 +0000 (21:26 +0800)
committerEnze Li <enze.li@hotmail.com>
Tue, 28 Mar 2023 14:02:19 +0000 (22:02 +0800)
commit357bff173eb9b1d055df5158f3e5214e2bf6c19e
tree52558070e375be4727893591c1fc4e55754d71c9
parent134ec14b1502f30f0028293b35f57c18e44614d0
gdb: use dynamic year in update-freebsd.sh

When running update-freebsd.sh on FreeBSD, I see the following
modification in freebsd.xml,

-<!-- Copyright (C) 2009-2023 Free Software Foundation, Inc.
+<!-- Copyright (C) 2009-2020 Free Software Foundation, Inc.

It means that each time, when we running the update-freebsd.sh on
FreeBSD, we have to correct the year of copyright manually. So fix this
issue by using dynamic year.

Tested by regenerating freebsd.xml on FreeBSD/amd64.

Reviewed-By: John Baldwin <jhb@FreeBSD.org>
Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/syscalls/update-freebsd.sh