3 Commits

Author SHA1 Message Date
2da76ea456 Manual copyright year update of various GDB files
This commit updates the copyright year in some files where
we have a copyright year outside of the copyright year,
and thus are not included in gdb's copyright.py script.
2022-01-01 19:13:23 +04:00
4a94e36819 Automatic Copyright Year update after running gdb/copyright.py
This commit brings all the changes made by running gdb/copyright.py
as per GDB's Start of New Year Procedure.

For the avoidance of doubt, all changes in this commits were
performed by the script.
2022-01-01 19:13:23 +04:00
7c8bb2ed1c Add new gdbarch generator
The new gdbarch generator is a Python program.  It reads the
"components.py" that was created in the previous patch, and generates
gdbarch.c and gdbarch-gen.h.

This is a relatively straightforward translation of the existing .sh
code.  It doesn't try very hard to be idiomatic Python or to be
especially smart.

It is, however, incredibly faster:

    $ time ./gdbarch.sh

    real	0m8.197s
    user	0m5.779s
    sys	0m3.384s

    $ time ./gdbarch.py

    real	0m0.065s
    user	0m0.053s
    sys	0m0.011s

Co-Authored-By: Tom Tromey <tom@tromey.com>
2021-12-17 15:07:09 -07:00