# All the components created in gdbarch-components.py.
components = []
+
def join_type_and_name(t, n):
"Combine the type T and the name N into a C declaration."
if t.endswith("*") or t.endswith("&"):
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
def copyright(tool, description):
# Search the tool source itself for the correct copyright years.
- with open(tool, 'r') as f:
+ with open(tool, "r") as f:
for line in f:
- if line.startswith('# Copyright (C) '):
+ if line.startswith("# Copyright (C) "):
dateline = line[1:].strip()
break
return f"""/* *INDENT-OFF* */ /* THIS FILE IS GENERATED -*- buffer-read-only: t -*- */