From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2205) id 194563882AC6; Tue, 18 Jun 2024 15:25:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 194563882AC6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1718724328; bh=l2hmQ1HjmrWZQB6nDm8DpfQKt+bS1gKvkSyRkAjDDu4=; h=From:To:Subject:Date:From; b=TsidrSc1xFt195UxTUT4vTXY9oPPqyMCKVs8tWnjAykFFIJpogv1+AlP7WZ5UomaG 7Y7LgQcvRA5cPowSnXSBk0tT1qANjdMiKzFPSFU59t43abCm0anIJzSq6eRfRrR68g v8tW/Dlare07gT/2RakVC33XLFr9Ti07M8K8j/ZI= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom de Vries To: gdb-cvs@sourceware.org Subject: [binutils-gdb] [gdb/build] Add GPL header comment to gdb/features/feature_to_c.awk X-Act-Checkin: binutils-gdb X-Git-Author: Tom de Vries X-Git-Refname: refs/heads/master X-Git-Oldrev: 2fa4b6e6df05990365066a0b286322502778d530 X-Git-Newrev: 3465822f1475ea12f924fa5660dd105ae4bc7fff Message-Id: <20240618152528.194563882AC6@sourceware.org> Date: Tue, 18 Jun 2024 15:25:28 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D3465822f1475= ea12f924fa5660dd105ae4bc7fff commit 3465822f1475ea12f924fa5660dd105ae4bc7fff Author: Tom de Vries Date: Tue Jun 18 17:26:22 2024 +0200 [gdb/build] Add GPL header comment to gdb/features/feature_to_c.awk =20 Commit 97033da5070 ("[gdb/build] Cleanup gdb/features/feature_to_c.sh") factored out new file gdb/features/feature_to_c.awk out of gdb/features/feature_to_c.sh, but failed to add the GPL header comment,= so add this now. =20 Tested on x86_64-linux. Diff: --- gdb/features/feature_to_c.awk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gdb/features/feature_to_c.awk b/gdb/features/feature_to_c.awk index 42b9900f206..ae866fe20b2 100644 --- a/gdb/features/feature_to_c.awk +++ b/gdb/features/feature_to_c.awk @@ -1,3 +1,20 @@ +# Copyright (C) 2007-2024 Free Software Foundation, Inc. +# +# This file is part of GDB. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + BEGIN { n =3D 0 printf "static const char %s[] =3D {\n", arrayname for (i =3D 0; i < 255; i++)