diff options
author | Tom Tromey <tromey@adacore.com> | 2022-02-14 08:26:32 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-03-02 09:11:30 -0700 |
commit | a8ab094a329bd2d212f17485b24ad84fa409b546 (patch) | |
tree | f7f19c91cb4cbb0a8c46bf403b86850bd489cbe9 /gdb/gdbarch.c | |
parent | aca6e93ecf8d628bcdc52130d8d5417954b0f1cb (diff) | |
download | gdb-a8ab094a329bd2d212f17485b24ad84fa409b546.zip gdb-a8ab094a329bd2d212f17485b24ad84fa409b546.tar.gz gdb-a8ab094a329bd2d212f17485b24ad84fa409b546.tar.bz2 |
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.c')
-rw-r--r-- | gdb/gdbarch.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 3f7a1e3..55dd602 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -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 +*/ /* Maintain the struct gdbarch object. */ |