summaryrefslogtreecommitdiff
path: root/gdb/gdbarch-gen.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-02-14 08:26:32 -0700
committerTom Tromey <tromey@adacore.com>2022-03-02 09:11:30 -0700
commita8ab094a329bd2d212f17485b24ad84fa409b546 (patch)
treef7f19c91cb4cbb0a8c46bf403b86850bd489cbe9 /gdb/gdbarch-gen.h
parentaca6e93ecf8d628bcdc52130d8d5417954b0f1cb (diff)
downloadbinutils-gdb-a8ab094a329bd2d212f17485b24ad84fa409b546.tar.gz
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.
Diffstat (limited to 'gdb/gdbarch-gen.h')
-rw-r--r--gdb/gdbarch-gen.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/gdbarch-gen.h b/gdb/gdbarch-gen.h
index d9d81b7d386..b7beb73d36d 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 <http://www.gnu.org/licenses/>. */
-/* This file was created with the aid of ``gdbarch.py''. */
+/* To regenerate this file, run:
+ ./gdbarch.py
+*/