Commit | Line | Data |
---|---|---|
b786c521 PM |
1 | #!/bin/sh |
2 | ||
3 | # GDB script to create list of files to check using gdb_ari.sh. | |
4 | # | |
618f726f | 5 | # Copyright (C) 2003-2016 Free Software Foundation, Inc. |
b786c521 PM |
6 | # |
7 | # This file is part of GDB. | |
8 | # | |
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. | |
13 | # | |
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. | |
18 | # | |
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/>. | |
21 | ||
22 | # Make certain that the script is not running in an internationalized | |
23 | # environment. | |
24 | ||
25 | LANG=C ; export LANG | |
26 | LC_ALL=C ; export LC_ALL | |
27 | ||
28 | ||
29 | # A find that prunes files that GDB users shouldn't be interested in. | |
30 | # Use sort to order files alphabetically. | |
31 | ||
32 | find "$@" \ | |
33 | -name testsuite -prune -o \ | |
34 | -name gdbserver -prune -o \ | |
84f13595 | 35 | -name gdbtk -prune -o \ |
b786c521 | 36 | -name gnulib -prune -o \ |
b786c521 PM |
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 |