* config/tc-mips.c (gp_reference): Certain magic symbols can never
[deliverable/binutils-gdb.git] / gdb / .Sanitize
CommitLineData
f4240b08 1# .Sanitize for devo/gdb.
eeadf5c2
RP
2
3# Each directory to survive it's way into a release will need a file
4# like this one called "./.Sanitize". All keyword lines must exist,
5# and must exist in the order specified by this file. Each directory
6# in the tree will be processed, top down, in the following order.
7
8# Hash started lines like this one are comments and will be deleted
9# before anything else is done. Blank lines will also be squashed
10# out.
11
12# The lines between the "Do-first:" line and the "Things-to-keep:"
13# line are executed as a /bin/sh shell script before anything else is
14# done in this
15
16Do-first:
17
19cfe25d 18if ( echo $* | grep keep\-chill > /dev/null ) ; then
a8a69e63 19 keep_these_too="ch-exp.y ch-lang.c ch-lang.h ch-typeprint.c ch-valprint.c"
19cfe25d
FF
20fi
21
eeadf5c2
RP
22# All files listed between the "Things-to-keep:" line and the
23# "Files-to-sed:" line will be kept. All other files will be removed.
24# Directories listed in this section will have their own Sanitize
25# called. Directories not listed will be removed in their entirety
26# with rm -rf.
27
28Things-to-keep:
29
30.gdbinit
a96c3444 3129k-share
eeadf5c2
RP
32COPYING
33ChangeLog
34ChangeLog-3.x
ee799e2a 35ChangeLog-9091
bdf3621b 36Makefile.in
ddce75e0 37NEWS
eeadf5c2
RP
38Projects
39README
40TODO
124a6fc0 41a68v-nat.c
eeadf5c2
RP
42alldeps.mak
43alloca.c
44altos-xdep.c
eeadf5c2
RP
45am29k-pinsn.c
46am29k-tdep.c
eeadf5c2 47arm-convert.s
eeadf5c2
RP
48arm-pinsn.c
49arm-tdep.c
50arm-xdep.c
51blockframe.c
52breakpoint.c
53breakpoint.h
2ce38c6d
JG
54buildsym.c
55buildsym.h
56d921a8 56c-exp.y
22e39759
FF
57c-lang.c
58c-lang.h
a8a69e63
FF
59c-typeprint.c
60c-valprint.c
be772100 61call-cmds.h
eeadf5c2
RP
62coffread.c
63command.c
64command.h
51b80b00
FF
65complaints.c
66complaints.h
f187c3a4 67config
eeadf5c2
RP
68configure.in
69convex-pinsn.c
70convex-tdep.c
71convex-xdep.c
eeadf5c2
RP
72copying.awk
73copying.c
74core.c
75coredep.c
dfc82617 76corelow.c
a8a69e63 77cp-valprint.c
eeadf5c2
RP
78createtags
79dbxread.c
80defs.h
2dbde378 81demangle.c
55b32c02 82depend
eeadf5c2 83doc
6fccdaf4
FF
84dwarfread.c
85elfread.c
eeadf5c2
RP
86environ.c
87environ.h
88eval.c
89exec.c
90expprint.c
eeadf5c2
RP
91expression.h
92findvar.c
e745abe5 93fork-child.c
eeadf5c2 94frame.h
5c5b5d4b 95gcc.patch
ed7c0948 96gdb-stabs.h
0857b46a 97gdb.1
eeadf5c2
RP
98gdbcmd.h
99gdbcore.h
a1f596f4
FF
100gdbtypes.c
101gdbtypes.h
ae0ea72e 102go32-xdep.c
eeadf5c2
RP
103gould-pinsn.c
104gould-xdep.c
0a8ed751 105h8300-tdep.c
5cd0940a 106h8500-tdep.c
b1de302a 107hp300ux-nat.c
76b731f9 108hppa-pinsn.c
3b0d8c28 109hppab-core.c
ca048722 110hppab-nat.c
3b0d8c28 111hppab-tdep.c
ca048722 112hppah-nat.c
3b0d8c28 113hppah-tdep.c
eeadf5c2
RP
114i386-pinsn.c
115i386-stub.c
116i386-tdep.c
0e35d2f3 117i386b-nat.c
a113beac 118i386mach-nat.c
c7c94073 119i386v-nat.c
4d0eabff 120i386v4-nat.c
56d921a8 121i387-tdep.c
eeadf5c2
RP
122i960-pinsn.c
123i960-tdep.c
eeadf5c2
RP
124infcmd.c
125inferior.h
126inflow.c
127infptrace.c
128infrun.c
eeadf5c2 129inftarg.c
a70dc898 130irix4-nat.c
eeadf5c2 131kdb-start.c
56d921a8
JG
132language.c
133language.h
134m2-exp.y
22e39759
FF
135m2-lang.c
136m2-lang.h
a8a69e63
FF
137m2-typeprint.c
138m2-valprint.c
eeadf5c2
RP
139m68k-pinsn.c
140m68k-stub.c
141m68k-tdep.c
173a4f1b 142m88k-nat.c
eeadf5c2
RP
143m88k-pinsn.c
144m88k-tdep.c
eeadf5c2 145main.c
0239d9b3 146maint.c
eeadf5c2 147mem-break.c
1111151a 148minimon.h
a1f596f4 149minsyms.c
a70dc898 150mips-nat.c
eeadf5c2
RP
151mips-pinsn.c
152mips-tdep.c
eeadf5c2 153mipsread.c
eeadf5c2
RP
154munch
155news-xdep.c
156nindy-share
157nindy-tdep.c
eeadf5c2
RP
158ns32k-opcode.h
159ns32k-pinsn.c
a1f596f4 160objfiles.c
5e2e79f8 161objfiles.h
e4dd52dd 162paread.c
56d921a8
JG
163parse.c
164parser-defs.h
7e258d18 165partial-stab.h
eeadf5c2 166printcmd.c
6fccdaf4 167procfs.c
eeadf5c2 168putenv.c
eeadf5c2
RP
169pyr-pinsn.c
170pyr-tdep.c
171pyr-xdep.c
172regex.c
173regex.h
174rem-multi.shar
1111151a 175remote-adapt.c
eeadf5c2 176remote-eb.c
ddce75e0 177remote-es1800.c
d93b79d9 178remote-hms.c
c2a0f1cb 179remote-mips.c
1111151a 180remote-mm.c
eeadf5c2 181remote-nindy.c
ec25d19b 182remote-sim.c
6c7e40b4 183remote-st2000.c
e4dd52dd 184remote-udi.c
eeadf5c2 185remote-vx.c
2aedd91e 186remote-z8k.c
eeadf5c2 187remote.c
dc48694c 188rs6000-nat.c
6373dbe3
JG
189rs6000-pinsn.c
190rs6000-tdep.c
eeadf5c2 191saber.suppress
6c7e40b4 192ser-bsd.c
ddce75e0
DHW
193ser-go32.c
194ser-termios.c
195serial.h
eeadf5c2 196signals.h
eeadf5c2 197solib.c
a1f596f4 198solib.h
eeadf5c2 199source.c
dfc82617 200sparc-nat.c
eeadf5c2 201sparc-pinsn.c
c9715956 202sparc-stub.c
eeadf5c2 203sparc-tdep.c
a96c3444 204sparclite
d07734e3
FF
205stabsread.c
206stabsread.h
eeadf5c2
RP
207stack.c
208standalone.c
eeadf5c2 209stuff.c
dc48694c 210sun3-nat.c
61bbb1c2 211sun386-nat.c
eeadf5c2
RP
212symfile.c
213symfile.h
214symm-tdep.c
215symm-xdep.c
216symmisc.c
217symtab.c
218symtab.h
eeadf5c2
RP
219tahoe-pinsn.c
220target.c
221target.h
eeadf5c2 222terminal.h
a2df03aa 223testsuite
a8a69e63
FF
224typeprint.c
225typeprint.h
6bf98ac0 226ultra3-nat.c
1111151a 227ultra3-xdep.c
eeadf5c2
RP
228umax-xdep.c
229utils.c
230valarith.c
231valops.c
232valprint.c
a8a69e63 233valprint.h
eeadf5c2
RP
234value.h
235values.c
eeadf5c2
RP
236vax-pinsn.c
237vx-share
6373dbe3
JG
238xcoffexec.c
239xcoffread.c
1eeba686
PB
240xcoffsolib.c
241xcoffsolib.h
2aedd91e 242z8k-tdep.c
eeadf5c2 243
f747d259 244# Things which are explicitly *not* kept, for now.
743b663c
FF
245# ch-exp.y - Part of chill support.
246# ch-lang.c - Part of chill support.
247# ch-lang.h - Part of chill support.
248# ch-typeprint.c - Part of chill support.
249# ch-valprint.c - Part of chill support.
250# energize - Part of Lucid support.
251# energize-patches - Part of Lucid support.
252# energize.c - Part of Lucid support.
253# energize.h - Part of Lucid support.
254# infrun.hacked.c - Beats me...
255# monitor.h - ?
256# remote-monitor.c - ?
257# remote-sa.sparc.c - ?
258# state.c - Not used at the moment, keep for reference (fnf)
259# state.h - Not used at the moment, keep for reference (fnf)
260# tests - ?
f747d259 261
eeadf5c2
RP
262Do-last:
263
19cfe25d
FF
264echo Thawing away the \"chill\"...
265
266# Don't try to clean directories here, as the 'mv' command will fail.
267# Also, grep fails on NFS mounted directories.
268if ( echo $* | grep keep\-chill > /dev/null ) ; then
269 for i in * ; do
270 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
271 echo Keeping chill stuff in $i
272 fi
273 done
274else
275 for i in * ; do
276 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
277 echo Thawing the \"chill\" out of $i...
278 cp $i new
279 sed '/start\-sanitize\-chill/,/end-\sanitize\-chill/d' < $i > new
280 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
281 echo Caching $i in .Recover...
282 mv $i .Recover
283 fi
284 mv new $i
285 fi
286 done
287 echo Thawing the \"chill\" out of Makefile.in...
288 cp Makefile.in new
3825dfe8
FF
289 sed -e 's/$(srcdir)\/ch-exp.y//g' \
290 -e 's/${srcdir}\/ch-exp.y//g' \
19cfe25d
FF
291 -e 's/ch-exp.y//g' \
292 -e 's/ch-exp.tab.c//g' \
293 -e 's/ch-exp.tab.o//g' \
22e39759
FF
294 -e 's/ch-lang.h//g' \
295 -e 's/ch-lang.c//g' \
296 -e 's/ch-lang.o//g' \
a8a69e63
FF
297 -e 's/ch-typeprint.c//g' \
298 -e 's/ch-typeprint.o//g' \
299 -e 's/ch-valprint.c//g' \
300 -e 's/ch-valprint.o//g' \
0a06f1bc 301 < Makefile.in > new
19cfe25d
FF
302 if [ -n "${safe}" -a ! -f .Recover/Makefile.in ] ; then
303 echo Caching Makefile.in in .Recover...
304 mv Makefile.in .Recover
305 fi
306 mv new Makefile.in
307fi
308
eeadf5c2 309# End of file.
This page took 0.166227 seconds and 4 git commands to generate.