2 Commits

Author SHA1 Message Date
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