4 Commits

Author SHA1 Message Date
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
c3f340f752 gdbarch-components.py: change empty "params" tuples to empty lists
During review, it was suggested to change the "params" parameter from a
tuple to a list, for esthetic reasons.  The empty ones are still tuples
though, they should probably be changed to be empty lists, for
consistency.  It does not change anything in the script result.

Change-Id: If13c6c527aa167a5ee5b45740e5f1bda1e9517e4
2021-12-21 19:47:59 -05:00
166a12baea Document gdbarch-components.py
This adds a comment to document how to update gdbarch.
2021-12-17 15:07:09 -07:00
65b1aa7501 Generate new gdbarch-components.py from gdbarch.sh
The new gdbarch.sh approach will be to edit a Python file, rather than
adding a line to a certain part of gdbarch.sh.  We use the existing sh
code, though, to generate the first draft of this .py file.

Documentation on the format will come in a subsequent patch.

Note that some info (like "staticdefault") in the current code is
actually unused, and so is ignored by this new generator.
2021-12-17 15:07:09 -07:00