Update copyright year range in header of all files managed by GDB
[binutils-gdb.git] / gdb / contrib / ari / gdb_find.sh
blob56b4fc2f6b108fc5a6d8ce92c5c2ca43c9e3dcfe
1 #!/bin/sh
3 # GDB script to create list of files to check using gdb_ari.sh.
5 # Copyright (C) 2003-2023 Free Software Foundation, Inc.
7 # This file is part of GDB.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program. If not, see <http://www.gnu.org/licenses/>.
22 # Make certain that the script is not running in an internationalized
23 # environment.
25 LANG=C ; export LANG
26 LC_ALL=C ; export LC_ALL
29 # A find that prunes files that GDB users shouldn't be interested in.
30 # Use sort to order files alphabetically.
32 find "$@" \
33 -name testsuite -prune -o \
34 -name gdbserver -prune -o \
35 -name gdbtk -prune -o \
36 -name gnulib -prune -o \
37 -name '*-stub.c' -prune -o \
38 -name '*-exp.c' -prune -o \
39 -name ada-lex.c -prune -o \
40 -name cp-name-parser.c -prune -o \
41 -type f -name '*.[lyhc]' -print | sort