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