From a8ab094a329bd2d212f17485b24ad84fa409b546 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 14 Feb 2022 08:26:32 -0700 Subject: Move copyright code from gdbarch.py to new file This moves the copyright code from gdbarch.py to a new Python source file, gdbcopyright.py. The function in this file will find the copyright dates by scanning the calling script. This will be reused in a future patch. This involved minor changes to the output of gdbarch.py. Also, I've updated copyright.py to remove the reference to gdbarch.sh. We don't need to mention gdbarch.py there, either. --- gdb/gdbarch-gen.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gdb/gdbarch-gen.h') diff --git a/gdb/gdbarch-gen.h b/gdb/gdbarch-gen.h index d9d81b7..b7beb73 100644 --- a/gdb/gdbarch-gen.h +++ b/gdb/gdbarch-gen.h @@ -20,7 +20,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -/* This file was created with the aid of ``gdbarch.py''. */ +/* To regenerate this file, run: + ./gdbarch.py +*/ -- cgit v1.1