]> Git Repo - binutils.git/blame_incremental - gdb/.Sanitize
* c-exp.y, m2-exp.y: Migrate code that has nothing to do with
[binutils.git] / gdb / .Sanitize
... / ...
CommitLineData
1# .Sanitize for devo/gdb.
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
18if ( echo $* | grep keep\-chill > /dev/null ) ; then
19 keep_these_too="ch-exp.y ch-lang.c ch-lang.h"
20fi
21
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
31COPYING
32ChangeLog
33ChangeLog-3.x
34ChangeLog-9091
35Convex.notes
36Makefile.in
37NEWS
38Projects
39README
40TODO
41a68v-nat.c
42alldeps.mak
43alloca.c
44altos-xdep.c
45am29k-opcode.h
46am29k-pinsn.c
47am29k-tdep.c
48arm-convert.s
49arm-pinsn.c
50arm-tdep.c
51arm-xdep.c
52blockframe.c
53breakpoint.c
54breakpoint.h
55buildsym.c
56buildsym.h
57c-exp.y
58c-lang.c
59c-lang.h
60call-cmds.h
61coffread.c
62command.c
63command.h
64config
65configure.in
66convex-pinsn.c
67convex-tdep.c
68convex-xdep.c
69convx-opcode.h
70copying.awk
71copying.c
72core.c
73coredep.c
74corelow.c
75createtags
76dbxread.c
77defs.h
78demangle.c
79depend
80doc
81dwarfread.c
82elfread.c
83environ.c
84environ.h
85eval.c
86exec.c
87expprint.c
88expression.h
89findvar.c
90fork-child.c
91frame.h
92gcc.patch
93gdb-stabs.h
94gdb.1
95gdbcmd.h
96gdbcore.h
97gdbtypes.c
98gdbtypes.h
99go32-nat.c
100go32-xdep.c
101gould-pinsn.c
102gould-xdep.c
103h8300-tdep.c
104hp300ux-nat.c
105hppa-pinsn.c
106hppab-core.c
107hppab-nat.c
108hppab-tdep.c
109hppah-nat.c
110hppah-tdep.c
111i386-pinsn.c
112i386-stub.c
113i386-tdep.c
114i386b-nat.c
115i386mach-nat.c
116i386v-nat.c
117i386v4-nat.c
118i387-tdep.c
119i960-pinsn.c
120i960-tdep.c
121ieee-float.c
122ieee-float.h
123infcmd.c
124inferior.h
125inflow.c
126infptrace.c
127infrun.c
128inftarg.c
129irix4-nat.c
130kdb-start.c
131language.c
132language.h
133m2-exp.y
134m2-lang.c
135m2-lang.h
136m68k-pinsn.c
137m68k-stub.c
138m68k-tdep.c
139m88k-nat.c
140m88k-pinsn.c
141m88k-tdep.c
142main.c
143maint.c
144mem-break.c
145minimon.h
146minsyms.c
147mips-nat.c
148mips-pinsn.c
149mips-tdep.c
150mipsread.c
151munch
152news-xdep.c
153nindy-share
154nindy-tdep.c
155nm-apollo68b.h
156nm-apollo68v.h
157nm-delta88.h
158nm-hp300bsd.h
159nm-hp300hpux.h
160nm-hppab.h
161nm-hppah.h
162nm-i386bsd.h
163nm-i386mach.h
164nm-i386sco.h
165nm-i386v.h
166nm-i386v4.h
167nm-irix3.h
168nm-irix4.h
169nm-linux.h
170nm-m88k.h
171nm-mips.h
172nm-news.h
173nm-rs6000.h
174nm-sun2.h
175nm-sun3.h
176nm-sun386.h
177nm-sun4os4.h
178nm-sysv4.h
179nm-trash.h
180nm-ultra3.h
181nm-umax.h
182nm-vax.h
183ns32k-opcode.h
184ns32k-pinsn.c
185objfiles.c
186objfiles.h
187os68k-xdep.c
188parse.c
189parser-defs.h
190partial-stab.h
191printcmd.c
192procfs.c
193putenv.c
194pyr-pinsn.c
195pyr-tdep.c
196pyr-xdep.c
197regex.c
198regex.h
199rem-multi.shar
200remote-adapt.c
201remote-eb.c
202remote-es1800.c
203remote-hms.c
204remote-mm.c
205remote-nindy.c
206remote-st2000.c
207remote-vx.c
208remote.c
209rs6000-nat.c
210rs6000-pinsn.c
211rs6000-tdep.c
212saber.suppress
213ser-bsd.c
214ser-go32.c
215ser-termios.c
216serial.h
217signals.h
218solib.c
219solib.h
220source.c
221sparc-nat.c
222sparc-pinsn.c
223sparc-stub.c
224sparc-tdep.c
225stabsread.c
226stabsread.h
227stack.c
228standalone.c
229stuff.c
230sun3-nat.c
231sun386-nat.c
232symfile.c
233symfile.h
234symm-tdep.c
235symm-xdep.c
236symmisc.c
237symtab.c
238symtab.h
239tahoe-pinsn.c
240target.c
241target.h
242terminal.h
243tm-29k.h
244tm-3b1.h
245tm-68k-noun.h
246tm-68k-un.h
247tm-68k.h
248tm-altos.h
249tm-amix.h
250tm-arm.h
251tm-bigmips.h
252tm-convex.h
253tm-delta88.h
254tm-es1800.h
255tm-h8300.h
256tm-hp300bsd.h
257tm-hp300hpux.h
258tm-hppa.h
259tm-hppab.h
260tm-hppah.h
261tm-i386bsd.h
262tm-i386v.h
263tm-i386v4.h
264tm-i960.h
265tm-irix3.h
266tm-isi.h
267tm-linux.h
268tm-m88k.h
269tm-merlin.h
270tm-mips.h
271tm-news.h
272tm-nindy960.h
273tm-np1.h
274tm-os68k.h
275tm-pn.h
276tm-pyr.h
277tm-rs6000.h
278tm-sparc.h
279tm-spc-noun.h
280tm-spc-un.h
281tm-st2000.h
282tm-stratus.h
283tm-sun2.h
284tm-sun2os4.h
285tm-sun3.h
286tm-sun386.h
287tm-sun3os4.h
288tm-sun4os4.h
289tm-sun4sol2.h
290tm-sunos.h
291tm-symmetry.h
292tm-sysv4.h
293tm-tahoe.h
294tm-ultra3.h
295tm-umax.h
296tm-vax.h
297tm-vx68.h
298tm-vx960.h
299ultra3-nat.c
300ultra3-xdep.c
301umax-xdep.c
302utils.c
303valarith.c
304valops.c
305valprint.c
306value.h
307values.c
308vax-pinsn.c
309vx-share
310xcoffexec.c
311xcoffread.c
312xcoffsolib.c
313xcoffsolib.h
314xm-3b1.h
315xm-altos.h
316xm-amix.h
317xm-apollo68b.h
318xm-apollo68v.h
319xm-arm.h
320xm-bigmips.h
321xm-convex.h
322xm-delta88.h
323xm-go32.h
324xm-hp300bsd.h
325xm-hp300hpux.h
326xm-hppab.h
327xm-hppah.h
328xm-i386bsd.h
329xm-i386mach.h
330xm-i386sco.h
331xm-i386v.h
332xm-i386v32.h
333xm-i386v4.h
334xm-irix3.h
335xm-irix4.h
336xm-isi.h
337xm-linux.h
338xm-m68k.h
339xm-m88k.h
340xm-merlin.h
341xm-mips.h
342xm-news.h
343xm-news1000.h
344xm-np1.h
345xm-pn.h
346xm-pyr.h
347xm-rs6000.h
348xm-rtbsd.h
349xm-sparc.h
350xm-stratus.h
351xm-sun2.h
352xm-sun3.h
353xm-sun386.h
354xm-sun3os4.h
355xm-sun4os4.h
356xm-sun4sol2.h
357xm-symmetry.h
358xm-sysv4.h
359xm-tahoe.h
360xm-ultra3.h
361xm-umax.h
362xm-vax.h
363xm-vaxbsd.h
364xm-vaxult.h
365
366Do-last:
367
368echo Thawing away the \"chill\"...
369
370# Don't try to clean directories here, as the 'mv' command will fail.
371# Also, grep fails on NFS mounted directories.
372if ( echo $* | grep keep\-chill > /dev/null ) ; then
373 for i in * ; do
374 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
375 echo Keeping chill stuff in $i
376 fi
377 done
378else
379 for i in * ; do
380 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
381 echo Thawing the \"chill\" out of $i...
382 cp $i new
383 sed '/start\-sanitize\-chill/,/end-\sanitize\-chill/d' < $i > new
384 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
385 echo Caching $i in .Recover...
386 mv $i .Recover
387 fi
388 mv new $i
389 fi
390 done
391 echo Thawing the \"chill\" out of Makefile.in...
392 cp Makefile.in new
393 sed -e 's/$(srcdir)\/ch-exp.y//g' \
394 -e 's/${srcdir}\/ch-exp.y//g' \
395 -e 's/ch-exp.y//g' \
396 -e 's/ch-exp.tab.c//g' \
397 -e 's/ch-exp.tab.o//g' \
398 -e 's/ch-lang.h//g' \
399 -e 's/ch-lang.c//g' \
400 -e 's/ch-lang.o//g' \
401 < Makefile.in > new
402 if [ -n "${safe}" -a ! -f .Recover/Makefile.in ] ; then
403 echo Caching Makefile.in in .Recover...
404 mv Makefile.in .Recover
405 fi
406 mv new Makefile.in
407fi
408
409# End of file.
This page took 0.02785 seconds and 4 git commands to generate.